X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Fopus%2Fopus.gyp;h=43b85481287d11740042b7608cba4d77d0d67fe0;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=87ff224ab60502cccea91b4c779523746cdd63ed;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/opus/opus.gyp b/src/third_party/opus/opus.gyp index 87ff224..43b8548 100644 --- a/src/third_party/opus/opus.gyp +++ b/src/third_party/opus/opus.gyp @@ -5,14 +5,17 @@ { 'variables': { 'conditions': [ - ['((OS=="android" or chromeos==1) and target_arch=="arm") or (OS=="ios" and target_arch=="armv7")', { + ['target_arch=="arm" or target_arch=="armv7" or target_arch=="arm64"', { 'use_opus_fixed_point%': 1, - 'use_opus_arm_optimization%': 1, }, { 'use_opus_fixed_point%': 0, + }], + ['target_arch=="arm" or target_arch=="armv7"', { + 'use_opus_arm_optimization%': 1, + }, { 'use_opus_arm_optimization%': 0, }], - ['(OS=="android" or chromeos==1) and target_arch=="arm"', { + ['target_arch=="arm"', { 'use_opus_rtcd%': 1, }, { 'use_opus_rtcd%': 0, @@ -38,6 +41,7 @@ ], }, 'includes': ['opus_srcs.gypi', ], + 'sources': ['<@(opus_common_sources)'], 'conditions': [ ['OS!="win"', { 'defines': [ @@ -55,7 +59,7 @@ 4334, # Disable 32-bit shift warning in src/opus_encoder.c . ], }], - [ 'os_posix==1 and OS!="android"', { + ['os_posix==1 and OS!="android"', { # Suppress a warning given by opus_decoder.c that tells us # optimizations are turned off. 'cflags': [ @@ -75,9 +79,7 @@ 'include_dirs': [ 'src/silk/float', ], - 'sources/': [ - ['exclude', '/fixed/[^/]*_FIX.(h|c)$'], - ], + 'sources': ['<@(opus_float_sources)'], }, { 'defines': [ 'FIXED_POINT', @@ -85,9 +87,7 @@ 'include_dirs': [ 'src/silk/fixed', ], - 'sources/': [ - ['exclude', '/float/[^/]*_FLP.(h|c)$'], - ], + 'sources': ['<@(opus_fixed_sources)'], 'conditions': [ ['use_opus_arm_optimization==1', { 'defines': [