Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index e3dee3515dd32c263ce2075f4dd5bbf74385949c..098931b80563758a894e38d4a081fab0ce47373d 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1172,6 +1172,13 @@ |
'disable_glibc%': 0, |
}], |
+ # Disable SSE2 when building for ARM or MIPS. |
+ ['target_arch=="arm" or target_arch=="mipsel"', { |
+ 'disable_sse2%': 1, |
+ }, { |
+ 'disable_sse2%': 0, |
tony
2012/09/21 19:29:19
Nit: I think you can delete the disable_sse2% vari
petarj
2012/09/21 21:19:42
If I do that, gyp complains with:
"gyp: Undefined
tony
2012/09/21 21:27:55
Ah, you're right. I would delete the lines around
petarj
2012/09/21 22:02:21
I was actually experimenting with this one before,
tony
2012/09/21 22:40:45
I see, target_arch is defined at the same level as
|
+ }], |
+ |
# Set the relative path from this file to the GYP file of the JPEG |
# library used by Chromium. |
['use_system_libjpeg==1 or use_libjpeg_turbo==0', { |