Index: chrome/renderer/BUILD.gn |
diff --git a/chrome/renderer/BUILD.gn b/chrome/renderer/BUILD.gn |
index 71410ef9296dc85c751ccd211b6f772a8c8237f2..2ffb86986218796cf00840627d4d50f90ab57ee6 100644 |
--- a/chrome/renderer/BUILD.gn |
+++ b/chrome/renderer/BUILD.gn |
@@ -119,6 +119,12 @@ static_library("renderer") { |
"//media/cast:sender", |
"//media/cast/logging/proto", |
] |
+ if (!enable_webrtc) { |
+ sources -= [ |
+ "media/cast_rtp_stream.cc", |
+ "media/cast_rtp_stream.h", |
+ ] |
+ } |
} |
if (enable_webrtc) { |
sources += |