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

Unified Diff: libvpx_srcs_x86_intrinsics.gypi

Issue 508433003: vpx: Simplify intrinsic gypi files. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: msvstoo Created 6 years, 4 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 | « libvpx_srcs_x86_64_intrinsics.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libvpx_srcs_x86_intrinsics.gypi
diff --git a/libvpx_srcs_x86_intrinsics.gypi b/libvpx_srcs_x86_intrinsics.gypi
index 25f36923a050bed0d2b32b7dbc7c47948df427fd..9a2c2a112aa12950b519c34d2d3aa9c47697bae1 100644
--- a/libvpx_srcs_x86_intrinsics.gypi
+++ b/libvpx_srcs_x86_intrinsics.gypi
@@ -18,17 +18,8 @@
'<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_mmx.c',
'<(libvpx_source)/vp9/encoder/x86/vp9_variance_mmx.c',
],
- 'conditions': [
- ['os_posix==1 and OS!="mac" and OS!="ios"', {
- 'cflags!': [ '-mfpu=vfpv3-d16' ],
- 'cflags': [ '-mmmx', ],
- }],
- ['OS=="mac" or OS=="ios"', {
- 'xcode_settings': {
- 'OTHER_CFLAGS': [ '-mmmx', ],
- },
- }],
- ],
+ 'cflags': [ '-mmmx', ],
+ 'xcode_settings': { 'OTHER_CFLAGS': [ '-mmmx' ] },
},
{
'target_name': 'libvpx_intrinsics_sse2',
@@ -50,17 +41,8 @@
'<(libvpx_source)/vp9/encoder/x86/vp9_dct_sse2.c',
'<(libvpx_source)/vp9/encoder/x86/vp9_variance_sse2.c',
],
- 'conditions': [
- ['os_posix==1 and OS!="mac" and OS!="ios"', {
- 'cflags!': [ '-mfpu=vfpv3-d16' ],
- 'cflags': [ '-msse2', ],
- }],
- ['OS=="mac" or OS=="ios"', {
- 'xcode_settings': {
- 'OTHER_CFLAGS': [ '-msse2', ],
- },
- }],
- ],
+ 'cflags': [ '-msse2', ],
+ 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse2' ] },
},
{
'target_name': 'libvpx_intrinsics_ssse3',
@@ -75,17 +57,8 @@
'<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_ssse3.c',
'<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c',
],
- 'conditions': [
- ['os_posix==1 and OS!="mac" and OS!="ios"', {
- 'cflags!': [ '-mfpu=vfpv3-d16' ],
- 'cflags': [ '-mssse3', ],
- }],
- ['OS=="mac" or OS=="ios"', {
- 'xcode_settings': {
- 'OTHER_CFLAGS': [ '-mssse3', ],
- },
- }],
- ],
+ 'cflags': [ '-mssse3', ],
+ 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] },
},
{
'target_name': 'libvpx_intrinsics_sse4_1',
@@ -97,17 +70,8 @@
'sources': [
'<(libvpx_source)/vp8/encoder/x86/quantize_sse4.c',
],
- 'conditions': [
- ['os_posix==1 and OS!="mac" and OS!="ios"', {
- 'cflags!': [ '-mfpu=vfpv3-d16' ],
- 'cflags': [ '-msse4.1', ],
- }],
- ['OS=="mac" or OS=="ios"', {
- 'xcode_settings': {
- 'OTHER_CFLAGS': [ '-msse4.1', ],
- },
- }],
- ],
+ 'cflags': [ '-msse4.1', ],
+ 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] },
},
],
}
« no previous file with comments | « libvpx_srcs_x86_64_intrinsics.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698