Chromium Code Reviews

Unified Diff: webrtc/common_video/BUILD.gn

Issue 1853503003: Add CoreVideoFrameBuffer. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Move to own file. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/common_video/BUILD.gn
diff --git a/webrtc/common_video/BUILD.gn b/webrtc/common_video/BUILD.gn
index 4ef968d60f86c059011f3abb045c80ca176144d9..405e1f0aba22dae3f357f55067346da0725c55d2 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 += [
+ "core_video_frame_buffer.cc",
+ "include/core_video_frame_buffer.h",
+ ]
+ libs = [ "CoreVideo.framework" ]
+ }
}

Powered by Google App Engine