diff --git a/ortc/BUILD.gn b/ortc/BUILD.gn index fa107c282c..4c1d51bcb5 100644 --- a/ortc/BUILD.gn +++ b/ortc/BUILD.gn @@ -34,6 +34,7 @@ rtc_static_library("ortc") { # libjingle_peerconnection. deps = [ "../api:optional", + "../api:ortc_api", "../call:call_interfaces", "../call:rtp_sender", "../logging:rtc_event_log_api", @@ -47,10 +48,6 @@ rtc_static_library("ortc") { "../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 @@ if (rtc_include_tests) { 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",