Add proper dependencies for webrtc/modules/audio_coding/codecs
The audio_decoder_interface and audio_encoder_interface
targets are depending on rtc_base_approved headers but don't
declare such dependencies.
NOTRY=True
Review URL: https://codereview.webrtc.org/1916953002
Cr-Commit-Position: refs/heads/master@{#12500}
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
index 7a07247..99fa140 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -121,6 +121,7 @@
public_configs = [ "../..:common_inherited_config" ]
deps = [
"../..:webrtc_common",
+ "../../base:rtc_base_approved",
]
}
@@ -133,6 +134,7 @@
public_configs = [ "../..:common_inherited_config" ]
deps = [
"../..:webrtc_common",
+ "../../base:rtc_base_approved",
]
}
diff --git a/webrtc/modules/audio_coding/codecs/interfaces.gypi b/webrtc/modules/audio_coding/codecs/interfaces.gypi
index d4f6a4a..1aba106 100644
--- a/webrtc/modules/audio_coding/codecs/interfaces.gypi
+++ b/webrtc/modules/audio_coding/codecs/interfaces.gypi
@@ -15,6 +15,10 @@
'audio_decoder.cc',
'audio_decoder.h',
],
+ 'dependencies': [
+ '<(webrtc_root)/base/base.gyp:rtc_base_approved',
+ '<(webrtc_root)/common.gyp:webrtc_common',
+ ],
},
{
@@ -24,6 +28,10 @@
'audio_encoder.cc',
'audio_encoder.h',
],
+ 'dependencies': [
+ '<(webrtc_root)/base/base.gyp:rtc_base_approved',
+ '<(webrtc_root)/common.gyp:webrtc_common',
+ ],
},
],
}