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

Side by Side Diff: webrtc/examples/BUILD.gn

Issue 2778163002: GN: Enable ARC for Mac and iOS in rtc_* templates (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | webrtc/sdk/BUILD.gn » ('j') | 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) 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 config("apprtc_common_config") { 170 config("apprtc_common_config") {
171 include_dirs = [ "objc/AppRTCMobile/common" ] 171 include_dirs = [ "objc/AppRTCMobile/common" ]
172 } 172 }
173 173
174 rtc_static_library("apprtc_common") { 174 rtc_static_library("apprtc_common") {
175 testonly = true 175 testonly = true
176 sources = [ 176 sources = [
177 "objc/AppRTCMobile/common/ARDUtilities.h", 177 "objc/AppRTCMobile/common/ARDUtilities.h",
178 "objc/AppRTCMobile/common/ARDUtilities.m", 178 "objc/AppRTCMobile/common/ARDUtilities.m",
179 ] 179 ]
180 configs += [ 180 configs += [ ":warnings_config" ]
181 ":warnings_config",
182 "//build/config/compiler:enable_arc",
183 ]
184 public_configs = [ ":apprtc_common_config" ] 181 public_configs = [ ":apprtc_common_config" ]
185 182
186 deps = [ 183 deps = [
187 "//webrtc/sdk:rtc_sdk_common_objc", 184 "//webrtc/sdk:rtc_sdk_common_objc",
188 "//webrtc/system_wrappers:field_trial_default", 185 "//webrtc/system_wrappers:field_trial_default",
189 "//webrtc/system_wrappers:metrics_default", 186 "//webrtc/system_wrappers:metrics_default",
190 ] 187 ]
191 } 188 }
192 189
193 config("apprtc_signaling_config") { 190 config("apprtc_signaling_config") {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 "objc/AppRTCMobile/ARDWebSocketChannel.m", 230 "objc/AppRTCMobile/ARDWebSocketChannel.m",
234 "objc/AppRTCMobile/RTCIceCandidate+JSON.h", 231 "objc/AppRTCMobile/RTCIceCandidate+JSON.h",
235 "objc/AppRTCMobile/RTCIceCandidate+JSON.m", 232 "objc/AppRTCMobile/RTCIceCandidate+JSON.m",
236 "objc/AppRTCMobile/RTCIceServer+JSON.h", 233 "objc/AppRTCMobile/RTCIceServer+JSON.h",
237 "objc/AppRTCMobile/RTCIceServer+JSON.m", 234 "objc/AppRTCMobile/RTCIceServer+JSON.m",
238 "objc/AppRTCMobile/RTCMediaConstraints+JSON.h", 235 "objc/AppRTCMobile/RTCMediaConstraints+JSON.h",
239 "objc/AppRTCMobile/RTCMediaConstraints+JSON.m", 236 "objc/AppRTCMobile/RTCMediaConstraints+JSON.m",
240 "objc/AppRTCMobile/RTCSessionDescription+JSON.h", 237 "objc/AppRTCMobile/RTCSessionDescription+JSON.h",
241 "objc/AppRTCMobile/RTCSessionDescription+JSON.m", 238 "objc/AppRTCMobile/RTCSessionDescription+JSON.m",
242 ] 239 ]
243 configs += [ 240 configs += [ ":warnings_config" ]
244 "//build/config/compiler:enable_arc",
245 ":warnings_config",
246 ]
247 public_configs = [ ":apprtc_signaling_config" ] 241 public_configs = [ ":apprtc_signaling_config" ]
248 deps = [ 242 deps = [
249 ":apprtc_common", 243 ":apprtc_common",
250 ":socketrocket", 244 ":socketrocket",
251 ] 245 ]
252 public_deps = [ 246 public_deps = [
253 "//webrtc/sdk:rtc_sdk_peerconnection_objc", 247 "//webrtc/sdk:rtc_sdk_peerconnection_objc",
254 ] 248 ]
255 libs = [ "QuartzCore.framework" ] 249 libs = [ "QuartzCore.framework" ]
256 } 250 }
(...skipping 17 matching lines...) Expand all
274 "objc/AppRTCMobile/ios/ARDStatsView.h", 268 "objc/AppRTCMobile/ios/ARDStatsView.h",
275 "objc/AppRTCMobile/ios/ARDStatsView.m", 269 "objc/AppRTCMobile/ios/ARDStatsView.m",
276 "objc/AppRTCMobile/ios/ARDVideoCallView.h", 270 "objc/AppRTCMobile/ios/ARDVideoCallView.h",
277 "objc/AppRTCMobile/ios/ARDVideoCallView.m", 271 "objc/AppRTCMobile/ios/ARDVideoCallView.m",
278 "objc/AppRTCMobile/ios/ARDVideoCallViewController.h", 272 "objc/AppRTCMobile/ios/ARDVideoCallViewController.h",
279 "objc/AppRTCMobile/ios/ARDVideoCallViewController.m", 273 "objc/AppRTCMobile/ios/ARDVideoCallViewController.m",
280 "objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch", 274 "objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch",
281 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.h", 275 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.h",
282 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.m", 276 "objc/AppRTCMobile/ios/UIImage+ARDUtilities.m",
283 ] 277 ]
284 configs += [ 278 configs += [ ":warnings_config" ]
285 "//build/config/compiler:enable_arc",
286 ":warnings_config",
287 ]
288 279
289 deps = [ 280 deps = [
290 ":apprtc_common", 281 ":apprtc_common",
291 ":apprtc_signaling", 282 ":apprtc_signaling",
292 "//webrtc/modules/audio_device", 283 "//webrtc/modules/audio_device",
293 ] 284 ]
294 } 285 }
295 286
296 ios_app_bundle("AppRTCMobile") { 287 ios_app_bundle("AppRTCMobile") {
297 testonly = true 288 testonly = true
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 345
355 if (is_mac) { 346 if (is_mac) {
356 rtc_static_library("AppRTCMobile_lib") { 347 rtc_static_library("AppRTCMobile_lib") {
357 testonly = true 348 testonly = true
358 sources = [ 349 sources = [
359 "objc/AppRTCMobile/mac/APPRTCAppDelegate.h", 350 "objc/AppRTCMobile/mac/APPRTCAppDelegate.h",
360 "objc/AppRTCMobile/mac/APPRTCAppDelegate.m", 351 "objc/AppRTCMobile/mac/APPRTCAppDelegate.m",
361 "objc/AppRTCMobile/mac/APPRTCViewController.h", 352 "objc/AppRTCMobile/mac/APPRTCViewController.h",
362 "objc/AppRTCMobile/mac/APPRTCViewController.m", 353 "objc/AppRTCMobile/mac/APPRTCViewController.m",
363 ] 354 ]
364 configs += [ 355 configs += [ "//webrtc:common_objc" ]
365 "//webrtc:common_objc",
366 "//build/config/compiler:enable_arc",
367 ]
368 deps = [ 356 deps = [
369 ":apprtc_common", 357 ":apprtc_common",
370 ":apprtc_signaling", 358 ":apprtc_signaling",
371 ] 359 ]
372 } 360 }
373 361
374 mac_app_bundle("AppRTCMobile") { 362 mac_app_bundle("AppRTCMobile") {
375 testonly = true 363 testonly = true
376 output_name = "AppRTCMobile" 364 output_name = "AppRTCMobile"
377 365
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 "-Wno-objc-missing-property-synthesis", 399 "-Wno-objc-missing-property-synthesis",
412 ] 400 ]
413 } 401 }
414 402
415 rtc_static_library("socketrocket") { 403 rtc_static_library("socketrocket") {
416 testonly = true 404 testonly = true
417 sources = [ 405 sources = [
418 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h", 406 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.h",
419 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m", 407 "objc/AppRTCMobile/third_party/SocketRocket/SRWebSocket.m",
420 ] 408 ]
421 configs += [ 409 configs += [ ":socketrocket_warning_config" ]
422 "//build/config/compiler:enable_arc",
423 ":socketrocket_warning_config",
424 ]
425 public_configs = [ ":socketrocket_include_config" ] 410 public_configs = [ ":socketrocket_include_config" ]
426 411
427 libs = [ 412 libs = [
428 "CFNetwork.framework", 413 "CFNetwork.framework",
429 "icucore", 414 "icucore",
430 ] 415 ]
431 } 416 }
432 417
433 if (rtc_include_tests) { 418 if (rtc_include_tests) {
434 # TODO(kthelgason): compile xctests on mac when chromium supports it. 419 # TODO(kthelgason): compile xctests on mac when chromium supports it.
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 640
656 deps = [ 641 deps = [
657 "../base:rtc_base", 642 "../base:rtc_base",
658 "../base:rtc_base_approved", 643 "../base:rtc_base_approved",
659 "../p2p:libstunprober", 644 "../p2p:libstunprober",
660 "../p2p:rtc_p2p", 645 "../p2p:rtc_p2p",
661 "../system_wrappers:field_trial_default", 646 "../system_wrappers:field_trial_default",
662 ] 647 ]
663 } 648 }
664 } 649 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/sdk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698