Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: webrtc/api/api.gyp

Issue 1903663002: Build dynamic iOS SDK. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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', ],
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 'java/android', 115 'java/android',
116 '<(webrtc_base_dir)/java/src', 116 '<(webrtc_base_dir)/java/src',
117 '<(webrtc_modules_dir)/audio_device/android/java/src', 117 '<(webrtc_modules_dir)/audio_device/android/java/src',
118 '<(webrtc_modules_dir)/video_render/android/java/src', 118 '<(webrtc_modules_dir)/video_render/android/java/src',
119 ], 119 ],
120 }, 120 },
121 'includes': ['../../build/java.gypi'], 121 'includes': ['../../build/java.gypi'],
122 }, # libjingle_peerconnection_java 122 }, # libjingle_peerconnection_java
123 ] 123 ]
124 }], 124 }],
125 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', { 125 ],
126 'targets': [
127 {
128 'target_name': 'rtc_api_objc',
129 'type': 'static_library',
130 'includes': [
131 '../build/objc_common.gypi',
132 ],
133 'dependencies': [
134 '<(webrtc_root)/base/base.gyp:rtc_base_objc',
135 'libjingle_peerconnection',
136 ],
137 'sources': [
138 'objc/RTCAudioTrack+Private.h',
139 'objc/RTCAudioTrack.h',
140 'objc/RTCAudioTrack.mm',
141 'objc/RTCConfiguration+Private.h',
142 'objc/RTCConfiguration.h',
143 'objc/RTCConfiguration.mm',
144 'objc/RTCDataChannel+Private.h',
145 'objc/RTCDataChannel.h',
146 'objc/RTCDataChannel.mm',
147 'objc/RTCDataChannelConfiguration+Private.h',
148 'objc/RTCDataChannelConfiguration.h',
149 'objc/RTCDataChannelConfiguration.mm',
150 'objc/RTCIceCandidate+Private.h',
151 'objc/RTCIceCandidate.h',
152 'objc/RTCIceCandidate.mm',
153 'objc/RTCIceServer+Private.h',
154 'objc/RTCIceServer.h',
155 'objc/RTCIceServer.mm',
156 'objc/RTCMediaConstraints+Private.h',
157 'objc/RTCMediaConstraints.h',
158 'objc/RTCMediaConstraints.mm',
159 'objc/RTCMediaStream+Private.h',
160 'objc/RTCMediaStream.h',
161 'objc/RTCMediaStream.mm',
162 'objc/RTCMediaStreamTrack+Private.h',
163 'objc/RTCMediaStreamTrack.h',
164 'objc/RTCMediaStreamTrack.mm',
165 'objc/RTCOpenGLVideoRenderer.h',
166 'objc/RTCOpenGLVideoRenderer.mm',
167 'objc/RTCPeerConnection+DataChannel.mm',
168 'objc/RTCPeerConnection+Private.h',
169 'objc/RTCPeerConnection+Stats.mm',
170 'objc/RTCPeerConnection.h',
171 'objc/RTCPeerConnection.mm',
172 'objc/RTCPeerConnectionFactory+Private.h',
173 'objc/RTCPeerConnectionFactory.h',
174 'objc/RTCPeerConnectionFactory.mm',
175 'objc/RTCRtpEncodingParameters+Private.h',
176 'objc/RTCRtpEncodingParameters.h',
177 'objc/RTCRtpEncodingParameters.mm',
178 'objc/RTCRtpParameters+Private.h',
179 'objc/RTCRtpParameters.h',
180 'objc/RTCRtpParameters.mm',
181 'objc/RTCRtpSender+Private.h',
182 'objc/RTCRtpSender.h',
183 'objc/RTCRtpSender.mm',
184 'objc/RTCSessionDescription+Private.h',
185 'objc/RTCSessionDescription.h',
186 'objc/RTCSessionDescription.mm',
187 'objc/RTCStatsReport+Private.h',
188 'objc/RTCStatsReport.h',
189 'objc/RTCStatsReport.mm',
190 'objc/RTCVideoFrame+Private.h',
191 'objc/RTCVideoFrame.h',
192 'objc/RTCVideoFrame.mm',
193 'objc/RTCVideoRenderer.h',
194 'objc/RTCVideoRendererAdapter+Private.h',
195 'objc/RTCVideoRendererAdapter.h',
196 'objc/RTCVideoRendererAdapter.mm',
197 'objc/RTCVideoSource+Private.h',
198 'objc/RTCVideoSource.h',
199 'objc/RTCVideoSource.mm',
200 'objc/RTCVideoTrack+Private.h',
201 'objc/RTCVideoTrack.h',
202 'objc/RTCVideoTrack.mm',
203 ],
204 # TODO(hjon): Make this compile without linking to libstdc++
205 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=5593
206 'link_settings': {
207 'libraries': [
208 '-lstdc++',
209 ],
210 },
211 'conditions': [
212 ['OS=="ios"', {
213 'sources': [
214 'objc/RTCAVFoundationVideoSource+Private.h',
215 'objc/RTCAVFoundationVideoSource.h',
216 'objc/RTCAVFoundationVideoSource.mm',
217 'objc/RTCEAGLVideoView.h',
218 'objc/RTCEAGLVideoView.m',
219 'objc/avfoundationvideocapturer.h',
220 'objc/avfoundationvideocapturer.mm',
221 ],
222 'all_dependent_settings': {
223 'xcode_settings': {
224 'OTHER_LDFLAGS': [
225 '-framework CoreGraphics',
226 '-framework GLKit',
227 '-framework OpenGLES',
228 '-framework QuartzCore',
229 ]
230 }
231 },
232 # TODO(kjellander): Make the code compile without disabling these.
233 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307
234 'cflags': [
235 '-Wno-return-type',
236 ],
237 'xcode_settings': {
238 'WARNING_CFLAGS': [
239 '-Wno-return-type',
240 ],
241 },
242 }],
243 ['OS=="mac"', {
244 'sources': [
245 'objc/RTCNSGLVideoView.h',
246 'objc/RTCNSGLVideoView.m',
247 ],
248 'link_settings': {
249 'xcode_settings': {
250 'OTHER_LDFLAGS': [
251 '-framework OpenGL',
252 ],
253 },
254 },
255 }],
256 ],
257 }
258 ],
259 }], # OS=="ios"
260 ], # conditions
261 'targets': [ 126 'targets': [
262 { 127 {
263 'target_name': 'libjingle_peerconnection', 128 'target_name': 'libjingle_peerconnection',
264 'type': 'static_library', 129 'type': 'static_library',
265 'dependencies': [ 130 'dependencies': [
266 '<(webrtc_root)/media/media.gyp:rtc_media', 131 '<(webrtc_root)/media/media.gyp:rtc_media',
267 '<(webrtc_root)/pc/pc.gyp:rtc_pc', 132 '<(webrtc_root)/pc/pc.gyp:rtc_pc',
268 ], 133 ],
269 'sources': [ 134 'sources': [
270 'audiotrack.cc', 135 'audiotrack.cc',
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 'AdditionalOptions': [ 237 'AdditionalOptions': [
373 '-Wno-sign-compare', 238 '-Wno-sign-compare',
374 ], 239 ],
375 }, 240 },
376 }, 241 },
377 }], 242 }],
378 ], 243 ],
379 }, # target libjingle_peerconnection 244 }, # target libjingle_peerconnection
380 ], # targets 245 ], # targets
381 } 246 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698