| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'bot_update', | 6 'bot_update', |
| 7 'gclient', | 7 'gclient', |
| 8 'recipe_engine/path', | 8 'recipe_engine/path', |
| 9 'recipe_engine/properties', | 9 'recipe_engine/properties', |
| 10 ] | 10 ] |
| 11 | 11 |
| 12 def RunSteps(api): | 12 def RunSteps(api): |
| 13 api.gclient.use_mirror = True | 13 api.gclient.use_mirror = True |
| 14 | 14 |
| 15 src_cfg = api.gclient.make_config(GIT_MODE=True, CACHE_DIR='[GIT_CACHE]') | 15 src_cfg = api.gclient.make_config() |
| 16 soln = src_cfg.solutions.add() | 16 soln = src_cfg.solutions.add() |
| 17 soln.name = 'src' | 17 soln.name = 'src' |
| 18 soln.url = 'svn://svn.chromium.org/chrome/trunk/src' | 18 soln.url = 'svn://svn.chromium.org/chrome/trunk/src' |
| 19 soln.revision = api.properties.get('revision') | 19 soln.revision = api.properties.get('revision') |
| 20 api.gclient.c = src_cfg | 20 api.gclient.c = src_cfg |
| 21 api.gclient.c.revisions = api.properties.get('revisions', {}) | 21 api.gclient.c.revisions = api.properties.get('revisions', {}) |
| 22 api.gclient.c.got_revision_mapping['src'] = 'got_cr_revision' | 22 api.gclient.c.got_revision_mapping['src'] = 'got_cr_revision' |
| 23 patch = api.properties.get('patch', True) | 23 patch = api.properties.get('patch', True) |
| 24 clobber = True if api.properties.get('clobber') else False | 24 clobber = True if api.properties.get('clobber') else False |
| 25 force = True if api.properties.get('force') else False | 25 force = True if api.properties.get('force') else False |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 yield api.test('tryjob_v8') + api.properties( | 146 yield api.test('tryjob_v8') + api.properties( |
| 147 mastername='tryserver.chromium.linux', | 147 mastername='tryserver.chromium.linux', |
| 148 buildername='linux_rel', | 148 buildername='linux_rel', |
| 149 slavename='totallyaslave-c4', | 149 slavename='totallyaslave-c4', |
| 150 issue=12345, | 150 issue=12345, |
| 151 patchset=654321, | 151 patchset=654321, |
| 152 patch_url='http://src.chromium.org/foo/bar', | 152 patch_url='http://src.chromium.org/foo/bar', |
| 153 patch_project='v8', | 153 patch_project='v8', |
| 154 revisions={'src/v8': 'abc'} | 154 revisions={'src/v8': 'abc'} |
| 155 ) | 155 ) |
| OLD | NEW |