| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 allow_subannotations=True) | 86 allow_subannotations=True) |
| 87 | 87 |
| 88 | 88 |
| 89 def sdk_multirel_steps(api): | 89 def sdk_multirel_steps(api): |
| 90 build_properties = api.properties.legacy() | 90 build_properties = api.properties.legacy() |
| 91 # update scripts step; implicitly run by recipe engine. | 91 # update scripts step; implicitly run by recipe engine. |
| 92 # bot_update step | 92 # bot_update step |
| 93 src_cfg = api.gclient.make_config() | 93 src_cfg = api.gclient.make_config() |
| 94 soln = src_cfg.solutions.add() | 94 soln = src_cfg.solutions.add() |
| 95 soln.name = "chrome-official" | 95 soln.name = "chrome-official" |
| 96 soln.url = "svn://svn.chromium.org/chrome-internal/trunk/tools/buildspec/"+\ | 96 soln.url = "https://chrome-internal.googlesource.com/chrome/tools/"+\ |
| 97 "build/chrome-official" | 97 "buildspec.git" |
| 98 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} | 98 soln.custom_deps = {'src-pdf': None, 'src/pdf': None} |
| 99 src_cfg.got_revision_mapping.update( | 99 src_cfg.got_revision_mapping.update( |
| 100 {'src': 'got_revision', | 100 {'src': 'got_revision', |
| 101 'src/third_party/WebKit': 'got_webkit_revision', | 101 'src/third_party/WebKit': 'got_webkit_revision', |
| 102 'src/tools/swarming_client': 'got_swarming_client_revision', | 102 'src/tools/swarming_client': 'got_swarming_client_revision', |
| 103 'src/v8': 'got_v8_revision'}) | 103 'src/v8': 'got_v8_revision'}) |
| 104 api.gclient.c = src_cfg | 104 api.gclient.c = src_cfg |
| 105 result = api.bot_update.ensure_checkout() | 105 result = api.bot_update.ensure_checkout() |
| 106 build_properties.update(result.json.output.get("properties", {})) | 106 build_properties.update(result.json.output.get("properties", {})) |
| 107 | 107 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 yield (api.test('mac_sdk_multirel') + api.properties( | 196 yield (api.test('mac_sdk_multirel') + api.properties( |
| 197 mastername='client.nacl.sdk') + api.properties( | 197 mastername='client.nacl.sdk') + api.properties( |
| 198 buildername='mac-sdk-multirel') + | 198 buildername='mac-sdk-multirel') + |
| 199 api.properties(revision='123456789abcdef') + api.properties( | 199 api.properties(revision='123456789abcdef') + api.properties( |
| 200 got_revision='123456789abcdef') + api.properties( | 200 got_revision='123456789abcdef') + api.properties( |
| 201 buildnumber='42') + api.properties(slavename='TestSlave')) | 201 buildnumber='42') + api.properties(slavename='TestSlave')) |
| 202 yield (api.test('builder_not_in_dispatch_directory') + api.properties( | 202 yield (api.test('builder_not_in_dispatch_directory') + api.properties( |
| 203 mastername='client.nacl.sdk') + api.properties( | 203 mastername='client.nacl.sdk') + api.properties( |
| 204 buildername='nonexistent_builder') + api.properties( | 204 buildername='nonexistent_builder') + api.properties( |
| 205 slavename='TestSlave')) | 205 slavename='TestSlave')) |
| OLD | NEW |