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 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
10 | 10 |
11 config("ios_config") { | 11 config("ios_config") { |
12 libs = [ | 12 libs = [ |
13 "CoreGraphics.framework", | 13 "CoreGraphics.framework", |
14 "GLKit.framework", | 14 "GLKit.framework", |
15 "OpenGLES.framework", | 15 "OpenGLES.framework", |
16 "QuartzCore.framework", | 16 "QuartzCore.framework", |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 if (is_ios) { | 20 if (is_ios) { |
21 source_set("rtc_api_objc") { | 21 source_set("rtc_api_objc") { |
22 deps = [ | 22 deps = [ |
23 "//webrtc/base:rtc_base_objc", | 23 "../base:rtc_base_objc", |
24 #"//talk/libjingle:libjingle_peerconnection", | 24 #"../../talk/libjingle:libjingle_peerconnection", |
25 ] | 25 ] |
26 cflags = [ | 26 cflags = [ |
27 "-fobjc-arc", | 27 "-fobjc-arc", |
28 "-Wobjc-missing-property-synthesis", | 28 "-Wobjc-missing-property-synthesis", |
29 ] | 29 ] |
30 sources = [ | 30 sources = [ |
31 # Add these when there's a BUILD.gn for peer connection APIs | 31 # Add these when there's a BUILD.gn for peer connection APIs |
32 #"objc/RTCAVFoundationVideoSource+Private.h", | 32 #"objc/RTCAVFoundationVideoSource+Private.h", |
33 #"objc/RTCAVFoundationVideoSource.h", | 33 #"objc/RTCAVFoundationVideoSource.h", |
34 #"objc/RTCAVFoundationVideoSource.mm", | 34 #"objc/RTCAVFoundationVideoSource.mm", |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 } | 96 } |
97 | 97 |
98 if (is_mac) { | 98 if (is_mac) { |
99 sources += [ | 99 sources += [ |
100 "objc/RTCNSGLVideoView.h", | 100 "objc/RTCNSGLVideoView.h", |
101 "objc/RTCNSGLVideoView.m", | 101 "objc/RTCNSGLVideoView.m", |
102 ] | 102 ] |
103 } | 103 } |
104 } | 104 } |
105 } | 105 } |
OLD | NEW |