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 || is_mac) { |
21 source_set("rtc_api_objc") { | 21 source_set("rtc_api_objc") { |
22 deps = [ | 22 deps = [ |
23 "//webrtc/base:rtc_base_objc", | 23 "//webrtc/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", | |
33 #"objc/RTCAVFoundationVideoSource.h", | |
34 #"objc/RTCAVFoundationVideoSource.mm", | |
35 #"objc/RTCAudioTrack+Private.h", | 32 #"objc/RTCAudioTrack+Private.h", |
36 #"objc/RTCAudioTrack.h", | 33 #"objc/RTCAudioTrack.h", |
37 #"objc/RTCAudioTrack.mm", | 34 #"objc/RTCAudioTrack.mm", |
38 #"objc/RTCConfiguration+Private.h", | 35 #"objc/RTCConfiguration+Private.h", |
39 #"objc/RTCConfiguration.h", | 36 #"objc/RTCConfiguration.h", |
40 #"objc/RTCConfiguration.mm", | 37 #"objc/RTCConfiguration.mm", |
41 #"objc/RTCDataChannel+Private.h", | 38 #"objc/RTCDataChannel+Private.h", |
42 #"objc/RTCDataChannel.h", | 39 #"objc/RTCDataChannel.h", |
43 #"objc/RTCDataChannel.mm", | 40 #"objc/RTCDataChannel.mm", |
44 #"objc/RTCDataChannelConfiguration+Private.h", | 41 #"objc/RTCDataChannelConfiguration+Private.h", |
(...skipping 10 matching lines...) Expand all Loading... | |
55 #"objc/RTCMediaStreamTrack.mm", | 52 #"objc/RTCMediaStreamTrack.mm", |
56 #"objc/RTCPeerConnectionFactory+Private.h", | 53 #"objc/RTCPeerConnectionFactory+Private.h", |
57 #"objc/RTCPeerConnectionFactory.h", | 54 #"objc/RTCPeerConnectionFactory.h", |
58 #"objc/RTCPeerConnectionFactory.mm", | 55 #"objc/RTCPeerConnectionFactory.mm", |
59 #"objc/RTCVideoSource+Private.h", | 56 #"objc/RTCVideoSource+Private.h", |
60 #"objc/RTCVideoSource.h", | 57 #"objc/RTCVideoSource.h", |
61 #"objc/RTCVideoSource.mm", | 58 #"objc/RTCVideoSource.mm", |
62 #"objc/RTCVideoTrack+Private.h", | 59 #"objc/RTCVideoTrack+Private.h", |
63 #"objc/RTCVideoTrack.h", | 60 #"objc/RTCVideoTrack.h", |
64 #"objc/RTCVideoTrack.mm", | 61 #"objc/RTCVideoTrack.mm", |
62 "../build/WebRTC-Prefix.pch", | |
tkchin_webrtc
2016/01/28 21:09:44
I don't think this is how precompiled headers are
hjon_webrtc
2016/01/28 23:49:51
I'm not clear on what the bug should be. Could you
tkchin_webrtc
2016/01/29 00:26:29
iOS WebRTC GN Build
- Fix prefix headers
- Get it
| |
65 "objc/RTCIceServer+Private.h", | 63 "objc/RTCIceServer+Private.h", |
66 "objc/RTCIceServer.h", | 64 "objc/RTCIceServer.h", |
67 "objc/RTCIceServer.mm", | 65 "objc/RTCIceServer.mm", |
68 "objc/RTCMediaConstraints+Private.h", | 66 "objc/RTCMediaConstraints+Private.h", |
69 "objc/RTCMediaConstraints.h", | 67 "objc/RTCMediaConstraints.h", |
70 "objc/RTCMediaConstraints.mm", | 68 "objc/RTCMediaConstraints.mm", |
71 "objc/RTCOpenGLVideoRenderer.h", | 69 "objc/RTCOpenGLVideoRenderer.h", |
72 "objc/RTCOpenGLVideoRenderer.mm", | 70 "objc/RTCOpenGLVideoRenderer.mm", |
73 "objc/RTCSessionDescription+Private.h", | 71 "objc/RTCSessionDescription+Private.h", |
74 "objc/RTCSessionDescription.h", | 72 "objc/RTCSessionDescription.h", |
75 "objc/RTCSessionDescription.mm", | 73 "objc/RTCSessionDescription.mm", |
76 "objc/RTCStatsReport+Private.h", | 74 "objc/RTCStatsReport+Private.h", |
77 "objc/RTCStatsReport.h", | 75 "objc/RTCStatsReport.h", |
78 "objc/RTCStatsReport.mm", | 76 "objc/RTCStatsReport.mm", |
79 "objc/RTCVideoFrame+Private.h", | 77 "objc/RTCVideoFrame+Private.h", |
80 "objc/RTCVideoFrame.h", | 78 "objc/RTCVideoFrame.h", |
81 "objc/RTCVideoFrame.mm", | 79 "objc/RTCVideoFrame.mm", |
82 "objc/RTCVideoRenderer.h", | 80 "objc/RTCVideoRenderer.h", |
83 "objc/RTCVideoRendererAdapter+Private.h", | 81 "objc/RTCVideoRendererAdapter+Private.h", |
84 "objc/RTCVideoRendererAdapter.h", | 82 "objc/RTCVideoRendererAdapter.h", |
85 "objc/RTCVideoRendererAdapter.mm", | 83 "objc/RTCVideoRendererAdapter.mm", |
86 "objc/WebRTC-Prefix.pch", | |
87 "objc/avfoundationvideocapturer.h", | |
88 "objc/avfoundationvideocapturer.mm", | |
89 ] | 84 ] |
90 | 85 |
91 if (is_ios) { | 86 if (is_ios) { |
92 sources += [ | 87 sources += [ |
88 # Add these when there's a BUILD.gn for peer connection APIs | |
89 #"objc/RTCAVFoundationVideoSource+Private.h", | |
90 #"objc/RTCAVFoundationVideoSource.h", | |
91 #"objc/RTCAVFoundationVideoSource.mm", | |
93 "objc/RTCEAGLVideoView.h", | 92 "objc/RTCEAGLVideoView.h", |
94 "objc/RTCEAGLVideoView.m", | 93 "objc/RTCEAGLVideoView.m", |
94 "objc/avfoundationvideocapturer.h", | |
95 "objc/avfoundationvideocapturer.mm", | |
95 ] | 96 ] |
96 } | 97 } |
97 | 98 |
98 if (is_mac) { | 99 if (is_mac) { |
99 sources += [ | 100 sources += [ |
100 "objc/RTCNSGLVideoView.h", | 101 "objc/RTCNSGLVideoView.h", |
101 "objc/RTCNSGLVideoView.m", | 102 "objc/RTCNSGLVideoView.m", |
102 ] | 103 ] |
103 } | 104 } |
104 } | 105 } |
105 } | 106 } |
OLD | NEW |