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

Unified Diff: scripts/slave/recipes/chromium_trybot_legacy.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_trybot.py ('k') | scripts/slave/recipes/cronet.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes/chromium_trybot_legacy.py
diff --git a/scripts/slave/recipes/chromium_trybot_legacy.py b/scripts/slave/recipes/chromium_trybot_legacy.py
index 39eb715b8c46a1c3a82e0d7a686b49e44f15a6cb..0e7d3231c18b352bc8a4bdd051861f8048368ea1 100644
--- a/scripts/slave/recipes/chromium_trybot_legacy.py
+++ b/scripts/slave/recipes/chromium_trybot_legacy.py
@@ -2,7 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from infra.libs.infra_types import freeze
+import itertools
+
+from recipe_engine.types import freeze
DEPS = [
'bot_update',
@@ -12,7 +14,6 @@ DEPS = [
'gclient',
'gpu',
'isolate',
- 'itertools',
'json',
'path',
'platform',
@@ -395,7 +396,7 @@ def _RunStepsInternal(api):
if bot_config.get('use_isolate'):
api.isolate.clean_isolated_files(api.chromium.output_dir)
- compile_targets.extend(api.itertools.chain(
+ compile_targets.extend(itertools.chain(
*[t.compile_targets(api) for t in tests]))
# Remove duplicate targets.
compile_targets = sorted(set(compile_targets))
@@ -427,7 +428,7 @@ def _RunStepsInternal(api):
def deapply_patch_fn(failing_tests):
api.chromium_tests.deapply_patch(bot_update_step)
- compile_targets = sorted(list(set(api.itertools.chain(
+ compile_targets = sorted(list(set(itertools.chain(
*[t.compile_targets(api) for t in failing_tests]))))
if compile_targets:
api.chromium.compile(
« no previous file with comments | « scripts/slave/recipes/chromium_trybot.py ('k') | scripts/slave/recipes/cronet.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698