Index: third_party/opus/opus.gyp |
diff --git a/third_party/opus/opus.gyp b/third_party/opus/opus.gyp |
index 2668fea0f82217921da48690ce878658cb1f00e7..b64f9903ca006a15117cd437afbe14adc69f58e0 100644 |
--- a/third_party/opus/opus.gyp |
+++ b/third_party/opus/opus.gyp |
@@ -129,6 +129,37 @@ |
], |
}, # target opus |
{ |
+ 'target_name': 'opus_compare', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'opus' |
+ ], |
+ 'conditions': [ |
+ ['OS == "win"', { |
+ 'defines': [ |
+ 'inline=__inline', |
+ ], |
+ }], |
+ ['OS=="android"', { |
+ 'link_settings': { |
+ 'libraries': [ |
+ '-llog', |
+ ], |
+ }, |
+ }], |
+ ['clang==1', { |
+ 'cflags': [ '-Wno-absolute-value' ], |
+ }] |
+ ], |
+ 'sources': [ |
+ 'src/src/opus_compare.c', |
+ ], |
+ 'include_dirs': [ |
+ 'src/celt', |
+ 'src/silk', |
+ ], |
+ }, # target opus_compare |
+ { |
'target_name': 'opus_demo', |
'type': 'executable', |
'dependencies': [ |