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

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: Roll to latest recipes-py 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
« no previous file with comments | « scripts/slave/recipes/chromium_pgo.py ('k') | scripts/slave/recipes/chromium_trybot_legacy.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes/chromium_trybot.py
diff --git a/scripts/slave/recipes/chromium_trybot.py b/scripts/slave/recipes/chromium_trybot.py
index 43b2311285ebf5abaeffec82b15867818e56eda2..d11c8ecd2c5f73885864a31ac4e8c163c0c76352 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',
@@ -808,6 +808,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)
« no previous file with comments | « scripts/slave/recipes/chromium_pgo.py ('k') | scripts/slave/recipes/chromium_trybot_legacy.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698