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

Unified Diff: build/common.gypi

Issue 15075006: Basic device support for ninja iOS builds. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove ARCHS for xcode builds Created 7 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 3cbeee241c527605ed3d619d9735333f4dca6862..e15dd8c49ff4b1a85f1a7ccc179dec2a6a5fe4f2 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -4161,6 +4161,11 @@
'SDKROOT': 'macosx<(mac_sdk)', # -isysroot
'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)',
},
+ 'conditions': [
+ ['"<(GENERATOR)"!="xcode"', {
+ 'xcode_settings': { 'ARCHS': [ 'x86_64' ] },
+ }],
+ ],
}],
['_toolset=="target"', {
'xcode_settings': {
@@ -4169,6 +4174,13 @@
# instead set it here for target only.
'IPHONEOS_DEPLOYMENT_TARGET': '<(ios_deployment_target)',
},
+ 'conditions': [
+ ['target_arch=="armv7" and "<(GENERATOR)"!="xcode"', {
+ 'xcode_settings': { 'ARCHS': [ 'armv7' ]},
+ }, {
+ 'xcode_settings': { 'ARCHS': [ 'i386' ] },
+ }],
+ ],
}],
['_type=="executable"', {
'configurations': {
@@ -4611,10 +4623,10 @@
['ios_sdk_path==""', {
'conditions': [
# TODO(justincohen): Ninja only supports simulator for now.
- ['"<(GENERATOR)"=="ninja"', {
- 'SDKROOT': 'iphonesimulator<(ios_sdk)', # -isysroot
- }, {
+ ['"<(GENERATOR)"=="xcode" or ("<(GENERATOR)"=="ninja" and target_arch=="armv7")', {
'SDKROOT': 'iphoneos<(ios_sdk)', # -isysroot
+ }, {
+ 'SDKROOT': 'iphonesimulator<(ios_sdk)', # -isysroot
}],
],
}, {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698