| 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', |
| 11 'recipe_engine/path', | 11 'recipe_engine/path', |
| 12 'recipe_engine/properties', | 12 'recipe_engine/properties', |
| 13 'recipe_engine/python', | 13 'recipe_engine/python', |
| 14 'recipe_engine/step', | 14 'recipe_engine/step', |
| 15 ] | 15 ] |
| 16 | 16 |
| 17 | 17 |
| 18 def linux_sdk_multi_steps(api): | 18 def linux_sdk_multi_steps(api): |
| 19 build_properties = api.properties.legacy() | 19 build_properties = api.properties.legacy() |
| 20 # update scripts step; implicitly run by recipe engine. | 20 # update scripts step; implicitly run by recipe engine. |
| 21 # bot_update step | 21 # bot_update step |
| 22 src_cfg = api.gclient.make_config(GIT_MODE=True) | 22 src_cfg = api.gclient.make_config() |
| 23 soln = src_cfg.solutions.add() | 23 soln = src_cfg.solutions.add() |
| 24 soln.name = "src" | 24 soln.name = "src" |
| 25 soln.url = "https://chromium.googlesource.com/chromium/src.git" | 25 soln.url = "https://chromium.googlesource.com/chromium/src.git" |
| 26 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} | 26 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} |
| 27 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', | 27 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', |
| 28 'googlecode_url': 'svn://svn.chromium.org/%s', | 28 'googlecode_url': 'svn://svn.chromium.org/%s', |
| 29 'nacl_trunk': | 29 'nacl_trunk': |
| 30 'svn://svn.chromium.org/native_client/trunk', | 30 'svn://svn.chromium.org/native_client/trunk', |
| 31 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', | 31 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', |
| 32 'llvm_url': 'svn://svn.chromium.org/llvm-project'} | 32 'llvm_url': 'svn://svn.chromium.org/llvm-project'} |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 '"fastbuild=1 component=static_library","LANDMINES_VERBOSE":"1"'+\ | 100 '"fastbuild=1 component=static_library","LANDMINES_VERBOSE":"1"'+\ |
| 101 '},"no_gclient_branch":true,"nuke_and_pave":false}' | 101 '},"no_gclient_branch":true,"nuke_and_pave":false}' |
| 102 ], | 102 ], |
| 103 allow_subannotations=True) | 103 allow_subannotations=True) |
| 104 | 104 |
| 105 | 105 |
| 106 def mac_sdk_multi_steps(api): | 106 def mac_sdk_multi_steps(api): |
| 107 build_properties = api.properties.legacy() | 107 build_properties = api.properties.legacy() |
| 108 # update scripts step; implicitly run by recipe engine. | 108 # update scripts step; implicitly run by recipe engine. |
| 109 # bot_update step | 109 # bot_update step |
| 110 src_cfg = api.gclient.make_config(GIT_MODE=True) | 110 src_cfg = api.gclient.make_config() |
| 111 soln = src_cfg.solutions.add() | 111 soln = src_cfg.solutions.add() |
| 112 soln.name = "src" | 112 soln.name = "src" |
| 113 soln.url = "https://chromium.googlesource.com/chromium/src.git" | 113 soln.url = "https://chromium.googlesource.com/chromium/src.git" |
| 114 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} | 114 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} |
| 115 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', | 115 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', |
| 116 'googlecode_url': 'svn://svn.chromium.org/%s', | 116 'googlecode_url': 'svn://svn.chromium.org/%s', |
| 117 'nacl_trunk': | 117 'nacl_trunk': |
| 118 'svn://svn.chromium.org/native_client/trunk', | 118 'svn://svn.chromium.org/native_client/trunk', |
| 119 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', | 119 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', |
| 120 'llvm_url': 'svn://svn.chromium.org/llvm-project'} | 120 'llvm_url': 'svn://svn.chromium.org/llvm-project'} |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 193 |
| 194 | 194 |
| 195 def windows_sdk_multi_steps(api): | 195 def windows_sdk_multi_steps(api): |
| 196 build_properties = api.properties.legacy() | 196 build_properties = api.properties.legacy() |
| 197 # svnkill step; not necessary in recipes | 197 # svnkill step; not necessary in recipes |
| 198 # update scripts step; implicitly run by recipe engine. | 198 # update scripts step; implicitly run by recipe engine. |
| 199 # taskkill step | 199 # taskkill step |
| 200 api.python("taskkill", api.path["build"].join("scripts", "slave", | 200 api.python("taskkill", api.path["build"].join("scripts", "slave", |
| 201 "kill_processes.py")) | 201 "kill_processes.py")) |
| 202 # bot_update step | 202 # bot_update step |
| 203 src_cfg = api.gclient.make_config(GIT_MODE=True) | 203 src_cfg = api.gclient.make_config() |
| 204 soln = src_cfg.solutions.add() | 204 soln = src_cfg.solutions.add() |
| 205 soln.name = "src" | 205 soln.name = "src" |
| 206 soln.url = "https://chromium.googlesource.com/chromium/src.git" | 206 soln.url = "https://chromium.googlesource.com/chromium/src.git" |
| 207 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} | 207 soln.custom_deps = {'src/third_party/WebKit/LayoutTests': None} |
| 208 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', | 208 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', |
| 209 'googlecode_url': 'svn://svn.chromium.org/%s', | 209 'googlecode_url': 'svn://svn.chromium.org/%s', |
| 210 'nacl_trunk': | 210 'nacl_trunk': |
| 211 'svn://svn.chromium.org/native_client/trunk', | 211 'svn://svn.chromium.org/native_client/trunk', |
| 212 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', | 212 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', |
| 213 'llvm_url': 'svn://svn.chromium.org/llvm-project'} | 213 'llvm_url': 'svn://svn.chromium.org/llvm-project'} |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 '"LANDMINES_VERBOSE":"1"},"no_gclient_branch":true,'+\ | 281 '"LANDMINES_VERBOSE":"1"},"no_gclient_branch":true,'+\ |
| 282 '"nuke_and_pave":false}' | 282 '"nuke_and_pave":false}' |
| 283 ], | 283 ], |
| 284 allow_subannotations=True) | 284 allow_subannotations=True) |
| 285 | 285 |
| 286 | 286 |
| 287 def linux_sdk_multirel_steps(api): | 287 def linux_sdk_multirel_steps(api): |
| 288 build_properties = api.properties.legacy() | 288 build_properties = api.properties.legacy() |
| 289 # update scripts step; implicitly run by recipe engine. | 289 # update scripts step; implicitly run by recipe engine. |
| 290 # bot_update step | 290 # bot_update step |
| 291 src_cfg = api.gclient.make_config(GIT_MODE=True) | 291 src_cfg = api.gclient.make_config() |
| 292 soln = src_cfg.solutions.add() | 292 soln = src_cfg.solutions.add() |
| 293 soln.name = "chrome-official" | 293 soln.name = "chrome-official" |
| 294 soln.url = "svn://svn.chromium.org/chrome-internal/trunk/tools/buildspec/"+\ | 294 soln.url = "svn://svn.chromium.org/chrome-internal/trunk/tools/buildspec/"+\ |
| 295 "build/chrome-official" | 295 "build/chrome-official" |
| 296 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} | 296 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} |
| 297 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', | 297 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', |
| 298 'googlecode_url': 'svn://svn.chromium.org/%s', | 298 'googlecode_url': 'svn://svn.chromium.org/%s', |
| 299 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', | 299 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', |
| 300 'svn_url': 'svn://svn.chromium.org'} | 300 'svn_url': 'svn://svn.chromium.org'} |
| 301 src_cfg.got_revision_mapping.update( | 301 src_cfg.got_revision_mapping.update( |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 | 347 |
| 348 | 348 |
| 349 def windows_sdk_multirel_steps(api): | 349 def windows_sdk_multirel_steps(api): |
| 350 build_properties = api.properties.legacy() | 350 build_properties = api.properties.legacy() |
| 351 # svnkill step; not necessary in recipes | 351 # svnkill step; not necessary in recipes |
| 352 # update scripts step; implicitly run by recipe engine. | 352 # update scripts step; implicitly run by recipe engine. |
| 353 # taskkill step | 353 # taskkill step |
| 354 api.python("taskkill", api.path["build"].join("scripts", "slave", | 354 api.python("taskkill", api.path["build"].join("scripts", "slave", |
| 355 "kill_processes.py")) | 355 "kill_processes.py")) |
| 356 # bot_update step | 356 # bot_update step |
| 357 src_cfg = api.gclient.make_config(GIT_MODE=True) | 357 src_cfg = api.gclient.make_config() |
| 358 soln = src_cfg.solutions.add() | 358 soln = src_cfg.solutions.add() |
| 359 soln.name = "chrome-official" | 359 soln.name = "chrome-official" |
| 360 soln.url = "svn://svn.chromium.org/chrome-internal/trunk/tools/buildspec/"+\ | 360 soln.url = "svn://svn.chromium.org/chrome-internal/trunk/tools/buildspec/"+\ |
| 361 "build/chrome-official" | 361 "build/chrome-official" |
| 362 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} | 362 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} |
| 363 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', | 363 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', |
| 364 'googlecode_url': 'svn://svn.chromium.org/%s', | 364 'googlecode_url': 'svn://svn.chromium.org/%s', |
| 365 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', | 365 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', |
| 366 'svn_url': 'svn://svn.chromium.org'} | 366 'svn_url': 'svn://svn.chromium.org'} |
| 367 src_cfg.got_revision_mapping.update( | 367 src_cfg.got_revision_mapping.update( |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 '"LANDMINES_VERBOSE":"1"},"no_gclient_branch":true,'+\ | 409 '"LANDMINES_VERBOSE":"1"},"no_gclient_branch":true,'+\ |
| 410 '"nuke_and_pave":true}' | 410 '"nuke_and_pave":true}' |
| 411 ], | 411 ], |
| 412 allow_subannotations=True) | 412 allow_subannotations=True) |
| 413 | 413 |
| 414 | 414 |
| 415 def mac_sdk_multirel_steps(api): | 415 def mac_sdk_multirel_steps(api): |
| 416 build_properties = api.properties.legacy() | 416 build_properties = api.properties.legacy() |
| 417 # update scripts step; implicitly run by recipe engine. | 417 # update scripts step; implicitly run by recipe engine. |
| 418 # bot_update step | 418 # bot_update step |
| 419 src_cfg = api.gclient.make_config(GIT_MODE=True) | 419 src_cfg = api.gclient.make_config() |
| 420 soln = src_cfg.solutions.add() | 420 soln = src_cfg.solutions.add() |
| 421 soln.name = "chrome-official" | 421 soln.name = "chrome-official" |
| 422 soln.url = "svn://svn.chromium.org/chrome-internal/trunk/tools/buildspec/"+\ | 422 soln.url = "svn://svn.chromium.org/chrome-internal/trunk/tools/buildspec/"+\ |
| 423 "build/chrome-official" | 423 "build/chrome-official" |
| 424 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} | 424 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} |
| 425 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', | 425 soln.custom_vars = {'webkit_trunk': 'svn://svn.chromium.org/blink/trunk', |
| 426 'googlecode_url': 'svn://svn.chromium.org/%s', | 426 'googlecode_url': 'svn://svn.chromium.org/%s', |
| 427 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', | 427 'sourceforge_url': 'svn://svn.chromium.org/%(repo)s', |
| 428 'svn_url': 'svn://svn.chromium.org'} | 428 'svn_url': 'svn://svn.chromium.org'} |
| 429 src_cfg.got_revision_mapping.update( | 429 src_cfg.got_revision_mapping.update( |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 yield (api.test('mac_sdk_multirel') + api.properties( | 533 yield (api.test('mac_sdk_multirel') + api.properties( |
| 534 mastername='client.nacl.sdk') + api.properties( | 534 mastername='client.nacl.sdk') + api.properties( |
| 535 buildername='mac-sdk-multirel') + | 535 buildername='mac-sdk-multirel') + |
| 536 api.properties(revision='123456789abcdef') + api.properties( | 536 api.properties(revision='123456789abcdef') + api.properties( |
| 537 got_revision='123456789abcdef') + api.properties( | 537 got_revision='123456789abcdef') + api.properties( |
| 538 buildnumber='42') + api.properties(slavename='TestSlave')) | 538 buildnumber='42') + api.properties(slavename='TestSlave')) |
| 539 yield (api.test('builder_not_in_dispatch_directory') + api.properties( | 539 yield (api.test('builder_not_in_dispatch_directory') + api.properties( |
| 540 mastername='client.nacl.sdk') + api.properties( | 540 mastername='client.nacl.sdk') + api.properties( |
| 541 buildername='nonexistent_builder') + api.properties( | 541 buildername='nonexistent_builder') + api.properties( |
| 542 slavename='TestSlave')) | 542 slavename='TestSlave')) |
| OLD | NEW |