OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import types | 5 import types |
6 | 6 |
7 from recipe_engine.config import config_item_context, ConfigGroup, BadConf | 7 from recipe_engine.config import config_item_context, ConfigGroup, BadConf |
8 from recipe_engine.config import ConfigList, Dict, Single, Static, Set, List | 8 from recipe_engine.config import ConfigList, Dict, Single, Static, Set, List |
9 | 9 |
10 from . import api as gclient_api | 10 from . import api as gclient_api |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', | 147 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', |
148 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', | 148 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', |
149 'webkit_trunk': BlinkURL(c)}) | 149 'webkit_trunk': BlinkURL(c)}) |
150 m = c.got_revision_mapping | 150 m = c.got_revision_mapping |
151 m['src'] = 'got_revision' | 151 m['src'] = 'got_revision' |
152 m['src/native_client'] = 'got_nacl_revision' | 152 m['src/native_client'] = 'got_nacl_revision' |
153 m['src/tools/swarming_client'] = 'got_swarming_client_revision' | 153 m['src/tools/swarming_client'] = 'got_swarming_client_revision' |
154 m['src/v8'] = 'got_v8_revision' | 154 m['src/v8'] = 'got_v8_revision' |
155 m['src/third_party/angle'] = 'got_angle_revision' | 155 m['src/third_party/angle'] = 'got_angle_revision' |
156 m['src/third_party/webrtc'] = 'got_webrtc_revision' | 156 m['src/third_party/webrtc'] = 'got_webrtc_revision' |
| 157 m['src/buildtools'] = 'got_buildtools_revision' |
157 | 158 |
158 p = c.parent_got_revision_mapping | 159 p = c.parent_got_revision_mapping |
159 p['parent_got_revision'] = None | 160 p['parent_got_revision'] = None |
160 p['parent_got_angle_revision'] = 'angle_revision' | 161 p['parent_got_angle_revision'] = 'angle_revision' |
161 p['parent_got_nacl_revision'] = 'nacl_revision' | 162 p['parent_got_nacl_revision'] = 'nacl_revision' |
162 p['parent_got_swarming_client_revision'] = 'swarming_revision' | 163 p['parent_got_swarming_client_revision'] = 'swarming_revision' |
163 p['parent_got_v8_revision'] = 'v8_revision' | 164 p['parent_got_v8_revision'] = 'v8_revision' |
164 p['parent_got_webrtc_revision'] = 'webrtc_revision' | 165 p['parent_got_webrtc_revision'] = 'webrtc_revision' |
165 | 166 |
166 p = c.patch_projects | 167 p = c.patch_projects |
167 p['v8'] = ('src/v8', 'HEAD') | 168 p['v8'] = ('src/v8', 'HEAD') |
| 169 p['buildtools'] = ('src/buildtools', 'HEAD') |
168 p['angle/angle'] = ('src/third_party/angle', None) | 170 p['angle/angle'] = ('src/third_party/angle', None) |
169 p['blink'] = ('src/third_party/WebKit', None) | 171 p['blink'] = ('src/third_party/WebKit', None) |
170 p['pdfium'] = ('src/third_party/pdfium', 'HEAD') | 172 p['pdfium'] = ('src/third_party/pdfium', 'HEAD') |
171 p['skia'] = ('src/third_party/skia', 'HEAD') | 173 p['skia'] = ('src/third_party/skia', 'HEAD') |
172 | 174 |
173 @config_ctx(includes=['chromium_bare']) | 175 @config_ctx(includes=['chromium_bare']) |
174 def chromium_empty(c): | 176 def chromium_empty(c): |
175 c.solutions[0].deps_file = '' # pragma: no cover | 177 c.solutions[0].deps_file = '' # pragma: no cover |
176 | 178 |
177 @config_ctx(includes=['chromium_bare']) | 179 @config_ctx(includes=['chromium_bare']) |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 soln = c.solutions.add() | 662 soln = c.solutions.add() |
661 soln.name = 'gerrit-test-cq-normal' | 663 soln.name = 'gerrit-test-cq-normal' |
662 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' | 664 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' |
663 | 665 |
664 # TODO(phajdan.jr): Move to proper repo and add coverage. | 666 # TODO(phajdan.jr): Move to proper repo and add coverage. |
665 @config_ctx() | 667 @config_ctx() |
666 def valgrind(c): # pragma: no cover | 668 def valgrind(c): # pragma: no cover |
667 """Add Valgrind binaries to the gclient solution.""" | 669 """Add Valgrind binaries to the gclient solution.""" |
668 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ | 670 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ |
669 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') | 671 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') |
OLD | NEW |