From d048aa0e64cfb4a1633d379736405c060b881554 Mon Sep 17 00:00:00 2001 From: Henrik Lundin Date: Thu, 3 Dec 2015 17:47:21 +0100 Subject: [PATCH] Make the audio codecs' GN targets self-sufficient Also running "gn format" on the file. R=kwiberg@webrtc.org Review URL: https://codereview.webrtc.org/1494993002 . Cr-Commit-Position: refs/heads/master@{#10886} --- webrtc/modules/audio_coding/BUILD.gn | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn index 382ae51576..000dd394df 100644 --- a/webrtc/modules/audio_coding/BUILD.gn +++ b/webrtc/modules/audio_coding/BUILD.gn @@ -179,8 +179,8 @@ source_set("cng") { ] deps = [ - "../../common_audio", ":audio_encoder_interface", + "../../common_audio", ] } @@ -202,8 +202,8 @@ source_set("red") { ] deps = [ - "../../common_audio", ":audio_encoder_interface", + "../../common_audio", ] } @@ -234,6 +234,7 @@ source_set("g711") { ] deps = [ + ":audio_decoder_interface", ":audio_encoder_interface", ] } @@ -266,6 +267,7 @@ source_set("g722") { ] deps = [ + ":audio_decoder_interface", ":audio_encoder_interface", ] } @@ -432,8 +434,9 @@ source_set("ilbc") { ] deps = [ - "../../common_audio", + ":audio_decoder_interface", ":audio_encoder_interface", + "../../common_audio", ] } @@ -602,6 +605,7 @@ source_set("isac_fix") { ] deps = [ + ":audio_decoder_interface", ":audio_encoder_interface", ":isac_common", "../../common_audio", @@ -702,6 +706,7 @@ source_set("pcm16b") { ] deps = [ + ":audio_decoder_interface", ":audio_encoder_interface", ":g711", ] @@ -730,7 +735,9 @@ source_set("webrtc_opus") { ] deps = [ + ":audio_decoder_interface", ":audio_encoder_interface", + "../../base:rtc_base_approved", ] if (rtc_build_opus) {