Stop using public_deps in ortc.
Bug: webrtc:8603
Change-Id: I32fa27ad53302ec04ac61b55228e5b74f16e7e56
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/29000
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21041}diff --git a/ortc/BUILD.gn b/ortc/BUILD.gn
index fa107c28..4c1d51b 100644
--- a/ortc/BUILD.gn
+++ b/ortc/BUILD.gn
@@ -34,6 +34,7 @@
# libjingle_peerconnection.
deps = [
"../api:optional",
+ "../api:ortc_api",
"../call:call_interfaces",
"../call:rtp_sender",
"../logging:rtc_event_log_api",
@@ -47,10 +48,6 @@
"../rtc_base:rtc_base_approved",
]
- public_deps = [
- "../api:ortc_api",
- ]
-
if (!build_with_chromium && is_clang) {
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
@@ -77,6 +74,7 @@
deps = [
":ortc",
"../api:libjingle_peerconnection_api",
+ "../api:ortc_api",
"../api/audio_codecs:builtin_audio_decoder_factory",
"../api/audio_codecs:builtin_audio_encoder_factory",
"../media:rtc_media_tests_utils",