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

Unified Diff: build/common.gypi

Issue 10972012: Turn off SSE2 when building for ARM or MIPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 a6ba88088eb46ac456e34f5f21dd31980aad32b4..a993fb0cc6e79a8782b0cf8953b9027b51715384 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -619,7 +619,6 @@
'arm_neon%': '<(arm_neon)',
'sysroot%': '<(sysroot)',
'system_libdir%': '<(system_libdir)',
- 'disable_sse2%': '<(disable_sse2)',
'component%': '<(component)',
'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
'use_third_party_translations%': '<(use_third_party_translations)',
@@ -1174,6 +1173,13 @@
'disable_glibc%': 0,
}],
+ # Disable SSE2 when building for ARM or MIPS.
+ ['target_arch=="arm" or target_arch=="mipsel"', {
+ 'disable_sse2%': 1,
+ }, {
+ 'disable_sse2%': '<(disable_sse2)',
+ }],
+
# 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