Index: webrtc/modules/video_capture/video_capture.gypi |
diff --git a/webrtc/modules/video_capture/video_capture.gypi b/webrtc/modules/video_capture/video_capture.gypi |
index c66212fa2aa42c28452be1428862c3e5e58194fa..a2b2f58c9f266d34148ba67e42630ed32582695d 100644 |
--- a/webrtc/modules/video_capture/video_capture.gypi |
+++ b/webrtc/modules/video_capture/video_capture.gypi |
@@ -68,6 +68,29 @@ |
'linux/video_capture_linux.h', |
], |
}], # linux |
+ ['OS=="mac"', { |
+ 'sources': [ |
+ 'mac/qtkit/video_capture_qtkit.h', |
+ 'mac/qtkit/video_capture_qtkit.mm', |
+ 'mac/qtkit/video_capture_qtkit_info.h', |
+ 'mac/qtkit/video_capture_qtkit_info.mm', |
+ 'mac/qtkit/video_capture_qtkit_info_objc.h', |
+ 'mac/qtkit/video_capture_qtkit_info_objc.mm', |
+ 'mac/qtkit/video_capture_qtkit_objc.h', |
+ 'mac/qtkit/video_capture_qtkit_objc.mm', |
+ 'mac/qtkit/video_capture_qtkit_utility.h', |
+ 'mac/video_capture_mac.mm', |
+ ], |
+ 'link_settings': { |
+ 'xcode_settings': { |
+ 'OTHER_LDFLAGS': [ |
+ '-framework Cocoa', |
+ '-framework CoreVideo', |
+ '-framework QTKit', |
+ ], |
+ }, |
+ }, |
+ }], # mac |
['OS=="win"', { |
'dependencies': [ |
'<(DEPTH)/third_party/winsdk_samples/winsdk_samples.gyp:directshow_baseclasses', |
@@ -110,16 +133,16 @@ |
}, |
}, |
}], |
- ['OS=="ios" or OS=="mac"', { |
- 'sources': [ |
- 'apple/device_info.h', |
- 'apple/device_info.mm', |
- 'apple/device_info_objc.h', |
- 'apple/device_info_objc.mm', |
- 'apple/rtc_video_capture_objc.h', |
- 'apple/rtc_video_capture_objc.mm', |
- 'apple/video_capture.h', |
- 'apple/video_capture.mm', |
+ ['OS=="ios"', { |
+ 'sources': [ |
+ 'ios/device_info_ios.h', |
+ 'ios/device_info_ios.mm', |
+ 'ios/device_info_ios_objc.h', |
+ 'ios/device_info_ios_objc.mm', |
+ 'ios/rtc_video_capture_ios_objc.h', |
+ 'ios/rtc_video_capture_ios_objc.mm', |
+ 'ios/video_capture_ios.h', |
+ 'ios/video_capture_ios.mm', |
], |
'xcode_settings': { |
'CLANG_ENABLE_OBJC_ARC': 'YES', |
@@ -130,14 +153,6 @@ |
'-framework AVFoundation', |
'-framework CoreMedia', |
'-framework CoreVideo', |
- ], |
- }, |
- }, |
- }], # ios |
- ['OS=="ios"', { |
- 'all_dependent_settings': { |
- 'xcode_settings': { |
- 'OTHER_LDFLAGS': [ |
'-framework UIKit', |
], |
}, |