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

Unified Diff: build/common.gypi

Issue 10947012: Turn off SSE2 when building for ARM or MIPS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Force disable_sse2 for ARM or MIPS. Created 8 years, 3 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 | third_party/qcms/qcms.gyp » ('j') | 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 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', {
« no previous file with comments | « no previous file | third_party/qcms/qcms.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698