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