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/RTCI420Frame+Private.h', | 21 'objc/RTCI420Frame+Private.h', |
22 'objc/RTCI420Frame.h', | 22 'objc/RTCI420Frame.h', |
23 'objc/RTCI420Frame.mm', | 23 'objc/RTCI420Frame.mm', |
24 'objc/RTCIceServer+Private.h', | 24 'objc/RTCIceServer+Private.h', |
25 'objc/RTCIceServer.h', | 25 'objc/RTCIceServer.h', |
26 'objc/RTCIceServer.mm', | 26 'objc/RTCIceServer.mm', |
| 27 'objc/RTCOpenGLVideoRenderer.h', |
| 28 'objc/RTCOpenGLVideoRenderer.mm', |
| 29 'objc/RTCVideoRenderer.h', |
| 30 ], |
| 31 'conditions': [ |
| 32 ['OS=="ios"', { |
| 33 'sources': [ |
| 34 'objc/RTCEAGLVideoView.h', |
| 35 'objc/RTCEAGLVideoView.m', |
| 36 ], |
| 37 'all_dependent_settings': { |
| 38 'xcode_settings': { |
| 39 'OTHER_LDFLAGS': [ |
| 40 '-framework CoreGraphics', |
| 41 '-framework GLKit', |
| 42 '-framework OpenGLES', |
| 43 '-framework QuartzCore', |
| 44 ] |
| 45 } |
| 46 } |
| 47 }], |
| 48 ['OS=="mac"', { |
| 49 'sources': [ |
| 50 'objc/RTCNSGLVideoView.h', |
| 51 'objc/RTCNSGLVideoView.m', |
| 52 ], |
| 53 }], |
27 ], | 54 ], |
28 'xcode_settings': { | 55 'xcode_settings': { |
29 'CLANG_ENABLE_OBJC_ARC': 'YES', | 56 'CLANG_ENABLE_OBJC_ARC': 'YES', |
30 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', | 57 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', |
31 'GCC_PREFIX_HEADER': 'objc/WebRTC-Prefix.pch', | 58 'GCC_PREFIX_HEADER': 'objc/WebRTC-Prefix.pch', |
32 }, | 59 }, |
33 } | 60 } |
34 ], | 61 ], |
35 }], # OS=="ios" | 62 }], # OS=="ios" |
36 ], | 63 ], |
37 } | 64 } |
OLD | NEW |