| Index: webrtc/modules/audio_coding/BUILD.gn
|
| diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
|
| index 000dd394dfaba62beb566967547999151de6da04..38080af2f795e6ca20cb864559b2c255efc259c8 100644
|
| --- a/webrtc/modules/audio_coding/BUILD.gn
|
| +++ b/webrtc/modules/audio_coding/BUILD.gn
|
| @@ -23,6 +23,9 @@ source_set("rent_a_codec") {
|
| ]
|
|
|
| defines = []
|
| + if (rtc_include_ilbc) {
|
| + defines += [ "WEBRTC_CODEC_ILBC" ]
|
| + }
|
| if (rtc_include_opus) {
|
| defines += [ "WEBRTC_CODEC_OPUS" ]
|
| }
|
| @@ -35,10 +38,7 @@ source_set("rent_a_codec") {
|
| defines += [ "WEBRTC_CODEC_G722" ]
|
| }
|
| if (!build_with_mozilla && !build_with_chromium) {
|
| - defines += [
|
| - "WEBRTC_CODEC_ILBC",
|
| - "WEBRTC_CODEC_RED",
|
| - ]
|
| + defines += [ "WEBRTC_CODEC_RED" ]
|
| }
|
| }
|
|
|
| @@ -103,6 +103,10 @@ source_set("audio_coding") {
|
| "../../system_wrappers",
|
| ]
|
|
|
| + if (rtc_include_ilbc) {
|
| + defines += [ "WEBRTC_CODEC_ILBC" ]
|
| + deps += [ ":ilbc" ]
|
| + }
|
| if (rtc_include_opus) {
|
| defines += [ "WEBRTC_CODEC_OPUS" ]
|
| deps += [ ":webrtc_opus" ]
|
| @@ -119,14 +123,8 @@ source_set("audio_coding") {
|
| deps += [ ":g722" ]
|
| }
|
| if (!build_with_mozilla && !build_with_chromium) {
|
| - defines += [
|
| - "WEBRTC_CODEC_ILBC",
|
| - "WEBRTC_CODEC_RED",
|
| - ]
|
| - deps += [
|
| - ":ilbc",
|
| - ":red",
|
| - ]
|
| + defines += [ "WEBRTC_CODEC_RED" ]
|
| + deps += [ ":red" ]
|
| }
|
| }
|
|
|
| @@ -850,6 +848,10 @@ source_set("neteq") {
|
|
|
| defines = []
|
|
|
| + if (rtc_include_ilbc) {
|
| + defines += [ "WEBRTC_CODEC_ILBC" ]
|
| + deps += [ ":ilbc" ]
|
| + }
|
| if (rtc_include_opus) {
|
| defines += [ "WEBRTC_CODEC_OPUS" ]
|
| deps += [ ":webrtc_opus" ]
|
| @@ -865,8 +867,4 @@ source_set("neteq") {
|
| defines += [ "WEBRTC_CODEC_G722" ]
|
| deps += [ ":g722" ]
|
| }
|
| - if (!build_with_mozilla && !build_with_chromium) {
|
| - defines += [ "WEBRTC_CODEC_ILBC" ]
|
| - deps += [ ":ilbc" ]
|
| - }
|
| }
|
|
|