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

Side by Side Diff: webrtc/webrtc_examples.gyp

Issue 2343403002: Rename AppRTCDemo on Android and iOS to AppRTCMobile (Closed)
Patch Set: Rebase Created 4 years, 2 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
« no previous file with comments | « webrtc/examples/objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The WebRTC Project Authors. All rights reserved. 1 # Copyright (c) 2012 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 'conditions': [ 9 'conditions': [
10 ['OS=="linux" or OS=="win"', { 10 ['OS=="linux" or OS=="win"', {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 'targets': [ 149 'targets': [
150 { 150 {
151 'target_name': 'apprtc_common', 151 'target_name': 'apprtc_common',
152 'type': 'static_library', 152 'type': 'static_library',
153 'dependencies': [ 153 'dependencies': [
154 '<(webrtc_root)/sdk/sdk.gyp:rtc_sdk_common_objc', 154 '<(webrtc_root)/sdk/sdk.gyp:rtc_sdk_common_objc',
155 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult', 155 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult',
156 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default' , 156 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default' ,
157 ], 157 ],
158 'sources': [ 158 'sources': [
159 'examples/objc/AppRTCDemo/common/ARDUtilities.h', 159 'examples/objc/AppRTCMobile/common/ARDUtilities.h',
160 'examples/objc/AppRTCDemo/common/ARDUtilities.m', 160 'examples/objc/AppRTCMobile/common/ARDUtilities.m',
161 ], 161 ],
162 'include_dirs': [ 162 'include_dirs': [
163 'examples/objc/AppRTCDemo/common', 163 'examples/objc/AppRTCMobile/common',
164 ], 164 ],
165 'direct_dependent_settings': { 165 'direct_dependent_settings': {
166 'include_dirs': [ 166 'include_dirs': [
167 'examples/objc/AppRTCDemo/common', 167 'examples/objc/AppRTCMobile/common',
168 ], 168 ],
169 }, 169 },
170 'conditions': [ 170 'conditions': [
171 ['OS=="ios"', { 171 ['OS=="ios"', {
172 'xcode_settings': { 172 'xcode_settings': {
173 'WARNING_CFLAGS': [ 173 'WARNING_CFLAGS': [
174 # Suppress compiler warnings about deprecated that triggered 174 # Suppress compiler warnings about deprecated that triggered
175 # when moving from ios_deployment_target 7.0 to 9.0. 175 # when moving from ios_deployment_target 7.0 to 9.0.
176 # See webrtc:5549 for more details. 176 # See webrtc:5549 for more details.
177 '-Wno-deprecated-declarations', 177 '-Wno-deprecated-declarations',
(...skipping 19 matching lines...) Expand all
197 }, 197 },
198 { 198 {
199 'target_name': 'apprtc_signaling', 199 'target_name': 'apprtc_signaling',
200 'type': 'static_library', 200 'type': 'static_library',
201 'dependencies': [ 201 'dependencies': [
202 '<(webrtc_root)/sdk/sdk.gyp:rtc_sdk_peerconnection_objc', 202 '<(webrtc_root)/sdk/sdk.gyp:rtc_sdk_peerconnection_objc',
203 'apprtc_common', 203 'apprtc_common',
204 'socketrocket', 204 'socketrocket',
205 ], 205 ],
206 'sources': [ 206 'sources': [
207 'examples/objc/AppRTCDemo/ARDAppClient.h', 207 'examples/objc/AppRTCMobile/ARDAppClient.h',
208 'examples/objc/AppRTCDemo/ARDAppClient.m', 208 'examples/objc/AppRTCMobile/ARDAppClient.m',
209 'examples/objc/AppRTCDemo/ARDAppClient+Internal.h', 209 'examples/objc/AppRTCMobile/ARDAppClient+Internal.h',
210 'examples/objc/AppRTCDemo/ARDAppEngineClient.h', 210 'examples/objc/AppRTCMobile/ARDAppEngineClient.h',
211 'examples/objc/AppRTCDemo/ARDAppEngineClient.m', 211 'examples/objc/AppRTCMobile/ARDAppEngineClient.m',
212 'examples/objc/AppRTCDemo/ARDBitrateTracker.h', 212 'examples/objc/AppRTCMobile/ARDBitrateTracker.h',
213 'examples/objc/AppRTCDemo/ARDBitrateTracker.m', 213 'examples/objc/AppRTCMobile/ARDBitrateTracker.m',
214 'examples/objc/AppRTCDemo/ARDCEODTURNClient.h', 214 'examples/objc/AppRTCMobile/ARDCEODTURNClient.h',
215 'examples/objc/AppRTCDemo/ARDCEODTURNClient.m', 215 'examples/objc/AppRTCMobile/ARDCEODTURNClient.m',
216 'examples/objc/AppRTCDemo/ARDJoinResponse.h', 216 'examples/objc/AppRTCMobile/ARDJoinResponse.h',
217 'examples/objc/AppRTCDemo/ARDJoinResponse.m', 217 'examples/objc/AppRTCMobile/ARDJoinResponse.m',
218 'examples/objc/AppRTCDemo/ARDJoinResponse+Internal.h', 218 'examples/objc/AppRTCMobile/ARDJoinResponse+Internal.h',
219 'examples/objc/AppRTCDemo/ARDMessageResponse.h', 219 'examples/objc/AppRTCMobile/ARDMessageResponse.h',
220 'examples/objc/AppRTCDemo/ARDMessageResponse.m', 220 'examples/objc/AppRTCMobile/ARDMessageResponse.m',
221 'examples/objc/AppRTCDemo/ARDMessageResponse+Internal.h', 221 'examples/objc/AppRTCMobile/ARDMessageResponse+Internal.h',
222 'examples/objc/AppRTCDemo/ARDRoomServerClient.h', 222 'examples/objc/AppRTCMobile/ARDRoomServerClient.h',
223 'examples/objc/AppRTCDemo/ARDSDPUtils.h', 223 'examples/objc/AppRTCMobile/ARDSDPUtils.h',
224 'examples/objc/AppRTCDemo/ARDSDPUtils.m', 224 'examples/objc/AppRTCMobile/ARDSDPUtils.m',
225 'examples/objc/AppRTCDemo/ARDSignalingChannel.h', 225 'examples/objc/AppRTCMobile/ARDSignalingChannel.h',
226 'examples/objc/AppRTCDemo/ARDSignalingMessage.h', 226 'examples/objc/AppRTCMobile/ARDSignalingMessage.h',
227 'examples/objc/AppRTCDemo/ARDSignalingMessage.m', 227 'examples/objc/AppRTCMobile/ARDSignalingMessage.m',
228 'examples/objc/AppRTCDemo/ARDStatsBuilder.h', 228 'examples/objc/AppRTCMobile/ARDStatsBuilder.h',
229 'examples/objc/AppRTCDemo/ARDStatsBuilder.m', 229 'examples/objc/AppRTCMobile/ARDStatsBuilder.m',
230 'examples/objc/AppRTCDemo/ARDTURNClient.h', 230 'examples/objc/AppRTCMobile/ARDTURNClient.h',
231 'examples/objc/AppRTCDemo/ARDWebSocketChannel.h', 231 'examples/objc/AppRTCMobile/ARDWebSocketChannel.h',
232 'examples/objc/AppRTCDemo/ARDWebSocketChannel.m', 232 'examples/objc/AppRTCMobile/ARDWebSocketChannel.m',
233 'examples/objc/AppRTCDemo/RTCIceCandidate+JSON.h', 233 'examples/objc/AppRTCMobile/RTCIceCandidate+JSON.h',
234 'examples/objc/AppRTCDemo/RTCIceCandidate+JSON.m', 234 'examples/objc/AppRTCMobile/RTCIceCandidate+JSON.m',
235 'examples/objc/AppRTCDemo/RTCIceServer+JSON.h', 235 'examples/objc/AppRTCMobile/RTCIceServer+JSON.h',
236 'examples/objc/AppRTCDemo/RTCIceServer+JSON.m', 236 'examples/objc/AppRTCMobile/RTCIceServer+JSON.m',
237 'examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.h', 237 'examples/objc/AppRTCMobile/RTCMediaConstraints+JSON.h',
238 'examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.m', 238 'examples/objc/AppRTCMobile/RTCMediaConstraints+JSON.m',
239 'examples/objc/AppRTCDemo/RTCSessionDescription+JSON.h', 239 'examples/objc/AppRTCMobile/RTCSessionDescription+JSON.h',
240 'examples/objc/AppRTCDemo/RTCSessionDescription+JSON.m', 240 'examples/objc/AppRTCMobile/RTCSessionDescription+JSON.m',
241 ], 241 ],
242 'include_dirs': [ 242 'include_dirs': [
243 'examples/objc/AppRTCDemo', 243 'examples/objc/AppRTCMobile',
244 ], 244 ],
245 'direct_dependent_settings': { 245 'direct_dependent_settings': {
246 'include_dirs': [ 246 'include_dirs': [
247 'examples/objc/AppRTCDemo', 247 'examples/objc/AppRTCMobile',
248 ], 248 ],
249 }, 249 },
250 'export_dependent_settings': [ 250 'export_dependent_settings': [
251 '<(webrtc_root)/sdk/sdk.gyp:rtc_sdk_peerconnection_objc', 251 '<(webrtc_root)/sdk/sdk.gyp:rtc_sdk_peerconnection_objc',
252 ], 252 ],
253 'conditions': [ 253 'conditions': [
254 ['OS=="ios"', { 254 ['OS=="ios"', {
255 'xcode_settings': { 255 'xcode_settings': {
256 'WARNING_CFLAGS': [ 256 'WARNING_CFLAGS': [
257 # Suppress compiler warnings about deprecated that triggered 257 # Suppress compiler warnings about deprecated that triggered
258 # when moving from ios_deployment_target 7.0 to 9.0. 258 # when moving from ios_deployment_target 7.0 to 9.0.
259 # See webrtc:5549 for more details. 259 # See webrtc:5549 for more details.
260 '-Wno-deprecated-declarations', 260 '-Wno-deprecated-declarations',
261 ], 261 ],
262 }, 262 },
263 }], 263 }],
264 ['OS=="mac"', { 264 ['OS=="mac"', {
265 'xcode_settings': { 265 'xcode_settings': {
266 'MACOSX_DEPLOYMENT_TARGET' : '10.8', 266 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
267 }, 267 },
268 }], 268 }],
269 ], 269 ],
270 'xcode_settings': { 270 'xcode_settings': {
271 'CLANG_ENABLE_OBJC_ARC': 'YES', 271 'CLANG_ENABLE_OBJC_ARC': 'YES',
272 }, 272 },
273 }, 273 },
274 { 274 {
275 'target_name': 'AppRTCDemo', 275 'target_name': 'AppRTCMobile',
276 'type': 'executable', 276 'type': 'executable',
277 'product_name': 'AppRTCDemo', 277 'product_name': 'AppRTCMobile',
278 'mac_bundle': 1, 278 'mac_bundle': 1,
279 'dependencies': [ 279 'dependencies': [
280 'apprtc_common', 280 'apprtc_common',
281 'apprtc_signaling', 281 'apprtc_signaling',
282 ], 282 ],
283 'conditions': [ 283 'conditions': [
284 ['OS=="ios"', { 284 ['OS=="ios"', {
285 'mac_bundle_resources': [ 285 'mac_bundle_resources': [
286 'examples/objc/AppRTCDemo/ios/resources/Roboto-Regular.ttf', 286 'examples/objc/AppRTCMobile/ios/resources/Roboto-Regular.ttf',
287 'examples/objc/AppRTCDemo/ios/resources/iPhone5@2x.png', 287 'examples/objc/AppRTCMobile/ios/resources/iPhone5@2x.png',
288 'examples/objc/AppRTCDemo/ios/resources/iPhone6@2x.png', 288 'examples/objc/AppRTCMobile/ios/resources/iPhone6@2x.png',
289 'examples/objc/AppRTCDemo/ios/resources/iPhone6p@3x.png', 289 'examples/objc/AppRTCMobile/ios/resources/iPhone6p@3x.png',
290 'examples/objc/AppRTCDemo/ios/resources/ic_call_end_black_24dp.p ng', 290 'examples/objc/AppRTCMobile/ios/resources/ic_call_end_black_24dp .png',
291 'examples/objc/AppRTCDemo/ios/resources/ic_call_end_black_24dp@2 x.png', 291 'examples/objc/AppRTCMobile/ios/resources/ic_call_end_black_24dp @2x.png',
292 'examples/objc/AppRTCDemo/ios/resources/ic_clear_black_24dp.png' , 292 'examples/objc/AppRTCMobile/ios/resources/ic_clear_black_24dp.pn g',
293 'examples/objc/AppRTCDemo/ios/resources/ic_clear_black_24dp@2x.p ng', 293 'examples/objc/AppRTCMobile/ios/resources/ic_clear_black_24dp@2x .png',
294 'examples/objc/AppRTCDemo/ios/resources/ic_surround_sound_black_ 24dp.png', 294 'examples/objc/AppRTCMobile/ios/resources/ic_surround_sound_blac k_24dp.png',
295 'examples/objc/AppRTCDemo/ios/resources/ic_surround_sound_black_ 24dp@2x.png', 295 'examples/objc/AppRTCMobile/ios/resources/ic_surround_sound_blac k_24dp@2x.png',
296 'examples/objc/AppRTCDemo/ios/resources/ic_switch_video_black_24 dp.png', 296 'examples/objc/AppRTCMobile/ios/resources/ic_switch_video_black_ 24dp.png',
297 'examples/objc/AppRTCDemo/ios/resources/ic_switch_video_black_24 dp@2x.png', 297 'examples/objc/AppRTCMobile/ios/resources/ic_switch_video_black_ 24dp@2x.png',
298 'examples/objc/AppRTCDemo/ios/resources/mozart.mp3', 298 'examples/objc/AppRTCMobile/ios/resources/mozart.mp3',
299 'examples/objc/Icon.png', 299 'examples/objc/Icon.png',
300 ], 300 ],
301 'sources': [ 301 'sources': [
302 'examples/objc/AppRTCDemo/ios/ARDAppDelegate.h', 302 'examples/objc/AppRTCMobile/ios/ARDAppDelegate.h',
303 'examples/objc/AppRTCDemo/ios/ARDAppDelegate.m', 303 'examples/objc/AppRTCMobile/ios/ARDAppDelegate.m',
304 'examples/objc/AppRTCDemo/ios/ARDMainView.h', 304 'examples/objc/AppRTCMobile/ios/ARDMainView.h',
305 'examples/objc/AppRTCDemo/ios/ARDMainView.m', 305 'examples/objc/AppRTCMobile/ios/ARDMainView.m',
306 'examples/objc/AppRTCDemo/ios/ARDMainViewController.h', 306 'examples/objc/AppRTCMobile/ios/ARDMainViewController.h',
307 'examples/objc/AppRTCDemo/ios/ARDMainViewController.m', 307 'examples/objc/AppRTCMobile/ios/ARDMainViewController.m',
308 'examples/objc/AppRTCDemo/ios/ARDStatsView.h', 308 'examples/objc/AppRTCMobile/ios/ARDStatsView.h',
309 'examples/objc/AppRTCDemo/ios/ARDStatsView.m', 309 'examples/objc/AppRTCMobile/ios/ARDStatsView.m',
310 'examples/objc/AppRTCDemo/ios/ARDVideoCallView.h', 310 'examples/objc/AppRTCMobile/ios/ARDVideoCallView.h',
311 'examples/objc/AppRTCDemo/ios/ARDVideoCallView.m', 311 'examples/objc/AppRTCMobile/ios/ARDVideoCallView.m',
312 'examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.h', 312 'examples/objc/AppRTCMobile/ios/ARDVideoCallViewController.h',
313 'examples/objc/AppRTCDemo/ios/ARDVideoCallViewController.m', 313 'examples/objc/AppRTCMobile/ios/ARDVideoCallViewController.m',
314 'examples/objc/AppRTCDemo/ios/AppRTCDemo-Prefix.pch', 314 'examples/objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch',
315 'examples/objc/AppRTCDemo/ios/UIImage+ARDUtilities.h', 315 'examples/objc/AppRTCMobile/ios/UIImage+ARDUtilities.h',
316 'examples/objc/AppRTCDemo/ios/UIImage+ARDUtilities.m', 316 'examples/objc/AppRTCMobile/ios/UIImage+ARDUtilities.m',
317 'examples/objc/AppRTCDemo/ios/main.m', 317 'examples/objc/AppRTCMobile/ios/main.m',
318 ], 318 ],
319 'xcode_settings': { 319 'xcode_settings': {
320 'INFOPLIST_FILE': 'examples/objc/AppRTCDemo/ios/Info.plist', 320 'INFOPLIST_FILE': 'examples/objc/AppRTCMobile/ios/Info.plist',
321 'WARNING_CFLAGS': [ 321 'WARNING_CFLAGS': [
322 # Suppress compiler warnings about deprecated that triggered 322 # Suppress compiler warnings about deprecated that triggered
323 # when moving from ios_deployment_target 7.0 to 9.0. 323 # when moving from ios_deployment_target 7.0 to 9.0.
324 # See webrtc:5549 for more details. 324 # See webrtc:5549 for more details.
325 '-Wno-deprecated-declarations', 325 '-Wno-deprecated-declarations',
326 ], 326 ],
327 }, 327 },
328 }], 328 }],
329 ['OS=="mac"', { 329 ['OS=="mac"', {
330 'sources': [ 330 'sources': [
331 'examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.h', 331 'examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.h',
332 'examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m', 332 'examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m',
333 'examples/objc/AppRTCDemo/mac/APPRTCViewController.h', 333 'examples/objc/AppRTCMobile/mac/APPRTCViewController.h',
334 'examples/objc/AppRTCDemo/mac/APPRTCViewController.m', 334 'examples/objc/AppRTCMobile/mac/APPRTCViewController.m',
335 'examples/objc/AppRTCDemo/mac/main.m', 335 'examples/objc/AppRTCMobile/mac/main.m',
336 ], 336 ],
337 'xcode_settings': { 337 'xcode_settings': {
338 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO', 338 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
339 'INFOPLIST_FILE': 'examples/objc/AppRTCDemo/mac/Info.plist', 339 'INFOPLIST_FILE': 'examples/objc/AppRTCMobile/mac/Info.plist',
340 'MACOSX_DEPLOYMENT_TARGET' : '10.8', 340 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
341 'OTHER_LDFLAGS': [ 341 'OTHER_LDFLAGS': [
342 '-framework AVFoundation', 342 '-framework AVFoundation',
343 ], 343 ],
344 }, 344 },
345 }], 345 }],
346 ['target_arch=="ia32"', { 346 ['target_arch=="ia32"', {
347 'dependencies' : [ 347 'dependencies' : [
348 '<(DEPTH)/testing/iossim/iossim.gyp:iossim#host', 348 '<(DEPTH)/testing/iossim/iossim.gyp:iossim#host',
349 ], 349 ],
350 }], 350 }],
351 ], 351 ],
352 'xcode_settings': { 352 'xcode_settings': {
353 'CLANG_ENABLE_OBJC_ARC': 'YES', 353 'CLANG_ENABLE_OBJC_ARC': 'YES',
354 }, 354 },
355 }, # target AppRTCDemo 355 }, # target AppRTCMobile
356 { 356 {
357 # TODO(tkchin): move this into the real third party location and 357 # TODO(tkchin): move this into the real third party location and
358 # have it mirrored on chrome infra. 358 # have it mirrored on chrome infra.
359 'target_name': 'socketrocket', 359 'target_name': 'socketrocket',
360 'type': 'static_library', 360 'type': 'static_library',
361 'sources': [ 361 'sources': [
362 'examples/objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.h', 362 'examples/objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h',
363 'examples/objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.m', 363 'examples/objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m',
364 ], 364 ],
365 'conditions': [ 365 'conditions': [
366 ['OS=="mac"', { 366 ['OS=="mac"', {
367 'xcode_settings': { 367 'xcode_settings': {
368 # SocketRocket autosynthesizes some properties. Disable the 368 # SocketRocket autosynthesizes some properties. Disable the
369 # warning so we can compile successfully. 369 # warning so we can compile successfully.
370 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO', 370 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO',
371 'MACOSX_DEPLOYMENT_TARGET' : '10.8', 371 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
372 # SRWebSocket.m uses code with partial availability. 372 # SRWebSocket.m uses code with partial availability.
373 # https://code.google.com/p/webrtc/issues/detail?id=4695 373 # https://code.google.com/p/webrtc/issues/detail?id=4695
374 'WARNING_CFLAGS!': [ 374 'WARNING_CFLAGS!': [
375 '-Wpartial-availability', 375 '-Wpartial-availability',
376 # Hide the warning for SecRandomCopyBytes(), till we update 376 # Hide the warning for SecRandomCopyBytes(), till we update
377 # to upstream. 377 # to upstream.
378 # https://bugs.chromium.org/p/webrtc/issues/detail?id=6396 378 # https://bugs.chromium.org/p/webrtc/issues/detail?id=6396
379 '-Wno-unused-result'], 379 '-Wno-unused-result'],
380 }, 380 },
381 }], 381 }],
382 ], 382 ],
383 'direct_dependent_settings': { 383 'direct_dependent_settings': {
384 'include_dirs': [ 384 'include_dirs': [
385 'examples/objc/AppRTCDemo/third_party/SocketRocket', 385 'examples/objc/AppRTCMobile/third_party/SocketRocket',
386 ], 386 ],
387 }, 387 },
388 'xcode_settings': { 388 'xcode_settings': {
389 'CLANG_ENABLE_OBJC_ARC': 'YES', 389 'CLANG_ENABLE_OBJC_ARC': 'YES',
390 'WARNING_CFLAGS': [ 390 'WARNING_CFLAGS': [
391 '-Wno-deprecated-declarations', 391 '-Wno-deprecated-declarations',
392 '-Wno-nonnull', 392 '-Wno-nonnull',
393 ], 393 ],
394 }, 394 },
395 'link_settings': { 395 'link_settings': {
396 'xcode_settings': { 396 'xcode_settings': {
397 'OTHER_LDFLAGS': [ 397 'OTHER_LDFLAGS': [
398 '-framework CFNetwork', 398 '-framework CFNetwork',
399 '-licucore', 399 '-licucore',
400 ], 400 ],
401 }, 401 },
402 } 402 }
403 }, # target socketrocket 403 }, # target socketrocket
404 ], # targets 404 ], # targets
405 }], # OS=="ios" or (OS=="mac" and target_arch!="ia32") 405 }], # OS=="ios" or (OS=="mac" and target_arch!="ia32")
406 406
407 ['OS=="android"', { 407 ['OS=="android"', {
408 'targets': [ 408 'targets': [
409 { 409 {
410 'target_name': 'AppRTCDemo', 410 'target_name': 'AppRTCMobile',
411 'type': 'none', 411 'type': 'none',
412 'dependencies': [ 412 'dependencies': [
413 'api/api_java.gyp:libjingle_peerconnection_java', 413 'api/api_java.gyp:libjingle_peerconnection_java',
414 ], 414 ],
415 'variables': { 415 'variables': {
416 'apk_name': 'AppRTCDemo', 416 'apk_name': 'AppRTCMobile',
417 'java_in_dir': 'examples/androidapp', 417 'java_in_dir': 'examples/androidapp',
418 'has_java_resources': 1, 418 'has_java_resources': 1,
419 'resource_dir': 'examples/androidapp/res', 419 'resource_dir': 'examples/androidapp/res',
420 'R_package': 'org.appspot.apprtc', 420 'R_package': 'org.appspot.apprtc',
421 'R_package_relpath': 'org/appspot/apprtc', 421 'R_package_relpath': 'org/appspot/apprtc',
422 'input_jars_paths': [ 422 'input_jars_paths': [
423 'examples/androidapp/third_party/autobanh/lib/autobanh.jar', 423 'examples/androidapp/third_party/autobanh/lib/autobanh.jar',
424 ], 424 ],
425 'library_dexed_jars_paths': [ 425 'library_dexed_jars_paths': [
426 'examples/androidapp/third_party/autobanh/lib/autobanh.jar', 426 'examples/androidapp/third_party/autobanh/lib/autobanh.jar',
427 ], 427 ],
428 'native_lib_target': 'libjingle_peerconnection_so', 428 'native_lib_target': 'libjingle_peerconnection_so',
429 'add_to_dependents_classpaths':1, 429 'add_to_dependents_classpaths':1,
430 }, 430 },
431 'includes': [ '../build/java_apk.gypi' ], 431 'includes': [ '../build/java_apk.gypi' ],
432 }, # target AppRTCDemo 432 }, # target AppRTCMobile
433 433
434 { 434 {
435 # AppRTCDemo creates a .jar as a side effect. Any java targets 435 # AppRTCMobile creates a .jar as a side effect. Any java targets
436 # that need that .jar in their classpath should depend on this target, 436 # that need that .jar in their classpath should depend on this target,
437 # AppRTCDemo_apk. Dependents of AppRTCDemo_apk receive its 437 # AppRTCMobile_apk. Dependents of AppRTCMobile_apk receive its
438 # jar path in the variable 'apk_output_jar_path'. 438 # jar path in the variable 'apk_output_jar_path'.
439 # This target should only be used by targets which instrument 439 # This target should only be used by targets which instrument
440 # AppRTCDemo_apk. 440 # AppRTCMobile_apk.
441 'target_name': 'AppRTCDemo_apk', 441 'target_name': 'AppRTCMobile_apk',
442 'type': 'none', 442 'type': 'none',
443 'dependencies': [ 443 'dependencies': [
444 'AppRTCDemo', 444 'AppRTCMobile',
445 ], 445 ],
446 'includes': [ '../build/apk_fake_jar.gypi' ], 446 'includes': [ '../build/apk_fake_jar.gypi' ],
447 }, # target AppRTCDemo_apk 447 }, # target AppRTCMobile_apk
448 448
449 { 449 {
450 'target_name': 'AppRTCDemoTest', 450 'target_name': 'AppRTCMobileTest',
451 'type': 'none', 451 'type': 'none',
452 'dependencies': [ 452 'dependencies': [
453 'AppRTCDemo_apk', 453 'AppRTCMobile_apk',
454 ], 454 ],
455 'variables': { 455 'variables': {
456 'apk_name': 'AppRTCDemoTest', 456 'apk_name': 'AppRTCMobileTest',
457 'java_in_dir': 'examples/androidtests', 457 'java_in_dir': 'examples/androidtests',
458 'is_test_apk': 1, 458 'is_test_apk': 1,
459 'test_type': 'instrumentation', 459 'test_type': 'instrumentation',
460 'test_runner_path': '<(DEPTH)/webrtc/build/android/test_runner.py', 460 'test_runner_path': '<(DEPTH)/webrtc/build/android/test_runner.py',
461 }, 461 },
462 'includes': [ 462 'includes': [
463 '../build/java_apk.gypi', 463 '../build/java_apk.gypi',
464 '../build/android/test_runner.gypi', 464 '../build/android/test_runner.gypi',
465 ], 465 ],
466 }, 466 },
467 ], # targets 467 ], # targets
468 }], # OS=="android" 468 }], # OS=="android"
469 ], 469 ],
470 } 470 }
OLDNEW
« no previous file with comments | « webrtc/examples/objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698