OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 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("../webrtc.gni") | 9 import("../webrtc.gni") |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 config("apprtc_common_config") { | 153 config("apprtc_common_config") { |
154 include_dirs = [ "objc/AppRTCMobile/common" ] | 154 include_dirs = [ "objc/AppRTCMobile/common" ] |
155 } | 155 } |
156 | 156 |
157 rtc_static_library("apprtc_common") { | 157 rtc_static_library("apprtc_common") { |
158 testonly = true | 158 testonly = true |
159 sources = [ | 159 sources = [ |
160 "objc/AppRTCMobile/common/ARDUtilities.h", | 160 "objc/AppRTCMobile/common/ARDUtilities.h", |
161 "objc/AppRTCMobile/common/ARDUtilities.m", | 161 "objc/AppRTCMobile/common/ARDUtilities.m", |
162 ] | 162 ] |
163 configs += [ "//build/config/compiler:enable_arc" ] | |
164 public_configs = [ ":apprtc_common_config" ] | 163 public_configs = [ ":apprtc_common_config" ] |
165 | 164 |
166 deps = [ | 165 deps = [ |
167 "//webrtc/sdk:rtc_sdk_common_objc", | 166 "//webrtc/sdk:rtc_sdk_common_objc", |
168 "//webrtc/system_wrappers:field_trial_default", | 167 "//webrtc/system_wrappers:field_trial_default", |
169 "//webrtc/system_wrappers:metrics_default", | 168 "//webrtc/system_wrappers:metrics_default", |
170 ] | 169 ] |
171 } | 170 } |
172 | 171 |
173 config("apprtc_signaling_config") { | 172 config("apprtc_signaling_config") { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 "objc/AppRTCMobile/ARDWebSocketChannel.m", | 219 "objc/AppRTCMobile/ARDWebSocketChannel.m", |
221 "objc/AppRTCMobile/RTCIceCandidate+JSON.h", | 220 "objc/AppRTCMobile/RTCIceCandidate+JSON.h", |
222 "objc/AppRTCMobile/RTCIceCandidate+JSON.m", | 221 "objc/AppRTCMobile/RTCIceCandidate+JSON.m", |
223 "objc/AppRTCMobile/RTCIceServer+JSON.h", | 222 "objc/AppRTCMobile/RTCIceServer+JSON.h", |
224 "objc/AppRTCMobile/RTCIceServer+JSON.m", | 223 "objc/AppRTCMobile/RTCIceServer+JSON.m", |
225 "objc/AppRTCMobile/RTCMediaConstraints+JSON.h", | 224 "objc/AppRTCMobile/RTCMediaConstraints+JSON.h", |
226 "objc/AppRTCMobile/RTCMediaConstraints+JSON.m", | 225 "objc/AppRTCMobile/RTCMediaConstraints+JSON.m", |
227 "objc/AppRTCMobile/RTCSessionDescription+JSON.h", | 226 "objc/AppRTCMobile/RTCSessionDescription+JSON.h", |
228 "objc/AppRTCMobile/RTCSessionDescription+JSON.m", | 227 "objc/AppRTCMobile/RTCSessionDescription+JSON.m", |
229 ] | 228 ] |
230 configs += [ "//build/config/compiler:enable_arc" ] | |
231 public_configs = [ ":apprtc_signaling_config" ] | 229 public_configs = [ ":apprtc_signaling_config" ] |
232 deps = [ | 230 deps = [ |
233 ":apprtc_common", | 231 ":apprtc_common", |
234 ":socketrocket", | 232 ":socketrocket", |
235 ] | 233 ] |
236 public_deps = [ | 234 public_deps = [ |
237 "//webrtc/sdk:rtc_sdk_peerconnection_objc", | 235 "//webrtc/sdk:rtc_sdk_peerconnection_objc", |
238 ] | 236 ] |
239 libs = [ "QuartzCore.framework" ] | 237 libs = [ "QuartzCore.framework" ] |
240 } | 238 } |
(...skipping 12 matching lines...) Expand all Loading... |
253 "objc/AppRTCMobile/ios/ARDStatsView.h", | 251 "objc/AppRTCMobile/ios/ARDStatsView.h", |
254 "objc/AppRTCMobile/ios/ARDStatsView.m", | 252 "objc/AppRTCMobile/ios/ARDStatsView.m", |
255 "objc/AppRTCMobile/ios/ARDVideoCallView.h", | 253 "objc/AppRTCMobile/ios/ARDVideoCallView.h", |
256 "objc/AppRTCMobile/ios/ARDVideoCallView.m", | 254 "objc/AppRTCMobile/ios/ARDVideoCallView.m", |
257 "objc/AppRTCMobile/ios/ARDVideoCallViewController.h", | 255 "objc/AppRTCMobile/ios/ARDVideoCallViewController.h", |
258 "objc/AppRTCMobile/ios/ARDVideoCallViewController.m", | 256 "objc/AppRTCMobile/ios/ARDVideoCallViewController.m", |
259 "objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch", | 257 "objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch", |
260 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.h", | 258 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.h", |
261 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.m", | 259 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.m", |
262 ] | 260 ] |
263 configs += [ "//build/config/compiler:enable_arc" ] | |
264 | 261 |
265 deps = [ | 262 deps = [ |
266 ":apprtc_common", | 263 ":apprtc_common", |
267 ":apprtc_signaling", | 264 ":apprtc_signaling", |
268 "//webrtc/modules/audio_device", | 265 "//webrtc/modules/audio_device", |
269 ] | 266 ] |
270 } | 267 } |
271 | 268 |
272 ios_app_bundle("AppRTCMobile") { | 269 ios_app_bundle("AppRTCMobile") { |
273 testonly = true | 270 testonly = true |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 | 327 |
331 if (is_mac) { | 328 if (is_mac) { |
332 rtc_static_library("AppRTCMobile_lib") { | 329 rtc_static_library("AppRTCMobile_lib") { |
333 testonly = true | 330 testonly = true |
334 sources = [ | 331 sources = [ |
335 "objc/AppRTCMobile/mac/APPRTCAppDelegate.h", | 332 "objc/AppRTCMobile/mac/APPRTCAppDelegate.h", |
336 "objc/AppRTCMobile/mac/APPRTCAppDelegate.m", | 333 "objc/AppRTCMobile/mac/APPRTCAppDelegate.m", |
337 "objc/AppRTCMobile/mac/APPRTCViewController.h", | 334 "objc/AppRTCMobile/mac/APPRTCViewController.h", |
338 "objc/AppRTCMobile/mac/APPRTCViewController.m", | 335 "objc/AppRTCMobile/mac/APPRTCViewController.m", |
339 ] | 336 ] |
340 configs += [ | 337 configs += [ "//webrtc:common_objc" ] |
341 "//webrtc:common_objc", | |
342 "//build/config/compiler:enable_arc", | |
343 ] | |
344 deps = [ | 338 deps = [ |
345 ":apprtc_common", | 339 ":apprtc_common", |
346 ":apprtc_signaling", | 340 ":apprtc_signaling", |
347 ] | 341 ] |
348 } | 342 } |
349 | 343 |
350 mac_app_bundle("AppRTCMobile") { | 344 mac_app_bundle("AppRTCMobile") { |
351 testonly = true | 345 testonly = true |
352 output_name = "AppRTCMobile" | 346 output_name = "AppRTCMobile" |
353 | 347 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 "-Wno-objc-missing-property-synthesis", | 381 "-Wno-objc-missing-property-synthesis", |
388 ] | 382 ] |
389 } | 383 } |
390 | 384 |
391 rtc_static_library("socketrocket") { | 385 rtc_static_library("socketrocket") { |
392 testonly = true | 386 testonly = true |
393 sources = [ | 387 sources = [ |
394 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h", | 388 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h", |
395 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m", | 389 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m", |
396 ] | 390 ] |
397 configs += [ | 391 configs += [ ":socketrocket_warning_config" ] |
398 "//build/config/compiler:enable_arc", | |
399 ":socketrocket_warning_config", | |
400 ] | |
401 public_configs = [ ":socketrocket_include_config" ] | 392 public_configs = [ ":socketrocket_include_config" ] |
402 | 393 |
403 libs = [ | 394 libs = [ |
404 "CFNetwork.framework", | 395 "CFNetwork.framework", |
405 "icucore", | 396 "icucore", |
406 ] | 397 ] |
407 } | 398 } |
408 | 399 |
409 if (rtc_include_tests) { | 400 if (rtc_include_tests) { |
410 # TODO(kthelgason): compile xctests on mac when chromium supports it. | 401 # TODO(kthelgason): compile xctests on mac when chromium supports it. |
(...skipping 12 matching lines...) Expand all Loading... |
423 ] | 414 ] |
424 deps = [ | 415 deps = [ |
425 "//webrtc/base:rtc_base", | 416 "//webrtc/base:rtc_base", |
426 ] | 417 ] |
427 public_deps = [ | 418 public_deps = [ |
428 ":AppRTCMobile_ios_frameworks", | 419 ":AppRTCMobile_ios_frameworks", |
429 ":AppRTCMobile_lib", | 420 ":AppRTCMobile_lib", |
430 "//build/config/ios:xctest", | 421 "//build/config/ios:xctest", |
431 "//third_party/ocmock", | 422 "//third_party/ocmock", |
432 ] | 423 ] |
433 configs += [ "//build/config/compiler:enable_arc" ] | |
434 } | 424 } |
435 | 425 |
436 rtc_ios_xctest_test("apprtcmobile_tests") { | 426 rtc_ios_xctest_test("apprtcmobile_tests") { |
437 info_plist = "objc/AppRTCMobile/ios/Info.plist" | 427 info_plist = "objc/AppRTCMobile/ios/Info.plist" |
438 sources = [ | 428 sources = [ |
439 "objc/AppRTCMobile/ios/main.m", | 429 "objc/AppRTCMobile/ios/main.m", |
440 ] | 430 ] |
441 deps = [ | 431 deps = [ |
442 ":apprtcmobile_test_sources", | 432 ":apprtcmobile_test_sources", |
443 ] | 433 ] |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 | 621 |
632 deps = [ | 622 deps = [ |
633 "../base:rtc_base", | 623 "../base:rtc_base", |
634 "../base:rtc_base_approved", | 624 "../base:rtc_base_approved", |
635 "../p2p:libstunprober", | 625 "../p2p:libstunprober", |
636 "../p2p:rtc_p2p", | 626 "../p2p:rtc_p2p", |
637 "../system_wrappers:field_trial_default", | 627 "../system_wrappers:field_trial_default", |
638 ] | 628 ] |
639 } | 629 } |
640 } | 630 } |
OLD | NEW |