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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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')) |
OLD | NEW |