aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/common_conditions.gypi
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-20 19:02:55 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-20 19:02:55 +0000
commit6a106ce251bd531ab6792d72ab50770149b3675e (patch)
tree401fc4ffea8db870ba90886e16558d8ee7a79965 /gyp/common_conditions.gypi
parentfc9eef4b4306145f158678f8fe3f78a3fb04d6c7 (diff)
SSE2 everywhere.
As of M35, Chrome will require SSE2 on Linux (it already did on Windows, and requires SSSE3 on Macs). Android already requires SSE2 for x86 chips. This effectively just forces it on for 32-bit Linux builds; everyone else already had it. BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=14800 R=reed@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/294963002 git-svn-id: http://skia.googlecode.com/svn/trunk@14811 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp/common_conditions.gypi')
-rw-r--r--gyp/common_conditions.gypi8
1 files changed, 8 insertions, 0 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index 506c39f6ad..a745c706da 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -14,6 +14,14 @@
],
}],
+ # As of M35, Chrome requires SSE2 on x86 (and SSSE3 on Mac).
+ [ 'skia_arch_type == "x86"', {
+ 'cflags': [
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ }],
+
[ 'skia_os == "win"',
{
'defines': [