OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 DEPS = [ | 5 DEPS = [ |
6 'chromium', | 6 'chromium', |
7 'depot_tools/bot_update', | 7 'depot_tools/bot_update', |
8 'depot_tools/gclient', | 8 'depot_tools/gclient', |
| 9 'depot_tools/infra_paths', |
9 'recipe_engine/json', | 10 'recipe_engine/json', |
10 'recipe_engine/path', | 11 'recipe_engine/path', |
11 'recipe_engine/properties', | 12 'recipe_engine/properties', |
12 'recipe_engine/python', | 13 'recipe_engine/python', |
13 'recipe_engine/step', | 14 'recipe_engine/step', |
14 ] | 15 ] |
15 | 16 |
16 | 17 |
17 def linux_sdk_multi_steps(api): | 18 def linux_sdk_multi_steps(api): |
18 build_properties = api.properties.legacy() | 19 build_properties = api.properties.legacy() |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 result = api.bot_update.ensure_checkout(force=True) | 63 result = api.bot_update.ensure_checkout(force=True) |
63 build_properties.update(result.json.output.get("properties", {})) | 64 build_properties.update(result.json.output.get("properties", {})) |
64 # gclient revert step; made unnecessary by bot_update | 65 # gclient revert step; made unnecessary by bot_update |
65 # gclient update step; made unnecessary by bot_update | 66 # gclient update step; made unnecessary by bot_update |
66 # gclient runhooks wrapper step | 67 # gclient runhooks wrapper step |
67 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 68 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
68 'LANDMINES_VERBOSE': '1', | 69 'LANDMINES_VERBOSE': '1', |
69 'DEPOT_TOOLS_UPDATE': '0', | 70 'DEPOT_TOOLS_UPDATE': '0', |
70 'GYP_DEFINES': 'fastbuild=1 component=static_library'} | 71 'GYP_DEFINES': 'fastbuild=1 component=static_library'} |
71 api.python("gclient runhooks wrapper", | 72 api.python("gclient runhooks wrapper", |
72 api.path["build"].join("scripts", "slave", | 73 api.infra_paths['build'].join("scripts", "slave", |
73 "runhooks_wrapper.py"), | 74 "runhooks_wrapper.py"), |
74 env=env) | 75 env=env) |
75 # cleanup_temp step | 76 # cleanup_temp step |
76 api.chromium.cleanup_temp() | 77 api.chromium.cleanup_temp() |
77 # compile.py step | 78 # compile.py step |
78 args = ['--target', 'Release', '--clobber', '--compiler=goma', | 79 args = ['--target', 'Release', '--clobber', '--compiler=goma', |
79 'chromium_builder_nacl_sdk'] | 80 'chromium_builder_nacl_sdk'] |
80 api.python("compile", | 81 api.python("compile", |
81 api.path["build"].join("scripts", "slave", "compile.py"), | 82 api.infra_paths['build'].join("scripts", "slave", "compile.py"), |
82 args=args) | 83 args=args) |
83 # annotated_steps step | 84 # annotated_steps step |
84 api.python( | 85 api.python( |
85 "annotated_steps", | 86 "annotated_steps", |
86 api.path["build"].join("scripts", "slave", "chromium", | 87 api.infra_paths['build'].join("scripts", "slave", "chromium", |
87 "nacl_sdk_buildbot_run.py"), | 88 "nacl_sdk_buildbot_run.py"), |
88 args= | 89 args= |
89 ['--build-properties=%s' % api.json.dumps(build_properties, | 90 ['--build-properties=%s' % api.json.dumps(build_properties, |
90 separators=(',', ':')), | 91 separators=(',', ':')), |
91 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ | 92 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ |
92 ',"blink_config":"chromium",'+\ | 93 ',"blink_config":"chromium",'+\ |
93 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ | 94 '"gclient_env":{"CHROMIUM_GYP_SYNTAX_CHECK":"1",'+\ |
94 '"DEPOT_TOOLS_UPDATE":"0","GYP_DEFINES":'+\ | 95 '"DEPOT_TOOLS_UPDATE":"0","GYP_DEFINES":'+\ |
95 '"fastbuild=1 component=static_library","LANDMINES_VERBOSE":"1"'+\ | 96 '"fastbuild=1 component=static_library","LANDMINES_VERBOSE":"1"'+\ |
96 '},"no_gclient_branch":true,"nuke_and_pave":false}' | 97 '},"no_gclient_branch":true,"nuke_and_pave":false}' |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 build_properties.update(result.json.output.get("properties", {})) | 148 build_properties.update(result.json.output.get("properties", {})) |
148 # gclient revert step; made unnecessary by bot_update | 149 # gclient revert step; made unnecessary by bot_update |
149 # gclient update step; made unnecessary by bot_update | 150 # gclient update step; made unnecessary by bot_update |
150 # gclient runhooks wrapper step | 151 # gclient runhooks wrapper step |
151 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 152 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
152 'GYP_GENERATORS': 'ninja', | 153 'GYP_GENERATORS': 'ninja', |
153 'DEPOT_TOOLS_UPDATE': '0', | 154 'DEPOT_TOOLS_UPDATE': '0', |
154 'GYP_DEFINES': 'fastbuild=1 component=static_library', | 155 'GYP_DEFINES': 'fastbuild=1 component=static_library', |
155 'LANDMINES_VERBOSE': '1'} | 156 'LANDMINES_VERBOSE': '1'} |
156 api.python("gclient runhooks wrapper", | 157 api.python("gclient runhooks wrapper", |
157 api.path["build"].join("scripts", "slave", | 158 api.infra_paths['build'].join("scripts", "slave", |
158 "runhooks_wrapper.py"), | 159 "runhooks_wrapper.py"), |
159 env=env) | 160 env=env) |
160 # cleanup_temp step | 161 # cleanup_temp step |
161 api.chromium.cleanup_temp() | 162 api.chromium.cleanup_temp() |
162 # compile.py step | 163 # compile.py step |
163 args = ['--target', 'Release', '--clobber', '--build-tool=ninja', | 164 args = ['--target', 'Release', '--clobber', '--build-tool=ninja', |
164 '--compiler=goma-clang', '--', 'chromium_builder_nacl_sdk'] | 165 '--compiler=goma-clang', '--', 'chromium_builder_nacl_sdk'] |
165 api.python("compile", | 166 api.python("compile", |
166 api.path["build"].join("scripts", "slave", "compile.py"), | 167 api.infra_paths['build'].join("scripts", "slave", "compile.py"), |
167 args=args) | 168 args=args) |
168 # annotated_steps step | 169 # annotated_steps step |
169 api.python( | 170 api.python( |
170 "annotated_steps", | 171 "annotated_steps", |
171 api.path["build"].join("scripts", "slave", "chromium", | 172 api.infra_paths['build'].join("scripts", "slave", "chromium", |
172 "nacl_sdk_buildbot_run.py"), | 173 "nacl_sdk_buildbot_run.py"), |
173 args= | 174 args= |
174 ['--build-properties=%s' % api.json.dumps(build_properties, | 175 ['--build-properties=%s' % api.json.dumps(build_properties, |
175 separators=(',', ':')), | 176 separators=(',', ':')), |
176 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ | 177 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ |
177 ',"blink_config":"chromium","gclient_env":'+\ | 178 ',"blink_config":"chromium","gclient_env":'+\ |
178 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 179 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
179 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ | 180 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ |
180 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"},'+\ | 181 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"},'+\ |
181 '"no_gclient_branch":true,"nuke_and_pave":false}' | 182 '"no_gclient_branch":true,"nuke_and_pave":false}' |
182 ], | 183 ], |
183 allow_subannotations=True) | 184 allow_subannotations=True) |
184 | 185 |
185 | 186 |
186 def windows_sdk_multi_steps(api): | 187 def windows_sdk_multi_steps(api): |
187 build_properties = api.properties.legacy() | 188 build_properties = api.properties.legacy() |
188 # svnkill step; not necessary in recipes | 189 # svnkill step; not necessary in recipes |
189 # update scripts step; implicitly run by recipe engine. | 190 # update scripts step; implicitly run by recipe engine. |
190 # taskkill step | 191 # taskkill step |
191 api.python("taskkill", api.path["build"].join("scripts", "slave", | 192 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", |
192 "kill_processes.py")) | 193 "kill_processes.py")) |
193 # bot_update step | 194 # bot_update step |
194 src_cfg = api.gclient.make_config(GIT_MODE=True) | 195 src_cfg = api.gclient.make_config(GIT_MODE=True) |
195 soln = src_cfg.solutions.add() | 196 soln = src_cfg.solutions.add() |
196 soln.name = "src" | 197 soln.name = "src" |
197 soln.url = "https://chromium.googlesource.com/chromium/src.git" | 198 soln.url = "https://chromium.googlesource.com/chromium/src.git" |
198 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} | 199 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} |
199 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', | 200 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', |
200 'googlecode_url': 'svn://svn.chromium.org/%s', | 201 'googlecode_url': 'svn://svn.chromium.org/%s', |
201 'nacl_trunk': | 202 'nacl_trunk': |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 result = api.bot_update.ensure_checkout(force=True) | 236 result = api.bot_update.ensure_checkout(force=True) |
236 build_properties.update(result.json.output.get("properties", {})) | 237 build_properties.update(result.json.output.get("properties", {})) |
237 # gclient revert step; made unnecessary by bot_update | 238 # gclient revert step; made unnecessary by bot_update |
238 # gclient update step; made unnecessary by bot_update | 239 # gclient update step; made unnecessary by bot_update |
239 # gclient runhooks wrapper step | 240 # gclient runhooks wrapper step |
240 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 241 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
241 'LANDMINES_VERBOSE': '1', | 242 'LANDMINES_VERBOSE': '1', |
242 'DEPOT_TOOLS_UPDATE': '0', | 243 'DEPOT_TOOLS_UPDATE': '0', |
243 'GYP_DEFINES': 'fastbuild=1 component=static_library'} | 244 'GYP_DEFINES': 'fastbuild=1 component=static_library'} |
244 api.python("gclient runhooks wrapper", | 245 api.python("gclient runhooks wrapper", |
245 api.path["build"].join("scripts", "slave", | 246 api.infra_paths['build'].join("scripts", "slave", |
246 "runhooks_wrapper.py"), | 247 "runhooks_wrapper.py"), |
247 env=env) | 248 env=env) |
248 # cleanup_temp step | 249 # cleanup_temp step |
249 api.chromium.cleanup_temp() | 250 api.chromium.cleanup_temp() |
250 # compile.py step | 251 # compile.py step |
251 args = ['--solution', 'all.sln', '--project', 'chromium_builder_nacl_sdk', | 252 args = ['--solution', 'all.sln', '--project', 'chromium_builder_nacl_sdk', |
252 '--target', 'Release', '--clobber', '--compiler=goma'] | 253 '--target', 'Release', '--clobber', '--compiler=goma'] |
253 api.python("compile", | 254 api.python("compile", |
254 api.path["build"].join("scripts", "slave", "compile.py"), | 255 api.infra_paths['build'].join("scripts", "slave", "compile.py"), |
255 args=args) | 256 args=args) |
256 # annotated_steps step | 257 # annotated_steps step |
257 api.python( | 258 api.python( |
258 "annotated_steps", | 259 "annotated_steps", |
259 api.path["build"].join("scripts", "slave", "chromium", | 260 api.infra_paths['build'].join("scripts", "slave", "chromium", |
260 "nacl_sdk_buildbot_run.py"), | 261 "nacl_sdk_buildbot_run.py"), |
261 args= | 262 args= |
262 ['--build-properties=%s' % api.json.dumps(build_properties, | 263 ['--build-properties=%s' % api.json.dumps(build_properties, |
263 separators=(',', ':')), | 264 separators=(',', ':')), |
264 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ | 265 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ |
265 ',"blink_config":"chromium","gclient_env":'+\ | 266 ',"blink_config":"chromium","gclient_env":'+\ |
266 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 267 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
267 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ | 268 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ |
268 '"LANDMINES_VERBOSE":"1"},"no_gclient_branch":true,'+\ | 269 '"LANDMINES_VERBOSE":"1"},"no_gclient_branch":true,'+\ |
269 '"nuke_and_pave":false}' | 270 '"nuke_and_pave":false}' |
(...skipping 23 matching lines...) Expand all Loading... |
293 api.gclient.c = src_cfg | 294 api.gclient.c = src_cfg |
294 result = api.bot_update.ensure_checkout(force=True) | 295 result = api.bot_update.ensure_checkout(force=True) |
295 build_properties.update(result.json.output.get("properties", {})) | 296 build_properties.update(result.json.output.get("properties", {})) |
296 # unnamed step; null converted | 297 # unnamed step; null converted |
297 # gclient runhooks wrapper step | 298 # gclient runhooks wrapper step |
298 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 299 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
299 'LANDMINES_VERBOSE': '1', | 300 'LANDMINES_VERBOSE': '1', |
300 'DEPOT_TOOLS_UPDATE': '0', | 301 'DEPOT_TOOLS_UPDATE': '0', |
301 'GYP_DEFINES': 'fastbuild=1 component=static_library'} | 302 'GYP_DEFINES': 'fastbuild=1 component=static_library'} |
302 api.python("gclient runhooks wrapper", | 303 api.python("gclient runhooks wrapper", |
303 api.path["build"].join("scripts", "slave", | 304 api.infra_paths['build'].join("scripts", "slave", |
304 "runhooks_wrapper.py"), | 305 "runhooks_wrapper.py"), |
305 env=env) | 306 env=env) |
306 # cleanup_temp step | 307 # cleanup_temp step |
307 api.chromium.cleanup_temp() | 308 api.chromium.cleanup_temp() |
308 # compile.py step | 309 # compile.py step |
309 args = ['--target', 'Release', '--clobber', '--compiler=goma', | 310 args = ['--target', 'Release', '--clobber', '--compiler=goma', |
310 'chromium_builder_tests'] | 311 'chromium_builder_tests'] |
311 api.python("compile", | 312 api.python("compile", |
312 api.path["build"].join("scripts", "slave", "compile.py"), | 313 api.infra_paths['build'].join("scripts", "slave", "compile.py"), |
313 args=args) | 314 args=args) |
314 # annotated_steps step | 315 # annotated_steps step |
315 api.python( | 316 api.python( |
316 "annotated_steps", | 317 "annotated_steps", |
317 api.path["build"].join("scripts", "slave", "chromium", | 318 api.infra_paths['build'].join("scripts", "slave", "chromium", |
318 "nacl_sdk_buildbot_run.py"), | 319 "nacl_sdk_buildbot_run.py"), |
319 args= | 320 args= |
320 ['--build-properties=%s' % api.json.dumps(build_properties, | 321 ['--build-properties=%s' % api.json.dumps(build_properties, |
321 separators=(',', ':')), | 322 separators=(',', ':')), |
322 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ | 323 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ |
323 ',"blink_config":"chromium","gclient_env":'+\ | 324 ',"blink_config":"chromium","gclient_env":'+\ |
324 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 325 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
325 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ | 326 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ |
326 '"LANDMINES_VERBOSE":"1"},"no_gclient_branch":true,'+\ | 327 '"LANDMINES_VERBOSE":"1"},"no_gclient_branch":true,'+\ |
327 '"nuke_and_pave":true}' | 328 '"nuke_and_pave":true}' |
328 ], | 329 ], |
329 allow_subannotations=True) | 330 allow_subannotations=True) |
330 | 331 |
331 | 332 |
332 def windows_sdk_multirel_steps(api): | 333 def windows_sdk_multirel_steps(api): |
333 build_properties = api.properties.legacy() | 334 build_properties = api.properties.legacy() |
334 # svnkill step; not necessary in recipes | 335 # svnkill step; not necessary in recipes |
335 # update scripts step; implicitly run by recipe engine. | 336 # update scripts step; implicitly run by recipe engine. |
336 # taskkill step | 337 # taskkill step |
337 api.python("taskkill", api.path["build"].join("scripts", "slave", | 338 api.python("taskkill", api.infra_paths['build'].join("scripts", "slave", |
338 "kill_processes.py")) | 339 "kill_processes.py")) |
339 # bot_update step | 340 # bot_update step |
340 src_cfg = api.gclient.make_config(GIT_MODE=True) | 341 src_cfg = api.gclient.make_config(GIT_MODE=True) |
341 soln = src_cfg.solutions.add() | 342 soln = src_cfg.solutions.add() |
342 soln.name = "chrome-official" | 343 soln.name = "chrome-official" |
343 soln.url = "svn://svn.chromium.org/chrome-internal/trunk/tools/buildspec/"+\ | 344 soln.url = "svn://svn.chromium.org/chrome-internal/trunk/tools/buildspec/"+\ |
344 "build/chrome-official" | 345 "build/chrome-official" |
345 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} | 346 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} |
346 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', | 347 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', |
347 'googlecode_url': 'svn://svn.chromium.org/%s', | 348 'googlecode_url': 'svn://svn.chromium.org/%s', |
348 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', | 349 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', |
349 'svn_url': 'svn://svn.chromium.org'} | 350 'svn_url': 'svn://svn.chromium.org'} |
350 src_cfg.got_revision_mapping.update( | 351 src_cfg.got_revision_mapping.update( |
351 {'src': 'got_revision', | 352 {'src': 'got_revision', |
352 'src/third_party/WebKit': 'got_webkit_revision', | 353 'src/third_party/WebKit': 'got_webkit_revision', |
353 'src/tools/swarming_client': 'got_swarming_client_revision', | 354 'src/tools/swarming_client': 'got_swarming_client_revision', |
354 'src/v8': 'got_v8_revision'}) | 355 'src/v8': 'got_v8_revision'}) |
355 api.gclient.c = src_cfg | 356 api.gclient.c = src_cfg |
356 result = api.bot_update.ensure_checkout(force=True) | 357 result = api.bot_update.ensure_checkout(force=True) |
357 build_properties.update(result.json.output.get("properties", {})) | 358 build_properties.update(result.json.output.get("properties", {})) |
358 # unnamed step; null converted | 359 # unnamed step; null converted |
359 # gclient runhooks wrapper step | 360 # gclient runhooks wrapper step |
360 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 361 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
361 'LANDMINES_VERBOSE': '1', | 362 'LANDMINES_VERBOSE': '1', |
362 'DEPOT_TOOLS_UPDATE': '0', | 363 'DEPOT_TOOLS_UPDATE': '0', |
363 'GYP_DEFINES': 'fastbuild=1 component=static_library'} | 364 'GYP_DEFINES': 'fastbuild=1 component=static_library'} |
364 api.python("gclient runhooks wrapper", | 365 api.python("gclient runhooks wrapper", |
365 api.path["build"].join("scripts", "slave", | 366 api.infra_paths['build'].join("scripts", "slave", |
366 "runhooks_wrapper.py"), | 367 "runhooks_wrapper.py"), |
367 env=env) | 368 env=env) |
368 # cleanup_temp step | 369 # cleanup_temp step |
369 api.chromium.cleanup_temp() | 370 api.chromium.cleanup_temp() |
370 # compile.py step | 371 # compile.py step |
371 args = ['--solution', 'all.sln', '--project', 'chromium_builder_tests', | 372 args = ['--solution', 'all.sln', '--project', 'chromium_builder_tests', |
372 '--target', 'Release', '--clobber', '--compiler=goma'] | 373 '--target', 'Release', '--clobber', '--compiler=goma'] |
373 api.python("compile", | 374 api.python("compile", |
374 api.path["build"].join("scripts", "slave", "compile.py"), | 375 api.infra_paths['build'].join("scripts", "slave", "compile.py"), |
375 args=args) | 376 args=args) |
376 # annotated_steps step | 377 # annotated_steps step |
377 api.python( | 378 api.python( |
378 "annotated_steps", | 379 "annotated_steps", |
379 api.path["build"].join("scripts", "slave", "chromium", | 380 api.infra_paths['build'].join("scripts", "slave", "chromium", |
380 "nacl_sdk_buildbot_run.py"), | 381 "nacl_sdk_buildbot_run.py"), |
381 args= | 382 args= |
382 ['--build-properties=%s' % api.json.dumps(build_properties, | 383 ['--build-properties=%s' % api.json.dumps(build_properties, |
383 separators=(',', ':')), | 384 separators=(',', ':')), |
384 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ | 385 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ |
385 ',"blink_config":"chromium","gclient_env":'+\ | 386 ',"blink_config":"chromium","gclient_env":'+\ |
386 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 387 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
387 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ | 388 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ |
388 '"LANDMINES_VERBOSE":"1"},"no_gclient_branch":true,'+\ | 389 '"LANDMINES_VERBOSE":"1"},"no_gclient_branch":true,'+\ |
389 '"nuke_and_pave":true}' | 390 '"nuke_and_pave":true}' |
(...skipping 24 matching lines...) Expand all Loading... |
414 result = api.bot_update.ensure_checkout(force=True) | 415 result = api.bot_update.ensure_checkout(force=True) |
415 build_properties.update(result.json.output.get("properties", {})) | 416 build_properties.update(result.json.output.get("properties", {})) |
416 # unnamed step; null converted | 417 # unnamed step; null converted |
417 # gclient runhooks wrapper step | 418 # gclient runhooks wrapper step |
418 env = {'LANDMINES_VERBOSE': '1', | 419 env = {'LANDMINES_VERBOSE': '1', |
419 'GYP_GENERATORS': 'ninja', | 420 'GYP_GENERATORS': 'ninja', |
420 'DEPOT_TOOLS_UPDATE': '0', | 421 'DEPOT_TOOLS_UPDATE': '0', |
421 'GYP_DEFINES': 'fastbuild=1 component=static_library', | 422 'GYP_DEFINES': 'fastbuild=1 component=static_library', |
422 'CHROMIUM_GYP_SYNTAX_CHECK': '1'} | 423 'CHROMIUM_GYP_SYNTAX_CHECK': '1'} |
423 api.python("gclient runhooks wrapper", | 424 api.python("gclient runhooks wrapper", |
424 api.path["build"].join("scripts", "slave", | 425 api.infra_paths['build'].join("scripts", "slave", |
425 "runhooks_wrapper.py"), | 426 "runhooks_wrapper.py"), |
426 env=env) | 427 env=env) |
427 # cleanup_temp step | 428 # cleanup_temp step |
428 api.chromium.cleanup_temp() | 429 api.chromium.cleanup_temp() |
429 # compile.py step | 430 # compile.py step |
430 args = ['--target', 'Release', '--clobber', '--build-tool=ninja', | 431 args = ['--target', 'Release', '--clobber', '--build-tool=ninja', |
431 '--compiler=goma-clang', '--', 'chromium_builder_tests'] | 432 '--compiler=goma-clang', '--', 'chromium_builder_tests'] |
432 api.python("compile", | 433 api.python("compile", |
433 api.path["build"].join("scripts", "slave", "compile.py"), | 434 api.infra_paths['build'].join("scripts", "slave", "compile.py"), |
434 args=args) | 435 args=args) |
435 # annotated_steps step | 436 # annotated_steps step |
436 api.python( | 437 api.python( |
437 "annotated_steps", | 438 "annotated_steps", |
438 api.path["build"].join("scripts", "slave", "chromium", | 439 api.infra_paths['build'].join("scripts", "slave", "chromium", |
439 "nacl_sdk_buildbot_run.py"), | 440 "nacl_sdk_buildbot_run.py"), |
440 args= | 441 args= |
441 ['--build-properties=%s' % api.json.dumps(build_properties, | 442 ['--build-properties=%s' % api.json.dumps(build_properties, |
442 separators=(',', ':')), | 443 separators=(',', ':')), |
443 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ | 444 '--factory-properties={"annotated_script":"nacl_sdk_buildbot_run.py"'+\ |
444 ',"blink_config":"chromium","gclient_env":'+\ | 445 ',"blink_config":"chromium","gclient_env":'+\ |
445 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ | 446 '{"CHROMIUM_GYP_SYNTAX_CHECK":"1","DEPOT_TOOLS_UPDATE":"0",'+\ |
446 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ | 447 '"GYP_DEFINES":"fastbuild=1 component=static_library",'+\ |
447 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"},'+\ | 448 '"GYP_GENERATORS":"ninja","LANDMINES_VERBOSE":"1"},'+\ |
448 '"no_gclient_branch":true,"nuke_and_pave":true}' | 449 '"no_gclient_branch":true,"nuke_and_pave":true}' |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 yield (api.test('mac_sdk_multirel') + api.properties( | 509 yield (api.test('mac_sdk_multirel') + api.properties( |
509 mastername='client.nacl.sdk') + api.properties( | 510 mastername='client.nacl.sdk') + api.properties( |
510 buildername='mac-sdk-multirel') + | 511 buildername='mac-sdk-multirel') + |
511 api.properties(revision='123456789abcdef') + api.properties( | 512 api.properties(revision='123456789abcdef') + api.properties( |
512 got_revision='123456789abcdef') + api.properties( | 513 got_revision='123456789abcdef') + api.properties( |
513 buildnumber='42') + api.properties(slavename='TestSlave')) | 514 buildnumber='42') + api.properties(slavename='TestSlave')) |
514 yield (api.test('builder_not_in_dispatch_directory') + api.properties( | 515 yield (api.test('builder_not_in_dispatch_directory') + api.properties( |
515 mastername='client.nacl.sdk') + api.properties( | 516 mastername='client.nacl.sdk') + api.properties( |
516 buildername='nonexistent_builder') + api.properties( | 517 buildername='nonexistent_builder') + api.properties( |
517 slavename='TestSlave')) | 518 slavename='TestSlave')) |
OLD | NEW |