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', |