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

Unified Diff: skia/skia_library_opts.gyp

Issue 416833005: Update gyp to support SSSE3/SSE4 compile checks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/skia_library_opts.gyp
diff --git a/skia/skia_library_opts.gyp b/skia/skia_library_opts.gyp
index 32c39793a77ab7d0070f84c045b93f4a65462b72..37f5eb44addf19bb387eb61118642ac4367e92a5 100644
--- a/skia/skia_library_opts.gyp
+++ b/skia/skia_library_opts.gyp
@@ -203,6 +203,9 @@
'config/win',
],
},
+ 'defines' : [
+ 'SK_CPU_SSE_LEVEL=31'
+ ],
}],
[ 'target_arch != "arm" and target_arch != "arm64" and \
target_arch != "mipsel"', {
@@ -240,6 +243,11 @@
'GCC_ENABLE_SSE41_EXTENSIONS': 'YES',
},
}],
+ [ 'OS == "win"', {
+ 'defines' : [
+ 'SK_CPU_SSE_LEVEL=41'
+ ],
+ }],
[ 'target_arch == "x64"', {
'sources': [
'../third_party/skia/src/opts/SkBlitRow_opts_SSE4_x64_asm.S',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698