Fix some dependencies for peerconnection_and_implicit_call_api.
Some targets depend on "api/peerconnectioninterface.h" which is part of
//api:peerconnection_and_implicit_call_api.
Furthermore, peerconnection_and_implicit_call_api depends among other
things of headers in //media:rtc_media_base, so we should add it as a
dependency as well.
Bug: webrtc:7504
Change-Id: Ifab69253d52532876509b3507917b1c93d99a2ac
Reviewed-on: https://webrtc-review.googlesource.com/24660
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20815}
diff --git a/api/BUILD.gn b/api/BUILD.gn
index 0289fe8..03460f6 100644
--- a/api/BUILD.gn
+++ b/api/BUILD.gn
@@ -349,6 +349,8 @@
]
deps = [
":libjingle_peerconnection_api",
+ "../api:peerconnection_and_implicit_call_api",
+ "../media:rtc_media_base",
"../rtc_base:rtc_base_approved",
]
if (!build_with_chromium && is_clang) {
diff --git a/pc/BUILD.gn b/pc/BUILD.gn
index 1b40575..d4ee2a5 100644
--- a/pc/BUILD.gn
+++ b/pc/BUILD.gn
@@ -207,12 +207,14 @@
deps = [
"../api:audio_mixer_api",
"../api:libjingle_peerconnection_api",
+ "../api:peerconnection_and_implicit_call_api",
"../api/audio_codecs:audio_codecs_api",
"../api/video_codecs:video_codecs_api",
"../call",
"../call:call_interfaces",
"../logging:rtc_event_log_api",
"../media:rtc_audio_video",
+ "../media:rtc_media_base",
"../modules/audio_device:audio_device",
"../modules/audio_processing:audio_processing",
"../rtc_base:rtc_base",
@@ -331,10 +333,12 @@
":rtc_pc_base",
"..:webrtc_common",
"../api:libjingle_peerconnection_test_api",
+ "../api:peerconnection_and_implicit_call_api",
"../api:rtc_stats_api",
"../call:call_interfaces",
"../logging:rtc_event_log_api",
"../media:rtc_media",
+ "../media:rtc_media_base",
"../media:rtc_media_tests_utils",
"../modules/audio_device:audio_device",
"../p2p:p2p_test_utils",