OLD | NEW |
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]/android_gn_rel", | 7 "[BUILDER_CACHE]/android_gyp_rel", |
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 "tryserver.webrtc", | 30 "tryserver.webrtc", |
31 "--builder", | 31 "--builder", |
32 "android_gn_rel", | 32 "android_gyp_rel", |
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 "--issue", | 43 "--issue", |
44 "666666", | 44 "666666", |
45 "--patchset", | 45 "--patchset", |
46 "1", | 46 "1", |
47 "--rietveld_server", | 47 "--rietveld_server", |
48 "https://fake.rietveld.url", | 48 "https://fake.rietveld.url", |
49 "--output_json", | 49 "--output_json", |
50 "/path/to/tmp/json", | 50 "/path/to/tmp/json", |
51 "--revision", | 51 "--revision", |
52 "src@12345", | 52 "src@12345", |
53 "--output_manifest" | 53 "--output_manifest" |
54 ], | 54 ], |
55 "cwd": "[BUILDER_CACHE]/android_gn_rel", | 55 "cwd": "[BUILDER_CACHE]/android_gyp_rel", |
56 "env": { | 56 "env": { |
57 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 57 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
58 }, | 58 }, |
59 "name": "bot_update", | 59 "name": "bot_update", |
60 "~followup_annotations": [ | 60 "~followup_annotations": [ |
61 "@@@STEP_TEXT@Some step text@@@", | 61 "@@@STEP_TEXT@Some step text@@@", |
62 "@@@STEP_LOG_LINE@json.output@{@@@", | 62 "@@@STEP_LOG_LINE@json.output@{@@@", |
63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
65 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", | 65 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", |
(...skipping 16 matching lines...) Expand all Loading... |
82 "@@@STEP_LOG_END@json.output@@@", | 82 "@@@STEP_LOG_END@json.output@@@", |
83 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | 83 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", |
84 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | 84 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" |
85 ] | 85 ] |
86 }, | 86 }, |
87 { | 87 { |
88 "cmd": [ | 88 "cmd": [ |
89 "python", | 89 "python", |
90 "-u", | 90 "-u", |
91 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py", | 91 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py", |
92 "[BUILDER_CACHE]/android_gn_rel/src/out" | 92 "[BUILDER_CACHE]/android_gyp_rel/src/out" |
93 ], | 93 ], |
94 "name": "clean test output files" | 94 "name": "clean test output files" |
95 }, | 95 }, |
96 { | 96 { |
97 "cmd": [ | 97 "cmd": [ |
98 "python", | 98 "python", |
99 "-u", | 99 "-u", |
100 "\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", | 100 "\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", |
101 "[BUILDER_CACHE]/android_gn_rel/src/out/Release/debug_info_dumps", | 101 "[BUILDER_CACHE]/android_gyp_rel/src/out/Release/debug_info_dumps", |
102 "[BUILDER_CACHE]/android_gn_rel/src/out/Release/test_logs", | 102 "[BUILDER_CACHE]/android_gyp_rel/src/out/Release/test_logs", |
103 "[BUILDER_CACHE]/android_gn_rel/src/out/build_product.zip", | 103 "[BUILDER_CACHE]/android_gyp_rel/src/out/build_product.zip", |
104 "[BUILDER_CACHE]/android_gn_rel/src" | 104 "[BUILDER_CACHE]/android_gyp_rel/src" |
105 ], | 105 ], |
106 "name": "clean local files", | 106 "name": "clean local files", |
107 "~followup_annotations": [ | 107 "~followup_annotations": [ |
108 "@@@STEP_LOG_LINE@python.inline@@@@", | 108 "@@@STEP_LOG_LINE@python.inline@@@@", |
109 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 109 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
110 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 110 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
111 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 111 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
112 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 112 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
113 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 113 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
114 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 114 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 "@@@STEP_LOG_END@json.output@@@" | 178 "@@@STEP_LOG_END@json.output@@@" |
179 ] | 179 ] |
180 }, | 180 }, |
181 { | 181 { |
182 "cmd": [ | 182 "cmd": [ |
183 "python", | 183 "python", |
184 "-u", | 184 "-u", |
185 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 185 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
186 "runhooks" | 186 "runhooks" |
187 ], | 187 ], |
188 "cwd": "[BUILDER_CACHE]/android_gn_rel/src", | 188 "cwd": "[BUILDER_CACHE]/android_gyp_rel/src", |
189 "env": { | 189 "env": { |
190 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 190 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
191 "GYP_CHROMIUM_NO_ACTION": "1", | 191 "GYP_CHROMIUM_NO_ACTION": "1", |
192 "GYP_CROSSCOMPILE": "1", | 192 "GYP_CROSSCOMPILE": "1", |
193 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas
tbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1", | 193 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas
tbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1", |
194 "PATH": "[BUILDER_CACHE]/android_gn_rel/src/third_party/android_tools/sdk/
platform-tools:[BUILDER_CACHE]/android_gn_rel/src/build/android:%(PATH)s:RECIPE_
PACKAGE_REPO[depot_tools]" | 194 "PATH": "[BUILDER_CACHE]/android_gyp_rel/src/third_party/android_tools/sdk
/platform-tools:[BUILDER_CACHE]/android_gyp_rel/src/build/android:%(PATH)s:RECIP
E_PACKAGE_REPO[depot_tools]" |
195 }, | 195 }, |
196 "name": "gclient runhooks" | 196 "name": "gclient runhooks" |
197 }, | 197 }, |
198 { | 198 { |
199 "cmd": [ | 199 "cmd": [ |
200 "python", | 200 "python", |
201 "-u", | 201 "-u", |
202 "[BUILDER_CACHE]/android_gn_rel/src/tools/mb/mb.py", | 202 "[BUILDER_CACHE]/android_gyp_rel/src/tools/mb/mb.py", |
203 "gen", | 203 "gen", |
204 "-m", | 204 "-m", |
205 "tryserver.webrtc", | 205 "tryserver.webrtc", |
206 "-b", | 206 "-b", |
207 "android_gn_rel", | 207 "android_gyp_rel", |
208 "--config-file", | 208 "--config-file", |
209 "[BUILDER_CACHE]/android_gn_rel/src/webrtc/build/mb_config.pyl", | 209 "[BUILDER_CACHE]/android_gyp_rel/src/webrtc/build/mb_config.pyl", |
210 "--goma-dir", | 210 "--goma-dir", |
211 "[CACHE]/cipd/goma", | 211 "[CACHE]/cipd/goma", |
212 "--gyp-script=[BUILDER_CACHE]/android_gn_rel/src/webrtc/build/gyp_webrtc.p
y", | 212 "--gyp-script=[BUILDER_CACHE]/android_gyp_rel/src/webrtc/build/gyp_webrtc.
py", |
213 "//out/Release" | 213 "//out/Release" |
214 ], | 214 ], |
215 "cwd": "[BUILDER_CACHE]/android_gn_rel/src", | 215 "cwd": "[BUILDER_CACHE]/android_gyp_rel/src", |
216 "env": { | 216 "env": { |
217 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 217 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
218 }, | 218 }, |
219 "name": "generate_build_files" | 219 "name": "generate_build_files" |
220 }, | 220 }, |
221 { | 221 { |
222 "cmd": [ | 222 "cmd": [ |
223 "python", | 223 "python", |
224 "-u", | 224 "-u", |
225 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 225 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
226 "--show-path", | 226 "--show-path", |
227 "python", | 227 "python", |
228 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 228 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
229 "--gsutil-py-path", | 229 "--gsutil-py-path", |
230 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 230 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
231 "--ninja-path", | 231 "--ninja-path", |
232 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 232 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
233 "--target", | 233 "--target", |
234 "Release", | 234 "Release", |
235 "--src-dir", | 235 "--src-dir", |
236 "[BUILDER_CACHE]/android_gn_rel/src", | 236 "[BUILDER_CACHE]/android_gyp_rel/src", |
237 "--goma-cache-dir", | 237 "--goma-cache-dir", |
238 "[GOMA_CACHE]", | 238 "[GOMA_CACHE]", |
239 "--goma-deps-cache-dir", | 239 "--goma-deps-cache-dir", |
240 "[GOMA_DEPS_CACHE]", | 240 "[GOMA_DEPS_CACHE]", |
241 "--compiler", | 241 "--compiler", |
242 "goma", | 242 "goma", |
243 "--goma-jsonstatus", | 243 "--goma-jsonstatus", |
244 "/path/to/tmp/json", | 244 "/path/to/tmp/json", |
245 "--goma-service-account-json-file", | 245 "--goma-service-account-json-file", |
246 "/creds/service_accounts/service-account-goma-client.json", | 246 "/creds/service_accounts/service-account-goma-client.json", |
247 "--goma-dir", | 247 "--goma-dir", |
248 "[CACHE]/cipd/goma", | 248 "[CACHE]/cipd/goma", |
249 "--goma-fail-fast", | 249 "--goma-fail-fast", |
250 "--goma-disable-local-fallback", | 250 "--goma-disable-local-fallback", |
251 "--", | 251 "--" |
252 "all" | |
253 ], | 252 ], |
254 "env": { | 253 "env": { |
255 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 254 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
256 "PATH": "[BUILDER_CACHE]/android_gn_rel/src/third_party/android_tools/sdk/
platform-tools:[BUILDER_CACHE]/android_gn_rel/src/build/android:%(PATH)s" | 255 "PATH": "[BUILDER_CACHE]/android_gyp_rel/src/third_party/android_tools/sdk
/platform-tools:[BUILDER_CACHE]/android_gyp_rel/src/build/android:%(PATH)s" |
257 }, | 256 }, |
258 "name": "compile", | 257 "name": "compile", |
259 "~followup_annotations": [ | 258 "~followup_annotations": [ |
260 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 259 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
261 "@@@STEP_LOG_END@json.output (invalid)@@@" | 260 "@@@STEP_LOG_END@json.output (invalid)@@@" |
262 ] | 261 ] |
263 }, | 262 }, |
264 { | 263 { |
265 "name": "$result", | 264 "name": "$result", |
266 "recipe_result": null, | 265 "recipe_result": null, |
267 "status_code": 0 | 266 "status_code": 0 |
268 } | 267 } |
269 ] | 268 ] |
OLD | NEW |