OLD | NEW |
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
11 'conditions': [ | 11 'conditions': [ |
12 ['OS=="ios"', { | 12 ['OS=="ios"', { |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'rtc_api_objc', | 15 'target_name': 'rtc_api_objc', |
16 'type': 'static_library', | 16 'type': 'static_library', |
17 'dependencies': [ | 17 'dependencies': [ |
18 '<(webrtc_root)/base/base.gyp:rtc_base_objc', | 18 '<(webrtc_root)/base/base.gyp:rtc_base_objc', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
| 21 'objc/RTCAVFoundationVideoSource+Private.h', |
| 22 'objc/RTCAVFoundationVideoSource.h', |
| 23 'objc/RTCAVFoundationVideoSource.mm', |
21 'objc/RTCIceServer+Private.h', | 24 'objc/RTCIceServer+Private.h', |
22 'objc/RTCIceServer.h', | 25 'objc/RTCIceServer.h', |
23 'objc/RTCIceServer.mm', | 26 'objc/RTCIceServer.mm', |
24 'objc/RTCMediaSource+Private.h', | 27 'objc/RTCMediaSource+Private.h', |
25 'objc/RTCMediaSource.h', | 28 'objc/RTCMediaSource.h', |
26 'objc/RTCMediaSource.mm', | 29 'objc/RTCMediaSource.mm', |
27 'objc/RTCVideoSource+Private.h', | 30 'objc/RTCVideoSource+Private.h', |
28 'objc/RTCVideoSource.h', | 31 'objc/RTCVideoSource.h', |
29 'objc/RTCVideoSource.mm', | 32 'objc/RTCVideoSource.mm', |
| 33 'objc/avfoundationvideocapturer.h', |
| 34 'objc/avfoundationvideocapturer.mm', |
30 ], | 35 ], |
31 'xcode_settings': { | 36 'xcode_settings': { |
32 'CLANG_ENABLE_OBJC_ARC': 'YES', | 37 'CLANG_ENABLE_OBJC_ARC': 'YES', |
33 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', | 38 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', |
34 'GCC_PREFIX_HEADER': 'objc/WebRTC-Prefix.pch', | 39 'GCC_PREFIX_HEADER': 'objc/WebRTC-Prefix.pch', |
35 }, | 40 }, |
36 } | 41 } |
37 ], | 42 ], |
38 }], # OS=="ios" | 43 }], # OS=="ios" |
39 ], | 44 ], |
40 } | 45 } |
OLD | NEW |