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

Unified Diff: webrtc/modules/audio_coding/audio_coding.gypi

Issue 1578953003: Add a gyp/gn variable for whether to use iLBC or not (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: New and improved version Created 4 years, 11 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 | « webrtc/modules/audio_coding/BUILD.gn ('k') | webrtc/modules/audio_coding/neteq/neteq.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/audio_coding.gypi
diff --git a/webrtc/modules/audio_coding/audio_coding.gypi b/webrtc/modules/audio_coding/audio_coding.gypi
index abdb1915c33ac4699b3b2a734fd2ba800f1b7f06..d64fbeee292abd00b540596cb9e84ab6d70ad548 100644
--- a/webrtc/modules/audio_coding/audio_coding.gypi
+++ b/webrtc/modules/audio_coding/audio_coding.gypi
@@ -32,6 +32,10 @@
],
'audio_coding_defines': [],
'conditions': [
+ ['include_ilbc==1', {
+ 'audio_coding_dependencies': ['ilbc',],
+ 'audio_coding_defines': ['WEBRTC_CODEC_ILBC',],
+ }],
['include_opus==1', {
'audio_coding_dependencies': ['webrtc_opus',],
'audio_coding_defines': ['WEBRTC_CODEC_OPUS',],
@@ -50,8 +54,8 @@
'audio_coding_defines': ['WEBRTC_CODEC_G722',],
}],
['build_with_mozilla==0 and build_with_chromium==0', {
- 'audio_coding_dependencies': ['ilbc', 'red',],
- 'audio_coding_defines': ['WEBRTC_CODEC_ILBC', 'WEBRTC_CODEC_RED',],
+ 'audio_coding_dependencies': ['red',],
+ 'audio_coding_defines': ['WEBRTC_CODEC_RED',],
}],
],
},
« no previous file with comments | « webrtc/modules/audio_coding/BUILD.gn ('k') | webrtc/modules/audio_coding/neteq/neteq.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698