DescriptionFix iOS device builds broken by r232181
r232181 changed build/common.gypi to set ARCHS=i386 explicitly for
target_arch==ia32. However, we don't want to set ARCHS=i386 for iOS device
builds (because iOS devices are a different architecture entirely). This CL
arranges to leaved ARCHS untouched for iOS builds, so that Xcode will use its
defaults; this was the behavior before r232181.
The non-intuitive aspect is that target_arch==ia32 for OS=="ios", because
host_arch is set to 'ia32' at line 88 of build/common.gypi for 'OS=="win" or
OS=="mac" or OS=="ios"' and target_arch is set from host_arch at line 117.
With build/common.gypi fixed, we also need to fix
discardable_memory_provider_unittest.cc for iOS device builds, now that it is
being compiled with the correct architecture.
BUG=314712
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233050
Patch Set 1 #
Total comments: 2
Patch Set 2 : address review feedback #
Total comments: 2
Patch Set 3 : address review feedback #Patch Set 4 : sync #
Total comments: 4
Patch Set 5 : address mark's feedback about indentation #
Messages
Total messages: 16 (0 generated)
|