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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 p['parent_got_angle_revision'] = 'angle_revision' | 159 p['parent_got_angle_revision'] = 'angle_revision' |
160 p['parent_got_nacl_revision'] = 'nacl_revision' | 160 p['parent_got_nacl_revision'] = 'nacl_revision' |
161 p['parent_got_swarming_client_revision'] = 'swarming_revision' | 161 p['parent_got_swarming_client_revision'] = 'swarming_revision' |
162 p['parent_got_v8_revision'] = 'v8_revision' | 162 p['parent_got_v8_revision'] = 'v8_revision' |
163 p['parent_got_webrtc_revision'] = 'webrtc_revision' | 163 p['parent_got_webrtc_revision'] = 'webrtc_revision' |
164 | 164 |
165 p = c.patch_projects | 165 p = c.patch_projects |
166 p['v8'] = ('src/v8', 'HEAD') | 166 p['v8'] = ('src/v8', 'HEAD') |
167 p['angle/angle'] = ('src/third_party/angle', None) | 167 p['angle/angle'] = ('src/third_party/angle', None) |
168 p['blink'] = ('src/third_party/WebKit', None) | 168 p['blink'] = ('src/third_party/WebKit', None) |
| 169 p['pdfium'] = ('src/third_party/pdfium', 'HEAD') |
169 | 170 |
170 @config_ctx(includes=['chromium_bare']) | 171 @config_ctx(includes=['chromium_bare']) |
171 def chromium_empty(c): | 172 def chromium_empty(c): |
172 c.solutions[0].deps_file = '' # pragma: no cover | 173 c.solutions[0].deps_file = '' # pragma: no cover |
173 | 174 |
174 @config_ctx(includes=['chromium_bare']) | 175 @config_ctx(includes=['chromium_bare']) |
175 def chromium(c): | 176 def chromium(c): |
176 s = c.solutions[0] | 177 s = c.solutions[0] |
177 s.custom_deps = mirror_only(c, {}) | 178 s.custom_deps = mirror_only(c, {}) |
178 | 179 |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 soln = c.solutions.add() | 658 soln = c.solutions.add() |
658 soln.name = 'gerrit-test-cq-normal' | 659 soln.name = 'gerrit-test-cq-normal' |
659 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' | 660 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' |
660 | 661 |
661 # TODO(phajdan.jr): Move to proper repo and add coverage. | 662 # TODO(phajdan.jr): Move to proper repo and add coverage. |
662 @config_ctx() | 663 @config_ctx() |
663 def valgrind(c): # pragma: no cover | 664 def valgrind(c): # pragma: no cover |
664 """Add Valgrind binaries to the gclient solution.""" | 665 """Add Valgrind binaries to the gclient solution.""" |
665 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ | 666 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ |
666 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') | 667 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') |
OLD | NEW |