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

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

Issue 957493002: Add analyze steps to iOS try bot builds which use ninja (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 10 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
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 c5e1a59e0c68b2b52a235206b3d330697213f956..d0473ce96b3fe27d9de57fe832c4e814b3f216e9 100644
--- a/scripts/slave/recipe_modules/filter/api.py
+++ b/scripts/slave/recipe_modules/filter/api.py
@@ -73,6 +73,7 @@ class FilterApi(recipe_api.RecipeApi):
def does_patch_require_compile(self, exes=None, compile_targets=None,
additional_name=None,
config_file_name='trybot_analyze_config.json',
+ set_env=True,
**kwargs):
"""Return true if the current patch requires a build (and exes to run).
Return value can be accessed by call to result().
@@ -135,8 +136,9 @@ class FilterApi(recipe_api.RecipeApi):
'targets': [],
'build_targets': []}
- kwargs.setdefault('env', {})
- kwargs['env'].update(self.m.chromium.c.gyp_env.as_jsonish())
+ if set_env:
smut 2015/02/24 19:37:01 Added this because iOS recipes do not have a Chrom
Paweł Hajdan Jr. 2015/02/25 15:23:37 Before the ios recipes we had ios build on main wa
smut 2015/02/25 18:46:49 For one, the GYP_DEFINES are set by the developers
Paweł Hajdan Jr. 2015/02/26 21:42:04 I'm really concerned about this. Using GYP_DEFINE
smut 2015/02/27 00:30:01 Okay, that makes sense. I thought you wanted me to
+ kwargs.setdefault('env', {})
+ kwargs['env'].update(self.m.chromium.c.gyp_env.as_jsonish())
try:
step_result = self.m.python('analyze',
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/ios/__init__.py » ('j') | scripts/slave/recipe_modules/ios/api.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698