Index: webrtc/common_video/common_video.gyp |
diff --git a/webrtc/common_video/common_video.gyp b/webrtc/common_video/common_video.gyp |
index fe14da1d2efe8bfbdf51dfdef0439f9c759e6dd9..b392bd2aa4d40f6b3de3d709ad4061e1936fec29 100644 |
--- a/webrtc/common_video/common_video.gyp |
+++ b/webrtc/common_video/common_video.gyp |
@@ -37,6 +37,19 @@ |
# Need to add a directory normally exported by libyuv.gyp. |
'include_dirs': ['<(libyuv_dir)/include',], |
}], |
+ ['OS=="ios" or OS=="mac"', { |
+ 'sources': [ |
+ 'corevideo_frame_buffer.cc', |
+ 'include/corevideo_frame_buffer.h', |
+ ], |
+ 'link_settings': { |
+ 'xcode_settings': { |
+ 'OTHER_LDFLAGS': [ |
+ '-framework CoreVideo', |
+ ], |
+ }, |
+ }, |
+ }], |
], |
'sources': [ |
'i420_buffer_pool.cc', |