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

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

Issue 473313002: Adds handling of 'Found dependency (all)' to filter (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | scripts/slave/recipe_modules/filter/example.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/filter/api.py
diff --git a/scripts/slave/recipe_modules/filter/api.py b/scripts/slave/recipe_modules/filter/api.py
index d7cd484a6e01a7ee1a95c859245b44c9d9371d16..ced6706ea7db5680a88e3113a16b7031875700a7 100644
--- a/scripts/slave/recipe_modules/filter/api.py
+++ b/scripts/slave/recipe_modules/filter/api.py
@@ -96,7 +96,8 @@ class FilterApi(recipe_api.RecipeApi):
self._result = True
step_result.presentation.step_text = 'Error: ' + \
step_result.json.output['error']
- elif step_result.json.output['status'] == 'Found dependency':
+ elif step_result.json.output['status'] == 'Found dependency' or \
+ step_result.json.output['status'] == 'Found dependency (all)':
self._matching_exes = step_result.json.output['targets']
self._result = True
else:
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/filter/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698