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

Unified Diff: ios/build/tools/setup-gn.py

Issue 2452593004: Correct iOS GN hermetic support. (Closed)
Patch Set: Created 4 years, 2 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: ios/build/tools/setup-gn.py
diff --git a/ios/build/tools/setup-gn.py b/ios/build/tools/setup-gn.py
index 1453fa546bc4aa72e862bdd9d5ad3ebaa4865ba9..b4a53006354bb71140fe89383d5170def9f6de44 100755
--- a/ios/build/tools/setup-gn.py
+++ b/ios/build/tools/setup-gn.py
@@ -96,6 +96,8 @@ class GnGenerator(object):
args.append(('is_official_build', self._config == 'Official'))
args.append(('is_chrome_branded', 'is_official_build'))
args.append(('use_xcode_clang', 'is_official_build'))
+ if os.environ['FORCE_MAC_TOOLCHAIN']:
+ args.append(('use_system_xcode', False))
justincohen 2016/10/26 00:36:48 I know we want to get rid of env var, but for now
sdefresne 2016/10/26 15:33:07 The bots don't use the output of this script and d
justincohen 2016/10/27 13:36:39 Per offline discussion with sdefresne@, I will lea
cpu_values = self.TARGET_CPU_VALUES[self._target]
build_arch = self._settings.getstring('build', 'arch')
« build/toolchain/mac/linker_driver.py ('K') | « build/toolchain/mac/linker_driver.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698