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

Unified Diff: scripts/slave/recipe_modules/chromium_tests/api.py

Issue 1455563003: chromium_tests: do not add crash_service to compile targets if they already contain "all" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 1 month 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 | « no previous file | scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTWin.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/chromium_tests/api.py
diff --git a/scripts/slave/recipe_modules/chromium_tests/api.py b/scripts/slave/recipe_modules/chromium_tests/api.py
index e0d38195ff26a9e49c11ded4a97fa4926ea2eacb..9835a9abbc128f02c6dcab72b8c24c02cee18038 100644
--- a/scripts/slave/recipe_modules/chromium_tests/api.py
+++ b/scripts/slave/recipe_modules/chromium_tests/api.py
@@ -326,7 +326,9 @@ class ChromiumTestsApi(recipe_api.RecipeApi):
compile_targets.update(t.compile_targets(self.m))
# Only add crash_service when we have explicit compile targets.
- if self.m.platform.is_win and compile_targets:
+ if (self.m.platform.is_win and
+ compile_targets and
+ 'all' not in compile_targets):
compile_targets.add('crash_service')
# Lastly, add any targets the checkout-side test spec told us to use.
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium.expected/full_chromium_fyi_ClangToTWin.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698