Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android32_gyp.json

Issue 2288063002: WebRTC: Repurpose GN bots to GYP for all but iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Fix typo Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/Android32_GN", 7 "[BUILDER_CACHE]/Android32_GYP",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
11 "~followup_annotations": [ 11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@", 12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
21 "@@@STEP_LOG_END@python.inline@@@" 21 "@@@STEP_LOG_END@python.inline@@@"
22 ] 22 ]
23 }, 23 },
24 { 24 {
25 "cmd": [ 25 "cmd": [
26 "python", 26 "python",
27 "-u", 27 "-u",
28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
29 "--master", 29 "--master",
30 "client.webrtc", 30 "client.webrtc",
31 "--builder", 31 "--builder",
32 "Android32 GN", 32 "Android32 GYP",
33 "--slave", 33 "--slave",
34 "slavename", 34 "slavename",
35 "--spec", 35 "--spec",
36 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'} , {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https ://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]\ntarget_os = [ 'android']", 36 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'} , {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https ://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]\ntarget_os = [ 'android']",
37 "--root", 37 "--root",
38 "src", 38 "src",
39 "--revision_mapping_file", 39 "--revision_mapping_file",
40 "{\"src\": \"got_revision\"}", 40 "{\"src\": \"got_revision\"}",
41 "--git-cache-dir", 41 "--git-cache-dir",
42 "[GIT_CACHE]", 42 "[GIT_CACHE]",
43 "--output_json", 43 "--output_json",
44 "/path/to/tmp/json", 44 "/path/to/tmp/json",
45 "--revision", 45 "--revision",
46 "src@12345", 46 "src@12345",
47 "--output_manifest" 47 "--output_manifest"
48 ], 48 ],
49 "cwd": "[BUILDER_CACHE]/Android32_GN", 49 "cwd": "[BUILDER_CACHE]/Android32_GYP",
50 "env": { 50 "env": {
51 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 51 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
52 }, 52 },
53 "name": "bot_update", 53 "name": "bot_update",
54 "~followup_annotations": [ 54 "~followup_annotations": [
55 "@@@STEP_TEXT@Some step text@@@", 55 "@@@STEP_TEXT@Some step text@@@",
56 "@@@STEP_LOG_LINE@json.output@{@@@", 56 "@@@STEP_LOG_LINE@json.output@{@@@",
57 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 57 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
58 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", 58 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
59 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", 59 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@",
(...skipping 16 matching lines...) Expand all
76 "@@@STEP_LOG_END@json.output@@@", 76 "@@@STEP_LOG_END@json.output@@@",
77 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@", 77 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@",
78 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" 78 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
79 ] 79 ]
80 }, 80 },
81 { 81 {
82 "cmd": [ 82 "cmd": [
83 "python", 83 "python",
84 "-u", 84 "-u",
85 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py", 85 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py",
86 "[BUILDER_CACHE]/Android32_GN/src/out" 86 "[BUILDER_CACHE]/Android32_GYP/src/out"
87 ], 87 ],
88 "name": "clean test output files" 88 "name": "clean test output files"
89 }, 89 },
90 { 90 {
91 "cmd": [ 91 "cmd": [
92 "python", 92 "python",
93 "-u", 93 "-u",
94 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n", 94 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n",
95 "[BUILDER_CACHE]/Android32_GN/src/out/Release/debug_info_dumps", 95 "[BUILDER_CACHE]/Android32_GYP/src/out/Release/debug_info_dumps",
96 "[BUILDER_CACHE]/Android32_GN/src/out/Release/test_logs", 96 "[BUILDER_CACHE]/Android32_GYP/src/out/Release/test_logs",
97 "[BUILDER_CACHE]/Android32_GN/src/out/build_product.zip", 97 "[BUILDER_CACHE]/Android32_GYP/src/out/build_product.zip",
98 "[BUILDER_CACHE]/Android32_GN/src" 98 "[BUILDER_CACHE]/Android32_GYP/src"
99 ], 99 ],
100 "name": "clean local files", 100 "name": "clean local files",
101 "~followup_annotations": [ 101 "~followup_annotations": [
102 "@@@STEP_LOG_LINE@python.inline@@@@", 102 "@@@STEP_LOG_LINE@python.inline@@@@",
103 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 103 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
104 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 104 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
105 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 105 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
106 "@@@STEP_LOG_LINE@python.inline@try:@@@", 106 "@@@STEP_LOG_LINE@python.inline@try:@@@",
107 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 107 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
108 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 108 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 "@@@STEP_LOG_END@json.output@@@" 172 "@@@STEP_LOG_END@json.output@@@"
173 ] 173 ]
174 }, 174 },
175 { 175 {
176 "cmd": [ 176 "cmd": [
177 "python", 177 "python",
178 "-u", 178 "-u",
179 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 179 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
180 "runhooks" 180 "runhooks"
181 ], 181 ],
182 "cwd": "[BUILDER_CACHE]/Android32_GN/src", 182 "cwd": "[BUILDER_CACHE]/Android32_GYP/src",
183 "env": { 183 "env": {
184 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 184 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
185 "GYP_CHROMIUM_NO_ACTION": "1", 185 "GYP_CHROMIUM_NO_ACTION": "1",
186 "GYP_CROSSCOMPILE": "1", 186 "GYP_CROSSCOMPILE": "1",
187 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ CACHE]/cipd/goma' target_arch=arm use_goma=1", 187 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ CACHE]/cipd/goma' target_arch=arm use_goma=1",
188 "PATH": "[BUILDER_CACHE]/Android32_GN/src/third_party/android_tools/sdk/pl atform-tools:[BUILDER_CACHE]/Android32_GN/src/build/android:%(PATH)s:RECIPE_PACK AGE_REPO[depot_tools]" 188 "PATH": "[BUILDER_CACHE]/Android32_GYP/src/third_party/android_tools/sdk/p latform-tools:[BUILDER_CACHE]/Android32_GYP/src/build/android:%(PATH)s:RECIPE_PA CKAGE_REPO[depot_tools]"
189 }, 189 },
190 "name": "gclient runhooks" 190 "name": "gclient runhooks"
191 }, 191 },
192 { 192 {
193 "cmd": [ 193 "cmd": [
194 "python", 194 "python",
195 "-u", 195 "-u",
196 "[BUILDER_CACHE]/Android32_GN/src/tools/mb/mb.py", 196 "[BUILDER_CACHE]/Android32_GYP/src/tools/mb/mb.py",
197 "gen", 197 "gen",
198 "-m", 198 "-m",
199 "client.webrtc", 199 "client.webrtc",
200 "-b", 200 "-b",
201 "Android32 GN", 201 "Android32 GYP",
202 "--config-file", 202 "--config-file",
203 "[BUILDER_CACHE]/Android32_GN/src/webrtc/build/mb_config.pyl", 203 "[BUILDER_CACHE]/Android32_GYP/src/webrtc/build/mb_config.pyl",
204 "--goma-dir", 204 "--goma-dir",
205 "[CACHE]/cipd/goma", 205 "[CACHE]/cipd/goma",
206 "--gyp-script=[BUILDER_CACHE]/Android32_GN/src/webrtc/build/gyp_webrtc.py" , 206 "--gyp-script=[BUILDER_CACHE]/Android32_GYP/src/webrtc/build/gyp_webrtc.py ",
207 "//out/Release" 207 "//out/Release"
208 ], 208 ],
209 "cwd": "[BUILDER_CACHE]/Android32_GN/src", 209 "cwd": "[BUILDER_CACHE]/Android32_GYP/src",
210 "env": { 210 "env": {
211 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 211 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
212 }, 212 },
213 "name": "generate_build_files" 213 "name": "generate_build_files"
214 }, 214 },
215 { 215 {
216 "cmd": [ 216 "cmd": [
217 "python", 217 "python",
218 "-u", 218 "-u",
219 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 219 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
220 "--show-path", 220 "--show-path",
221 "python", 221 "python",
222 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", 222 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
223 "--gsutil-py-path", 223 "--gsutil-py-path",
224 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 224 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
225 "--ninja-path", 225 "--ninja-path",
226 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 226 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
227 "--target", 227 "--target",
228 "Release", 228 "Release",
229 "--src-dir", 229 "--src-dir",
230 "[BUILDER_CACHE]/Android32_GN/src", 230 "[BUILDER_CACHE]/Android32_GYP/src",
231 "--goma-cache-dir", 231 "--goma-cache-dir",
232 "[GOMA_CACHE]", 232 "[GOMA_CACHE]",
233 "--goma-deps-cache-dir", 233 "--goma-deps-cache-dir",
234 "[GOMA_DEPS_CACHE]", 234 "[GOMA_DEPS_CACHE]",
235 "--compiler", 235 "--compiler",
236 "goma", 236 "goma",
237 "--goma-jsonstatus", 237 "--goma-jsonstatus",
238 "/path/to/tmp/json", 238 "/path/to/tmp/json",
239 "--goma-service-account-json-file", 239 "--goma-service-account-json-file",
240 "/creds/service_accounts/service-account-goma-client.json", 240 "/creds/service_accounts/service-account-goma-client.json",
241 "--goma-dir", 241 "--goma-dir",
242 "[CACHE]/cipd/goma", 242 "[CACHE]/cipd/goma",
243 "--", 243 "--"
244 "all"
245 ], 244 ],
246 "env": { 245 "env": {
247 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 246 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
248 "PATH": "[BUILDER_CACHE]/Android32_GN/src/third_party/android_tools/sdk/pl atform-tools:[BUILDER_CACHE]/Android32_GN/src/build/android:%(PATH)s" 247 "PATH": "[BUILDER_CACHE]/Android32_GYP/src/third_party/android_tools/sdk/p latform-tools:[BUILDER_CACHE]/Android32_GYP/src/build/android:%(PATH)s"
249 }, 248 },
250 "name": "compile", 249 "name": "compile",
251 "~followup_annotations": [ 250 "~followup_annotations": [
252 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 251 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
253 "@@@STEP_LOG_END@json.output (invalid)@@@" 252 "@@@STEP_LOG_END@json.output (invalid)@@@"
254 ] 253 ]
255 }, 254 },
256 { 255 {
257 "name": "$result", 256 "name": "$result",
258 "recipe_result": null, 257 "recipe_result": null,
259 "status_code": 0 258 "status_code": 0
260 } 259 }
261 ] 260 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698