Index: webrtc/media/BUILD.gn |
diff --git a/webrtc/media/BUILD.gn b/webrtc/media/BUILD.gn |
index f7d30780286fb7188ebf1df0806a630aba53e59c..0014e2d6157d4ad4b41dd860ec05439e98cc8d69 100644 |
--- a/webrtc/media/BUILD.gn |
+++ b/webrtc/media/BUILD.gn |
@@ -191,6 +191,17 @@ |
"strmiids.lib", |
] |
} |
+ if (is_mac && current_cpu == "x86") { |
+ sources += [ |
+ "devices/carbonvideorenderer.cc", |
+ "devices/carbonvideorenderer.h", |
+ ] |
+ libs += [ "Carbon.framework" ] |
+ } |
+ if (is_ios || (is_mac && current_cpu != "x86")) { |
+ defines += [ "CARBON_DEPRECATED=YES" ] |
+ } |
+ |
deps += [ |
"..:webrtc_common", |
"../base:rtc_base_approved", |