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