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

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

Issue 2166443002: Add config to gclient to pull in Chromedriver test deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Add config to gclient to pull in Chromedriver test deps. 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
« no previous file with comments | « no previous file | 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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 soln = c.solutions.add() 662 soln = c.solutions.add()
663 soln.name = 'gerrit-test-cq-normal' 663 soln.name = 'gerrit-test-cq-normal'
664 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git' 664 soln.url = 'https://chromium.googlesource.com/playground/gerrit-cq/normal.git'
665 665
666 # TODO(phajdan.jr): Move to proper repo and add coverage. 666 # TODO(phajdan.jr): Move to proper repo and add coverage.
667 @config_ctx() 667 @config_ctx()
668 def valgrind(c): # pragma: no cover 668 def valgrind(c): # pragma: no cover
669 """Add Valgrind binaries to the gclient solution.""" 669 """Add Valgrind binaries to the gclient solution."""
670 c.solutions[0].custom_deps['src/third_party/valgrind'] = \ 670 c.solutions[0].custom_deps['src/third_party/valgrind'] = \
671 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries') 671 ChromiumGitURL(c, 'chromium', 'deps', 'valgrind', 'binaries')
672
673 @config_ctx(includes=['chromium'])
674 def chromedriver(c):
675 """Add Selenium Java tests to the gclient solution."""
676 c.solutions[0].custom_deps[
677 'src/chrome/test/chromedriver/third_party/java_tests'] = (
678 ChromiumGitURL(c, 'chromium', 'deps', 'webdriver'))
OLDNEW
« no previous file with comments | « no previous file | recipe_modules/gclient/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698