diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn index 9d893e0c01..af49219e46 100644 --- a/webrtc/api/BUILD.gn +++ b/webrtc/api/BUILD.gn @@ -88,7 +88,7 @@ rtc_static_library("libjingle_peerconnection_api") { # TODO(ossu): Remove once downstream projects have updated. rtc_source_set("libjingle_peerconnection") { - deps = [ + public_deps = [ "../pc:libjingle_peerconnection", ] } diff --git a/webrtc/pc/BUILD.gn b/webrtc/pc/BUILD.gn index 5c4d87c677..d447db743a 100644 --- a/webrtc/pc/BUILD.gn +++ b/webrtc/pc/BUILD.gn @@ -146,13 +146,16 @@ rtc_static_library("libjingle_peerconnection") { deps = [ ":rtc_pc", "../api:call_api", - "../api:libjingle_peerconnection_api", "../api:rtc_stats_api", "../call", "../media", "../stats", ] + public_deps = [ + "../api:libjingle_peerconnection_api", + ] + if (rtc_use_quic) { sources += [ "quicdatachannel.cc",