| 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 'file', | 9 'file', |
| 10 'recipe_engine/json', | 10 'recipe_engine/json', |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 soln.custom_vars = {} | 50 soln.custom_vars = {} |
| 51 src_cfg.got_revision_mapping.update( | 51 src_cfg.got_revision_mapping.update( |
| 52 {'src': 'got_revision', | 52 {'src': 'got_revision', |
| 53 'src/third_party/WebKit': 'got_webkit_revision', | 53 'src/third_party/WebKit': 'got_webkit_revision', |
| 54 'src/tools/swarming_client': 'got_swarming_client_revision', | 54 'src/tools/swarming_client': 'got_swarming_client_revision', |
| 55 'src/v8': 'got_v8_revision'}) | 55 'src/v8': 'got_v8_revision'}) |
| 56 api.gclient.c = src_cfg | 56 api.gclient.c = src_cfg |
| 57 result = api.bot_update.ensure_checkout() | 57 result = api.bot_update.ensure_checkout() |
| 58 build_properties.update(result.json.output.get("properties", {})) | 58 build_properties.update(result.json.output.get("properties", {})) |
| 59 | 59 |
| 60 api.chromium.ensure_goma() |
| 61 |
| 60 # clobber before runhooks | 62 # clobber before runhooks |
| 61 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) | 63 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) |
| 62 | 64 |
| 63 # gclient runhooks wrapper step | 65 # gclient runhooks wrapper step |
| 64 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 66 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
| 65 'LANDMINES_VERBOSE': '1', | 67 'LANDMINES_VERBOSE': '1', |
| 66 'DEPOT_TOOLS_UPDATE': '0', | 68 'DEPOT_TOOLS_UPDATE': '0', |
| 67 'GYP_DEFINES': 'fastbuild=1 component=static_library'} | 69 'GYP_DEFINES': 'fastbuild=1 component=static_library'} |
| 68 api.python("gclient runhooks wrapper", | 70 api.python("gclient runhooks wrapper", |
| 69 api.path["build"].join("scripts", "slave", | 71 api.path["build"].join("scripts", "slave", |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 soln.custom_vars = {} | 139 soln.custom_vars = {} |
| 138 src_cfg.got_revision_mapping.update( | 140 src_cfg.got_revision_mapping.update( |
| 139 {'src': 'got_revision', | 141 {'src': 'got_revision', |
| 140 'src/third_party/WebKit': 'got_webkit_revision', | 142 'src/third_party/WebKit': 'got_webkit_revision', |
| 141 'src/tools/swarming_client': 'got_swarming_client_revision', | 143 'src/tools/swarming_client': 'got_swarming_client_revision', |
| 142 'src/v8': 'got_v8_revision'}) | 144 'src/v8': 'got_v8_revision'}) |
| 143 api.gclient.c = src_cfg | 145 api.gclient.c = src_cfg |
| 144 result = api.bot_update.ensure_checkout() | 146 result = api.bot_update.ensure_checkout() |
| 145 build_properties.update(result.json.output.get("properties", {})) | 147 build_properties.update(result.json.output.get("properties", {})) |
| 146 | 148 |
| 149 api.chromium.ensure_goma() |
| 150 |
| 147 # clobber before runhooks | 151 # clobber before runhooks |
| 148 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) | 152 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) |
| 149 | 153 |
| 150 # gclient runhooks wrapper step | 154 # gclient runhooks wrapper step |
| 151 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 155 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
| 152 'GYP_GENERATORS': 'ninja', | 156 'GYP_GENERATORS': 'ninja', |
| 153 'DEPOT_TOOLS_UPDATE': '0', | 157 'DEPOT_TOOLS_UPDATE': '0', |
| 154 'GYP_DEFINES': 'fastbuild=1 component=static_library', | 158 'GYP_DEFINES': 'fastbuild=1 component=static_library', |
| 155 'LANDMINES_VERBOSE': '1'} | 159 'LANDMINES_VERBOSE': '1'} |
| 156 api.python("gclient runhooks wrapper", | 160 api.python("gclient runhooks wrapper", |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 soln.custom_vars = {} | 230 soln.custom_vars = {} |
| 227 src_cfg.got_revision_mapping.update( | 231 src_cfg.got_revision_mapping.update( |
| 228 {'src': 'got_revision', | 232 {'src': 'got_revision', |
| 229 'src/third_party/WebKit': 'got_webkit_revision', | 233 'src/third_party/WebKit': 'got_webkit_revision', |
| 230 'src/tools/swarming_client': 'got_swarming_client_revision', | 234 'src/tools/swarming_client': 'got_swarming_client_revision', |
| 231 'src/v8': 'got_v8_revision'}) | 235 'src/v8': 'got_v8_revision'}) |
| 232 api.gclient.c = src_cfg | 236 api.gclient.c = src_cfg |
| 233 result = api.bot_update.ensure_checkout() | 237 result = api.bot_update.ensure_checkout() |
| 234 build_properties.update(result.json.output.get("properties", {})) | 238 build_properties.update(result.json.output.get("properties", {})) |
| 235 | 239 |
| 240 api.chromium.ensure_goma() |
| 241 |
| 236 # clobber before runhooks | 242 # clobber before runhooks |
| 237 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) | 243 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) |
| 238 | 244 |
| 239 # gclient runhooks wrapper step | 245 # gclient runhooks wrapper step |
| 240 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 246 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
| 241 'LANDMINES_VERBOSE': '1', | 247 'LANDMINES_VERBOSE': '1', |
| 242 'DEPOT_TOOLS_UPDATE': '0', | 248 'DEPOT_TOOLS_UPDATE': '0', |
| 243 'GYP_DEFINES': 'fastbuild=1 component=static_library'} | 249 'GYP_DEFINES': 'fastbuild=1 component=static_library'} |
| 244 api.python("gclient runhooks wrapper", | 250 api.python("gclient runhooks wrapper", |
| 245 api.path["build"].join("scripts", "slave", | 251 api.path["build"].join("scripts", "slave", |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} | 294 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} |
| 289 src_cfg.got_revision_mapping.update( | 295 src_cfg.got_revision_mapping.update( |
| 290 {'src': 'got_revision', | 296 {'src': 'got_revision', |
| 291 'src/third_party/WebKit': 'got_webkit_revision', | 297 'src/third_party/WebKit': 'got_webkit_revision', |
| 292 'src/tools/swarming_client': 'got_swarming_client_revision', | 298 'src/tools/swarming_client': 'got_swarming_client_revision', |
| 293 'src/v8': 'got_v8_revision'}) | 299 'src/v8': 'got_v8_revision'}) |
| 294 api.gclient.c = src_cfg | 300 api.gclient.c = src_cfg |
| 295 result = api.bot_update.ensure_checkout() | 301 result = api.bot_update.ensure_checkout() |
| 296 build_properties.update(result.json.output.get("properties", {})) | 302 build_properties.update(result.json.output.get("properties", {})) |
| 297 | 303 |
| 304 api.chromium.ensure_goma() |
| 305 |
| 298 # clobber before runhooks | 306 # clobber before runhooks |
| 299 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) | 307 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) |
| 300 | 308 |
| 301 # gclient runhooks wrapper step | 309 # gclient runhooks wrapper step |
| 302 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 310 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
| 303 'LANDMINES_VERBOSE': '1', | 311 'LANDMINES_VERBOSE': '1', |
| 304 'DEPOT_TOOLS_UPDATE': '0', | 312 'DEPOT_TOOLS_UPDATE': '0', |
| 305 'GYP_DEFINES': 'fastbuild=1 component=static_library'} | 313 'GYP_DEFINES': 'fastbuild=1 component=static_library'} |
| 306 api.python("gclient runhooks wrapper", | 314 api.python("gclient runhooks wrapper", |
| 307 api.path["build"].join("scripts", "slave", | 315 api.path["build"].join("scripts", "slave", |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} | 360 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} |
| 353 src_cfg.got_revision_mapping.update( | 361 src_cfg.got_revision_mapping.update( |
| 354 {'src': 'got_revision', | 362 {'src': 'got_revision', |
| 355 'src/third_party/WebKit': 'got_webkit_revision', | 363 'src/third_party/WebKit': 'got_webkit_revision', |
| 356 'src/tools/swarming_client': 'got_swarming_client_revision', | 364 'src/tools/swarming_client': 'got_swarming_client_revision', |
| 357 'src/v8': 'got_v8_revision'}) | 365 'src/v8': 'got_v8_revision'}) |
| 358 api.gclient.c = src_cfg | 366 api.gclient.c = src_cfg |
| 359 result = api.bot_update.ensure_checkout() | 367 result = api.bot_update.ensure_checkout() |
| 360 build_properties.update(result.json.output.get("properties", {})) | 368 build_properties.update(result.json.output.get("properties", {})) |
| 361 | 369 |
| 370 api.chromium.ensure_goma() |
| 371 |
| 362 # clobber before runhooks | 372 # clobber before runhooks |
| 363 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) | 373 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) |
| 364 | 374 |
| 365 # gclient runhooks wrapper step | 375 # gclient runhooks wrapper step |
| 366 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', | 376 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', |
| 367 'LANDMINES_VERBOSE': '1', | 377 'LANDMINES_VERBOSE': '1', |
| 368 'DEPOT_TOOLS_UPDATE': '0', | 378 'DEPOT_TOOLS_UPDATE': '0', |
| 369 'GYP_DEFINES': 'fastbuild=1 component=static_library'} | 379 'GYP_DEFINES': 'fastbuild=1 component=static_library'} |
| 370 api.python("gclient runhooks wrapper", | 380 api.python("gclient runhooks wrapper", |
| 371 api.path["build"].join("scripts", "slave", | 381 api.path["build"].join("scripts", "slave", |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} | 424 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} |
| 415 src_cfg.got_revision_mapping.update( | 425 src_cfg.got_revision_mapping.update( |
| 416 {'src': 'got_revision', | 426 {'src': 'got_revision', |
| 417 'src/third_party/WebKit': 'got_webkit_revision', | 427 'src/third_party/WebKit': 'got_webkit_revision', |
| 418 'src/tools/swarming_client': 'got_swarming_client_revision', | 428 'src/tools/swarming_client': 'got_swarming_client_revision', |
| 419 'src/v8': 'got_v8_revision'}) | 429 'src/v8': 'got_v8_revision'}) |
| 420 api.gclient.c = src_cfg | 430 api.gclient.c = src_cfg |
| 421 result = api.bot_update.ensure_checkout() | 431 result = api.bot_update.ensure_checkout() |
| 422 build_properties.update(result.json.output.get("properties", {})) | 432 build_properties.update(result.json.output.get("properties", {})) |
| 423 | 433 |
| 434 api.chromium.ensure_goma() |
| 435 |
| 424 # clobber before runhooks | 436 # clobber before runhooks |
| 425 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) | 437 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release')) |
| 426 | 438 |
| 427 # gclient runhooks wrapper step | 439 # gclient runhooks wrapper step |
| 428 env = {'LANDMINES_VERBOSE': '1', | 440 env = {'LANDMINES_VERBOSE': '1', |
| 429 'GYP_GENERATORS': 'ninja', | 441 'GYP_GENERATORS': 'ninja', |
| 430 'DEPOT_TOOLS_UPDATE': '0', | 442 'DEPOT_TOOLS_UPDATE': '0', |
| 431 'GYP_DEFINES': 'fastbuild=1 component=static_library', | 443 'GYP_DEFINES': 'fastbuild=1 component=static_library', |
| 432 'CHROMIUM_GYP_SYNTAX_CHECK': '1'} | 444 'CHROMIUM_GYP_SYNTAX_CHECK': '1'} |
| 433 api.python("gclient runhooks wrapper", | 445 api.python("gclient runhooks wrapper", |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 yield (api.test('mac_sdk_multirel') + api.properties( | 537 yield (api.test('mac_sdk_multirel') + api.properties( |
| 526 mastername='client.nacl.sdk') + api.properties( | 538 mastername='client.nacl.sdk') + api.properties( |
| 527 buildername='mac-sdk-multirel') + | 539 buildername='mac-sdk-multirel') + |
| 528 api.properties(revision='123456789abcdef') + api.properties( | 540 api.properties(revision='123456789abcdef') + api.properties( |
| 529 got_revision='123456789abcdef') + api.properties( | 541 got_revision='123456789abcdef') + api.properties( |
| 530 buildnumber='42') + api.properties(slavename='TestSlave')) | 542 buildnumber='42') + api.properties(slavename='TestSlave')) |
| 531 yield (api.test('builder_not_in_dispatch_directory') + api.properties( | 543 yield (api.test('builder_not_in_dispatch_directory') + api.properties( |
| 532 mastername='client.nacl.sdk') + api.properties( | 544 mastername='client.nacl.sdk') + api.properties( |
| 533 buildername='nonexistent_builder') + api.properties( | 545 buildername='nonexistent_builder') + api.properties( |
| 534 slavename='TestSlave')) | 546 slavename='TestSlave')) |
| OLD | NEW |