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..0754913d92d28a519ac7f0f2ed4b05d242cd3221 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 |
|
dtu
2016/08/10 01:19:39
Unused import? If it's necessary, include a commen
RobertoCN
2016/08/10 22:59:54
Done.
|
| + |
| from . import chromium_perf |
| +import DEPS |
| +CONFIG_CTX = DEPS['gclient'].CONFIG_CTX |
| + |
| +@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': {}, |
| @@ -13,14 +24,16 @@ SPEC = { |
| def _AddBuildSpec(name, platform, target_bits=64): |
| SPEC['builders'][name] = chromium_perf.BuildSpec( |
| - 'tryserver_chromium_perf', None, platform, target_bits) |
| + 'tryserver_chromium_perf', None, platform, target_bits, |
| + gclient_config='tryserver_chromium_perf') |
| def _AddTestSpec(name, platform, target_bits=64): |
| # TODO(dtu): Change this to TestSpec after try job builds are all offloaded |
| # to builders. |
| spec = chromium_perf.BuildSpec( |
| - 'tryserver_chromium_perf', None, platform, target_bits) |
| + 'tryserver_chromium_perf', None, platform, target_bits, |
| + gclient_config='tryserver_chromium_perf') |
| del spec['tests'] |
| SPEC['builders'][name] = spec |