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 a2b2f58c9f266d34148ba67e42630ed32582695d..c66212fa2aa42c28452be1428862c3e5e58194fa 100644 |
--- a/webrtc/modules/video_capture/video_capture.gypi |
+++ b/webrtc/modules/video_capture/video_capture.gypi |
@@ -68,29 +68,6 @@ |
'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', |
@@ -133,16 +110,16 @@ |
}, |
}, |
}], |
- ['OS=="ios"', { |
+ ['OS=="ios" or OS=="mac"', { |
'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', |
+ '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', |
], |
'xcode_settings': { |
'CLANG_ENABLE_OBJC_ARC': 'YES', |
@@ -153,6 +130,14 @@ |
'-framework AVFoundation', |
'-framework CoreMedia', |
'-framework CoreVideo', |
+ ], |
+ }, |
+ }, |
+ }], # ios |
+ ['OS=="ios"', { |
+ 'all_dependent_settings': { |
+ 'xcode_settings': { |
+ 'OTHER_LDFLAGS': [ |
'-framework UIKit', |
], |
}, |