Index: webrtc/common_video/BUILD.gn |
diff --git a/webrtc/common_video/BUILD.gn b/webrtc/common_video/BUILD.gn |
index 4ef968d60f86c059011f3abb045c80ca176144d9..ed877bd344a4f30c03e875275f97dfb18e4593b6 100644 |
--- a/webrtc/common_video/BUILD.gn |
+++ b/webrtc/common_video/BUILD.gn |
@@ -60,4 +60,12 @@ source_set("common_video") { |
# Need to add a directory normally exported by libyuv. |
include_dirs += [ "$rtc_libyuv_dir/include" ] |
} |
+ |
+ if (is_ios || is_mac) { |
+ sources += [ |
+ "corevideo_frame_buffer.cc", |
+ "include/corevideo_frame_buffer.h", |
+ ] |
+ libs = [ "CoreVideo.framework" ] |
+ } |
} |