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: third_party/qcms/qcms.gyp

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 | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/qcms/qcms.gyp
diff --git a/third_party/qcms/qcms.gyp b/third_party/qcms/qcms.gyp
index aeee4e6cba8fd118730d43f8c684afbbe46b0da6..6f6543c3f3e2f5b087daf61d6190973f59486d6d 100644
--- a/third_party/qcms/qcms.gyp
+++ b/third_party/qcms/qcms.gyp
@@ -3,19 +3,6 @@
# found in the LICENSE file.
{
- 'variables': {
- 'conditions': [
- # For ARM, turn off SSE2.
- # For x86, turn off SSE2 for non-CrOS *nix Chrome builds.
- ['disable_sse2==1 or target_arch=="arm" or \
- (branding=="Chrome" and target_arch=="ia32" and \
- os_posix==1 and OS!="mac" and chromeos==0)', {
- 'qcms_use_sse': 0,
- }, {
- 'qcms_use_sse': 1,
- }],
- ],
- },
'targets': [
{
'target_name': 'qcms',
@@ -42,6 +29,20 @@
# Warning (sign-conversion) fixed upstream by large refactoring. Can be
# removed on next roll.
'msvs_disabled_warnings': [ 4018 ],
+
+ 'variables': {
+ 'conditions': [
+ # For x86, turn off SSE2 for non-CrOS *nix Chrome builds.
+ ['disable_sse2==1 or \
+ (branding=="Chrome" and target_arch=="ia32" and \
+ os_posix==1 and OS!="mac" and chromeos==0)', {
+ 'qcms_use_sse': 0,
+ }, {
+ 'qcms_use_sse': 1,
+ }],
+ ],
+ },
+
'conditions': [
[ 'qcms_use_sse==1', {
'defines': [
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698