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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 "objc/AppRTCMobile/ARDWebSocketChannel.m", | 217 "objc/AppRTCMobile/ARDWebSocketChannel.m", |
219 "objc/AppRTCMobile/RTCIceCandidate+JSON.h", | 218 "objc/AppRTCMobile/RTCIceCandidate+JSON.h", |
220 "objc/AppRTCMobile/RTCIceCandidate+JSON.m", | 219 "objc/AppRTCMobile/RTCIceCandidate+JSON.m", |
221 "objc/AppRTCMobile/RTCIceServer+JSON.h", | 220 "objc/AppRTCMobile/RTCIceServer+JSON.h", |
222 "objc/AppRTCMobile/RTCIceServer+JSON.m", | 221 "objc/AppRTCMobile/RTCIceServer+JSON.m", |
223 "objc/AppRTCMobile/RTCMediaConstraints+JSON.h", | 222 "objc/AppRTCMobile/RTCMediaConstraints+JSON.h", |
224 "objc/AppRTCMobile/RTCMediaConstraints+JSON.m", | 223 "objc/AppRTCMobile/RTCMediaConstraints+JSON.m", |
225 "objc/AppRTCMobile/RTCSessionDescription+JSON.h", | 224 "objc/AppRTCMobile/RTCSessionDescription+JSON.h", |
226 "objc/AppRTCMobile/RTCSessionDescription+JSON.m", | 225 "objc/AppRTCMobile/RTCSessionDescription+JSON.m", |
227 ] | 226 ] |
228 configs += [ "//build/config/compiler:enable_arc" ] | |
229 public_configs = [ ":apprtc_signaling_config" ] | 227 public_configs = [ ":apprtc_signaling_config" ] |
230 deps = [ | 228 deps = [ |
231 ":apprtc_common", | 229 ":apprtc_common", |
232 ":socketrocket", | 230 ":socketrocket", |
233 ] | 231 ] |
234 public_deps = [ | 232 public_deps = [ |
235 "//webrtc/sdk:rtc_sdk_peerconnection_objc", | 233 "//webrtc/sdk:rtc_sdk_peerconnection_objc", |
236 ] | 234 ] |
237 libs = [ "QuartzCore.framework" ] | 235 libs = [ "QuartzCore.framework" ] |
238 } | 236 } |
(...skipping 12 matching lines...) Expand all Loading... |
251 "objc/AppRTCMobile/ios/ARDStatsView.h", | 249 "objc/AppRTCMobile/ios/ARDStatsView.h", |
252 "objc/AppRTCMobile/ios/ARDStatsView.m", | 250 "objc/AppRTCMobile/ios/ARDStatsView.m", |
253 "objc/AppRTCMobile/ios/ARDVideoCallView.h", | 251 "objc/AppRTCMobile/ios/ARDVideoCallView.h", |
254 "objc/AppRTCMobile/ios/ARDVideoCallView.m", | 252 "objc/AppRTCMobile/ios/ARDVideoCallView.m", |
255 "objc/AppRTCMobile/ios/ARDVideoCallViewController.h", | 253 "objc/AppRTCMobile/ios/ARDVideoCallViewController.h", |
256 "objc/AppRTCMobile/ios/ARDVideoCallViewController.m", | 254 "objc/AppRTCMobile/ios/ARDVideoCallViewController.m", |
257 "objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch", | 255 "objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch", |
258 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.h", | 256 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.h", |
259 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.m", | 257 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.m", |
260 ] | 258 ] |
261 configs += [ "//build/config/compiler:enable_arc" ] | |
262 | 259 |
263 deps = [ | 260 deps = [ |
264 ":apprtc_common", | 261 ":apprtc_common", |
265 ":apprtc_signaling", | 262 ":apprtc_signaling", |
266 "//webrtc/modules/audio_device", | 263 "//webrtc/modules/audio_device", |
267 ] | 264 ] |
268 } | 265 } |
269 | 266 |
270 ios_app_bundle("AppRTCMobile") { | 267 ios_app_bundle("AppRTCMobile") { |
271 testonly = true | 268 testonly = true |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 | 325 |
329 if (is_mac) { | 326 if (is_mac) { |
330 rtc_static_library("AppRTCMobile_lib") { | 327 rtc_static_library("AppRTCMobile_lib") { |
331 testonly = true | 328 testonly = true |
332 sources = [ | 329 sources = [ |
333 "objc/AppRTCMobile/mac/APPRTCAppDelegate.h", | 330 "objc/AppRTCMobile/mac/APPRTCAppDelegate.h", |
334 "objc/AppRTCMobile/mac/APPRTCAppDelegate.m", | 331 "objc/AppRTCMobile/mac/APPRTCAppDelegate.m", |
335 "objc/AppRTCMobile/mac/APPRTCViewController.h", | 332 "objc/AppRTCMobile/mac/APPRTCViewController.h", |
336 "objc/AppRTCMobile/mac/APPRTCViewController.m", | 333 "objc/AppRTCMobile/mac/APPRTCViewController.m", |
337 ] | 334 ] |
338 configs += [ | 335 configs += [ "//webrtc:common_objc" ] |
339 "//webrtc:common_objc", | |
340 "//build/config/compiler:enable_arc", | |
341 ] | |
342 deps = [ | 336 deps = [ |
343 ":apprtc_common", | 337 ":apprtc_common", |
344 ":apprtc_signaling", | 338 ":apprtc_signaling", |
345 ] | 339 ] |
346 } | 340 } |
347 | 341 |
348 mac_app_bundle("AppRTCMobile") { | 342 mac_app_bundle("AppRTCMobile") { |
349 testonly = true | 343 testonly = true |
350 output_name = "AppRTCMobile" | 344 output_name = "AppRTCMobile" |
351 | 345 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 "-Wno-objc-missing-property-synthesis", | 379 "-Wno-objc-missing-property-synthesis", |
386 ] | 380 ] |
387 } | 381 } |
388 | 382 |
389 rtc_static_library("socketrocket") { | 383 rtc_static_library("socketrocket") { |
390 testonly = true | 384 testonly = true |
391 sources = [ | 385 sources = [ |
392 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h", | 386 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h", |
393 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m", | 387 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m", |
394 ] | 388 ] |
395 configs += [ | 389 configs += [ ":socketrocket_warning_config" ] |
396 "//build/config/compiler:enable_arc", | |
397 ":socketrocket_warning_config", | |
398 ] | |
399 public_configs = [ ":socketrocket_include_config" ] | 390 public_configs = [ ":socketrocket_include_config" ] |
400 | 391 |
401 libs = [ | 392 libs = [ |
402 "CFNetwork.framework", | 393 "CFNetwork.framework", |
403 "icucore", | 394 "icucore", |
404 ] | 395 ] |
405 } | 396 } |
406 | 397 |
407 if (rtc_include_tests) { | 398 if (rtc_include_tests) { |
408 # TODO(kthelgason): compile xctests on mac when chromium supports it. | 399 # TODO(kthelgason): compile xctests on mac when chromium supports it. |
(...skipping 12 matching lines...) Expand all Loading... |
421 ] | 412 ] |
422 deps = [ | 413 deps = [ |
423 "//webrtc/base:rtc_base", | 414 "//webrtc/base:rtc_base", |
424 ] | 415 ] |
425 public_deps = [ | 416 public_deps = [ |
426 ":AppRTCMobile_ios_frameworks", | 417 ":AppRTCMobile_ios_frameworks", |
427 ":AppRTCMobile_lib", | 418 ":AppRTCMobile_lib", |
428 "//build/config/ios:xctest", | 419 "//build/config/ios:xctest", |
429 "//third_party/ocmock", | 420 "//third_party/ocmock", |
430 ] | 421 ] |
431 configs += [ "//build/config/compiler:enable_arc" ] | |
432 } | 422 } |
433 | 423 |
434 rtc_ios_xctest_test("apprtcmobile_tests") { | 424 rtc_ios_xctest_test("apprtcmobile_tests") { |
435 info_plist = "objc/AppRTCMobile/ios/Info.plist" | 425 info_plist = "objc/AppRTCMobile/ios/Info.plist" |
436 sources = [ | 426 sources = [ |
437 "objc/AppRTCMobile/ios/main.m", | 427 "objc/AppRTCMobile/ios/main.m", |
438 ] | 428 ] |
439 deps = [ | 429 deps = [ |
440 ":apprtcmobile_test_sources", | 430 ":apprtcmobile_test_sources", |
441 ] | 431 ] |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 | 619 |
630 deps = [ | 620 deps = [ |
631 "../base:rtc_base", | 621 "../base:rtc_base", |
632 "../base:rtc_base_approved", | 622 "../base:rtc_base_approved", |
633 "../p2p:libstunprober", | 623 "../p2p:libstunprober", |
634 "../p2p:rtc_p2p", | 624 "../p2p:rtc_p2p", |
635 "../system_wrappers:field_trial_default", | 625 "../system_wrappers:field_trial_default", |
636 ] | 626 ] |
637 } | 627 } |
638 } | 628 } |
OLD | NEW |