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

Unified Diff: scripts/slave/recipes/chromium_trybot.py

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Change to googlesource Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/chromium_trybot.py
diff --git a/scripts/slave/recipes/chromium_trybot.py b/scripts/slave/recipes/chromium_trybot.py
index 08ee9a617cd1d4fc267dad8de6c0cdfd71d5a6c3..e271319950470956329a2126f912941e66100b17 100644
--- a/scripts/slave/recipes/chromium_trybot.py
+++ b/scripts/slave/recipes/chromium_trybot.py
@@ -4,7 +4,7 @@
import collections
-from infra.libs.infra_types import freeze
+from recipe_engine.types import freeze
DEPS = [
'amp',
@@ -12,10 +12,10 @@ DEPS = [
'chromium',
'chromium_android',
'chromium_tests',
+ 'file',
'gclient',
'gpu',
'isolate',
- 'itertools',
'json',
'path',
'platform',
@@ -712,6 +712,13 @@ def _RunStepsInternal(api):
def RunSteps(api):
+ # build/tests/masters_recipes_tests.py needs to manipulate the BUILDERS
+ # dict, so we provide an API to dump it here.
+ if api.properties.get('dump_builders'): # pragma: no cover
+ api.file.copy('Dump BUILDERS dict',
+ api.json.input(BUILDERS), api.properties['dump_builders'])
+ return
+
with api.tryserver.set_failure_hash():
return _RunStepsInternal(api)

Powered by Google App Engine
This is Rietveld 408576698