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

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

Issue 1145733003: ios: Allow bot configs to set extra env variables (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 7 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/recipes/ios/unified_builder_tester.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/ios/api.py
diff --git a/scripts/slave/recipe_modules/ios/api.py b/scripts/slave/recipe_modules/ios/api.py
index 671f0bb6c85acb39ac946166a3f165ec4946116d..2568900bdf70cc70382726e50acfdc28590c2678 100644
--- a/scripts/slave/recipe_modules/ios/api.py
+++ b/scripts/slave/recipe_modules/ios/api.py
@@ -224,6 +224,9 @@ class iOSApi(recipe_api.RecipeApi):
'LANDMINES_VERBOSE': '1',
}
+ # Add extra env variables.
+ env.update(self.__config.get('env', {}))
smut 2015/05/19 19:52:08 In read_build_config, please add self.__config['en
hans 2015/05/19 20:11:45 Done.
+
if self.compiler == 'xcodebuild':
env['GYP_GENERATORS'] = 'xcode'
env['GYP_GENERATOR_FLAGS'] = 'xcode_project_version=3.2'
« no previous file with comments | « no previous file | scripts/slave/recipes/ios/unified_builder_tester.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698