Index: webrtc/pc/BUILD.gn |
diff --git a/webrtc/pc/BUILD.gn b/webrtc/pc/BUILD.gn |
index 8e78cafdab36248518f02be2de0ebf409fc52103..1a48fbc00e7d11424091affeb2c79f8a6e0d087b 100644 |
--- a/webrtc/pc/BUILD.gn |
+++ b/webrtc/pc/BUILD.gn |
@@ -147,11 +147,14 @@ rtc_static_library("libjingle_peerconnection") { |
"../api:call_api", |
"../api:rtc_stats_api", |
"../api/video_codecs:video_codecs_api", |
- "../call", |
"../media", |
"../stats", |
] |
+ if (rtc_enable_media) { |
+ deps += [ "../call" ] |
+ } |
+ |
public_deps = [ |
"../api:libjingle_peerconnection_api", |
] |