OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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("//build/config/crypto.gni") | 9 import("//build/config/crypto.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 ] | 58 ] |
59 } | 59 } |
60 if (is_mac) { | 60 if (is_mac) { |
61 libs = [ | 61 libs = [ |
62 "Cocoa.framework", | 62 "Cocoa.framework", |
63 "Foundation.framework", | 63 "Foundation.framework", |
64 "IOKit.framework", | 64 "IOKit.framework", |
65 "Security.framework", | 65 "Security.framework", |
66 "SystemConfiguration.framework", | 66 "SystemConfiguration.framework", |
67 ] | 67 ] |
68 if (current_cpu == "x86") { | |
69 libs += [ "Carbon.framework" ] | |
70 } | |
71 } | 68 } |
72 } | 69 } |
73 | 70 |
74 if (is_linux && !build_with_chromium) { | 71 if (is_linux && !build_with_chromium) { |
75 # Provides the same functionality as the //crypto:platform target, which | 72 # Provides the same functionality as the //crypto:platform target, which |
76 # WebRTC cannot use as we don't sync src/crypto from Chromium. | 73 # WebRTC cannot use as we don't sync src/crypto from Chromium. |
77 group("linux_system_ssl") { | 74 group("linux_system_ssl") { |
78 deps = [ | 75 deps = [ |
79 "//third_party/boringssl", | 76 "//third_party/boringssl", |
80 ] | 77 ] |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 public_configs = [ | 274 public_configs = [ |
278 "..:common_inherited_config", | 275 "..:common_inherited_config", |
279 ":openssl_config", | 276 ":openssl_config", |
280 ":rtc_base_config", | 277 ":rtc_base_config", |
281 ] | 278 ] |
282 | 279 |
283 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] | 280 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] |
284 defines = [ "LOGGING=1" ] | 281 defines = [ "LOGGING=1" ] |
285 | 282 |
286 sources = [ | 283 sources = [ |
| 284 "applefilesystem.mm", |
287 "arraysize.h", | 285 "arraysize.h", |
288 "asyncfile.cc", | 286 "asyncfile.cc", |
289 "asyncfile.h", | 287 "asyncfile.h", |
290 "asyncinvoker-inl.h", | 288 "asyncinvoker-inl.h", |
291 "asyncinvoker.cc", | 289 "asyncinvoker.cc", |
292 "asyncinvoker.h", | 290 "asyncinvoker.h", |
293 "asyncpacketsocket.cc", | 291 "asyncpacketsocket.cc", |
294 "asyncpacketsocket.h", | 292 "asyncpacketsocket.h", |
295 "asyncresolverinterface.cc", | 293 "asyncresolverinterface.cc", |
296 "asyncresolverinterface.h", | 294 "asyncresolverinterface.h", |
(...skipping 28 matching lines...) Expand all Loading... |
325 "helpers.h", | 323 "helpers.h", |
326 "httpbase.cc", | 324 "httpbase.cc", |
327 "httpbase.h", | 325 "httpbase.h", |
328 "httpclient.cc", | 326 "httpclient.cc", |
329 "httpclient.h", | 327 "httpclient.h", |
330 "httpcommon-inl.h", | 328 "httpcommon-inl.h", |
331 "httpcommon.cc", | 329 "httpcommon.cc", |
332 "httpcommon.h", | 330 "httpcommon.h", |
333 "httprequest.cc", | 331 "httprequest.cc", |
334 "httprequest.h", | 332 "httprequest.h", |
335 "iosfilesystem.mm", | |
336 "ipaddress.cc", | 333 "ipaddress.cc", |
337 "ipaddress.h", | 334 "ipaddress.h", |
338 "linked_ptr.h", | 335 "linked_ptr.h", |
339 "messagedigest.cc", | 336 "messagedigest.cc", |
340 "messagedigest.h", | 337 "messagedigest.h", |
341 "messagehandler.cc", | 338 "messagehandler.cc", |
342 "messagehandler.h", | 339 "messagehandler.h", |
343 "messagequeue.cc", | 340 "messagequeue.cc", |
344 "messagequeue.h", | 341 "messagequeue.h", |
345 "nethelpers.cc", | 342 "nethelpers.cc", |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 "unixfilesystem.h", | 652 "unixfilesystem.h", |
656 ] | 653 ] |
657 if (is_debug) { | 654 if (is_debug) { |
658 # The Chromium build/common.gypi defines this for all posix | 655 # The Chromium build/common.gypi defines this for all posix |
659 # _except_ for ios & mac. We want it there as well, e.g. | 656 # _except_ for ios & mac. We want it there as well, e.g. |
660 # because ASSERT and friends trigger off of it. | 657 # because ASSERT and friends trigger off of it. |
661 defines += [ "_DEBUG" ] | 658 defines += [ "_DEBUG" ] |
662 } | 659 } |
663 } | 660 } |
664 | 661 |
665 if (is_ios || (is_mac && current_cpu != "x86")) { | |
666 defines += [ "CARBON_DEPRECATED=YES" ] | |
667 } | |
668 | |
669 if (is_linux || is_android) { | 662 if (is_linux || is_android) { |
670 sources += [ | 663 sources += [ |
671 "linux.cc", | 664 "linux.cc", |
672 "linux.h", | 665 "linux.h", |
673 ] | 666 ] |
674 } | 667 } |
675 | 668 |
676 if (is_nacl) { | 669 if (is_nacl) { |
677 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 670 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
678 defines += [ "timezone=_timezone" ] | 671 defines += [ "timezone=_timezone" ] |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 "java/src/org/webrtc/Logging.java", | 746 "java/src/org/webrtc/Logging.java", |
754 "java/src/org/webrtc/Size.java", | 747 "java/src/org/webrtc/Size.java", |
755 "java/src/org/webrtc/ThreadUtils.java", | 748 "java/src/org/webrtc/ThreadUtils.java", |
756 ] | 749 ] |
757 | 750 |
758 deps = [ | 751 deps = [ |
759 "//base:base_java", | 752 "//base:base_java", |
760 ] | 753 ] |
761 } | 754 } |
762 } | 755 } |
OLD | NEW |