diff options
author | djsollen@google.com <djsollen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-24 20:30:58 +0000 |
---|---|---|
committer | djsollen@google.com <djsollen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-24 20:30:58 +0000 |
commit | 35a9933440603ee0f7c62534a92ed0ab25f9eb4b (patch) | |
tree | b9d1fe01c75913ae6aae00554df707b7e9f3c645 /skia | |
parent | e58fde9381e5d345ebec2bb325c84baeedd45edf (diff) | |
download | chromium_src-35a9933440603ee0f7c62534a92ed0ab25f9eb4b.zip chromium_src-35a9933440603ee0f7c62534a92ed0ab25f9eb4b.tar.gz chromium_src-35a9933440603ee0f7c62534a92ed0ab25f9eb4b.tar.bz2 |
Update gyp to support SSSE3/SSE4 compile checks.
Additional compile time checks are being added to Skia and since
MSVS compilers don't support querying the compiler for support we
must manually set the values. This mirrors what has already been
done in the main Skia repo.
Review URL: https://codereview.chromium.org/416833005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285358 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/skia_library_opts.gyp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/skia/skia_library_opts.gyp b/skia/skia_library_opts.gyp index 32c3979..37f5eb4 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', |