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

Unified Diff: third_party/qcms/qcms.gyp

Issue 187423002: Require SSE2 for all 32-bit Linux builds and remove disable_sse2 option. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 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
« build/common.gypi ('K') | « 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 4cfa67aafbbde84f1f5e17462d28c15ae367867c..ae56d16219b58bf5043e5b64efac0a168109a94a 100644
--- a/third_party/qcms/qcms.gyp
+++ b/third_party/qcms/qcms.gyp
@@ -30,21 +30,8 @@
# 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', {
+ ['target_arch=="ia32" or target_arch=="x64"', {
'defines': [
'SSE2_ENABLE',
],
@@ -55,7 +42,7 @@
}],
# MSVC x64 doesn't support the MMX intrinsics present in the SSE1 code,
# but that's OK since qcms prefers using SSE2 when available.
- [ 'qcms_use_sse==1 and OS=="win" and target_arch=="x64"', {
+ [ 'OS=="win" and target_arch=="x64"', {
'sources!': [
'src/transform-sse1.c',
],
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698