Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: recipe_modules/gclient/config.py

Issue 2117063002: remove blink_or_chromium gclient config (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « recipe_modules/gclient/api.py ('k') | recipe_modules/gclient/example.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 "src/webkit/data/test_shell/plugins":None, 232 "src/webkit/data/test_shell/plugins":None,
233 "src/webkit/data/xbm_decoder":None, 233 "src/webkit/data/xbm_decoder":None,
234 } 234 }
235 235
236 @config_ctx(includes=['chromium']) 236 @config_ctx(includes=['chromium'])
237 def blink(c): 237 def blink(c):
238 c.solutions[0].revision = 'HEAD' 238 c.solutions[0].revision = 'HEAD'
239 del c.solutions[0].custom_deps 239 del c.solutions[0].custom_deps
240 c.revisions['src/third_party/WebKit'] = 'HEAD' 240 c.revisions['src/third_party/WebKit'] = 'HEAD'
241 241
242 @config_ctx(includes=['chromium'])
243 def blink_or_chromium(c):
244 c.solutions[0].revision = gclient_api.ProjectRevisionResolver('chromium')
245 del c.solutions[0].custom_deps
246 c.revisions['src/third_party/WebKit'] = \
247 gclient_api.ProjectRevisionResolver(
248 'webkit', parent_got_revision='parent_got_webkit_revision')
249
250 # TODO(phajdan.jr): Move to proper repo and add coverage. 242 # TODO(phajdan.jr): Move to proper repo and add coverage.
251 @config_ctx(includes=['chromium']) 243 @config_ctx(includes=['chromium'])
252 def blink_merged(c): # pragma: no cover 244 def blink_merged(c): # pragma: no cover
253 c.solutions[0].url = \ 245 c.solutions[0].url = \
254 'https://chromium.googlesource.com/playground/chromium-blink-merge.git' 246 'https://chromium.googlesource.com/playground/chromium-blink-merge.git'
255 247
256 @config_ctx() 248 @config_ctx()
257 def android(c): 249 def android(c):
258 c.target_os.add('android') 250 c.target_os.add('android')
259 251
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 soln = c.solutions.add() 662 soln = c.solutions.add()
671 soln.name = 'gerrit-test-cq-normal' 663 soln.name = 'gerrit-test-cq-normal'
672 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' 664 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git'
673 665
674 # TODO(phajdan.jr): Move to proper repo and add coverage. 666 # TODO(phajdan.jr): Move to proper repo and add coverage.
675 @config_ctx() 667 @config_ctx()
676 def valgrind(c): # pragma: no cover 668 def valgrind(c): # pragma: no cover
677 """Add Valgrind binaries to the gclient solution.""" 669 """Add Valgrind binaries to the gclient solution."""
678 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ 670 c.solutions[0].custom_deps['src/third_party/valgrind'] = \
679 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') 671 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries')
OLDNEW
« no previous file with comments | « recipe_modules/gclient/api.py ('k') | recipe_modules/gclient/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698