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) |