Descriptionandroid envsetup: Stop honoring --target-arch parameter.
Most people don't use this parameter and get arm binaries. This is
still the default, so this change shouldn't affect most people.
Folks should instead pass -Dtarget_arch to gyp. (Or, soon, envsetup will stop
clobbering GYP_DEFINES, then you can just add target_arch to your GYP_DEFINES.)
Note that in gyp land, 'mips' is called 'mipsel' and 'x86' is called 'ia32'.
'arm' stays 'arm'.
So for example, instead of running
. build/android/envsetup.sh --target-arch=mips
android_gyp
you'd run
. build/android/envsetup.sh
android_gyp -Dtarget_arch=mipsel
I updated the bots I was able to find to pass the -D flag in addition to
--target-arch. After this CL here is in, I'll update the bots to stop passing
--target-arch, and then I'll make --target-arch a hard error in this script for
a while, to make sure nobody still uses it.
BUG=330631, 34476
R=torne@chromium.org
TBR=yfriedman
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252034
Patch Set 1 #Patch Set 2 : gn #Patch Set 3 : gn2 #Patch Set 4 : debuggn #Patch Set 5 : wat #Patch Set 6 : ingyp #Patch Set 7 : sonofa #Patch Set 8 : ... #Patch Set 9 : ...... #Patch Set 10 : . #
Total comments: 4
Messages
Total messages: 15 (0 generated)
|