Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 122f557fceb8df1e5b0148bee60f17a4ee1ce194..732003c5601c965e5ed77d46f0e0897ff867dc6f 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -4161,6 +4161,7 @@ |
| 'xcode_settings': { |
| 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot |
| 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', |
| + 'ARCHS': ['x86_64'], |
| }, |
| }], |
| ['_toolset=="target"', { |
| @@ -4170,6 +4171,13 @@ |
| # instead set it here for target only. |
| 'IPHONEOS_DEPLOYMENT_TARGET': '<(ios_deployment_target)', |
| }, |
| + 'conditions': [ |
| + ['target_arch=="armv7"', { |
| + 'xcode_settings': { 'ARCHS': [ 'armv7' ]}, |
| + }, { |
| + 'xcode_settings': { 'ARCHS': [ 'i386' ] }, |
|
Nico
2013/07/18 04:23:57
Simulator can't be 64 bit? I thought apple was try
justincohen
2013/07/18 12:05:59
Nope, looks like it's not supported.
On 2013/07/
|
| + }], |
| + ], |
| }], |
| ['_type=="executable"', { |
| 'configurations': { |
| @@ -4612,10 +4620,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 |
| }], |
| ], |
| }, { |
| @@ -4629,6 +4637,9 @@ |
| # Target both iPhone and iPad. |
| 'TARGETED_DEVICE_FAMILY': '1,2', |
| }], |
| + ['OS=="ios" and "<(GENERATOR)"!="ninja"', { |
| + 'ARCHS': '$(ARCHS_UNIVERSAL_IPHONE_OS)', |
| + }], |
| ['target_arch=="x64"', { |
| 'ARCHS': [ |
| 'x86_64' |