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

Unified Diff: third_party/opus/opus.gyp

Issue 790173003: Add a build target for opus_compare. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« third_party/opus/BUILD.gn ('K') | « third_party/opus/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': [
« third_party/opus/BUILD.gn ('K') | « third_party/opus/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698