Chromium Code Reviews| Index: scripts/slave/recipe_modules/chromium_tests/tryserver_chromium_perf.py |
| diff --git a/scripts/slave/recipe_modules/chromium_tests/tryserver_chromium_perf.py b/scripts/slave/recipe_modules/chromium_tests/tryserver_chromium_perf.py |
| index 99dca2ba477d0b7ef51a3a6baeac69b159755178..f8c2e2d5ed7bffea89d8738cd4fb3a7e0cea0820 100644 |
| --- a/scripts/slave/recipe_modules/chromium_tests/tryserver_chromium_perf.py |
| +++ b/scripts/slave/recipe_modules/chromium_tests/tryserver_chromium_perf.py |
| @@ -2,8 +2,19 @@ |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| +from recipe_engine import config as recipe_config |
| + |
| from . import chromium_perf |
| +import DEPS |
| +CONFIG_CTX = DEPS['gclient'].CONFIG_CTX |
|
iannucci
2016/08/08 23:00:52
this might need to be 'depot_tools/gclient' to be
|
| + |
| +@CONFIG_CTX(includes=['chromium_perf']) |
| +def tryserver_chromium_perf(c): |
| + soln = c.solutions.add() |
| + soln.name = 'catapult' |
| + soln.url = ('https://chromium.googlesource.com/external/github.com/' |
| + 'catapult-project/catapult.git') |
| SPEC = { |
| 'builders': {}, |
| @@ -14,6 +25,7 @@ SPEC = { |
| def _AddBuildSpec(name, platform, target_bits=64): |
| SPEC['builders'][name] = chromium_perf.BuildSpec( |
| 'tryserver_chromium_perf', None, platform, target_bits) |
| + SPEC['builders'][name]['gclient_config'] = 'tryserver_chromium_perf' |
| def _AddTestSpec(name, platform, target_bits=64): |
| @@ -22,6 +34,7 @@ def _AddTestSpec(name, platform, target_bits=64): |
| spec = chromium_perf.BuildSpec( |
| 'tryserver_chromium_perf', None, platform, target_bits) |
| del spec['tests'] |
| + spec['gclient_config'] = 'tryserver_chromium_perf' |
| SPEC['builders'][name] = spec |