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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 | 281 |
285 public_configs = [ | 282 public_configs = [ |
286 ":openssl_config", | 283 ":openssl_config", |
287 ":rtc_base_config", | 284 ":rtc_base_config", |
288 ] | 285 ] |
289 | 286 |
290 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] | 287 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] |
291 defines = [ "LOGGING=1" ] | 288 defines = [ "LOGGING=1" ] |
292 | 289 |
293 sources = [ | 290 sources = [ |
| 291 "applefilesystem.mm", |
294 "arraysize.h", | 292 "arraysize.h", |
295 "asyncfile.cc", | 293 "asyncfile.cc", |
296 "asyncfile.h", | 294 "asyncfile.h", |
297 "asyncinvoker-inl.h", | 295 "asyncinvoker-inl.h", |
298 "asyncinvoker.cc", | 296 "asyncinvoker.cc", |
299 "asyncinvoker.h", | 297 "asyncinvoker.h", |
300 "asyncpacketsocket.cc", | 298 "asyncpacketsocket.cc", |
301 "asyncpacketsocket.h", | 299 "asyncpacketsocket.h", |
302 "asyncresolverinterface.cc", | 300 "asyncresolverinterface.cc", |
303 "asyncresolverinterface.h", | 301 "asyncresolverinterface.h", |
(...skipping 28 matching lines...) Expand all Loading... |
332 "helpers.h", | 330 "helpers.h", |
333 "httpbase.cc", | 331 "httpbase.cc", |
334 "httpbase.h", | 332 "httpbase.h", |
335 "httpclient.cc", | 333 "httpclient.cc", |
336 "httpclient.h", | 334 "httpclient.h", |
337 "httpcommon-inl.h", | 335 "httpcommon-inl.h", |
338 "httpcommon.cc", | 336 "httpcommon.cc", |
339 "httpcommon.h", | 337 "httpcommon.h", |
340 "httprequest.cc", | 338 "httprequest.cc", |
341 "httprequest.h", | 339 "httprequest.h", |
342 "iosfilesystem.mm", | |
343 "ipaddress.cc", | 340 "ipaddress.cc", |
344 "ipaddress.h", | 341 "ipaddress.h", |
345 "linked_ptr.h", | 342 "linked_ptr.h", |
346 "messagedigest.cc", | 343 "messagedigest.cc", |
347 "messagedigest.h", | 344 "messagedigest.h", |
348 "messagehandler.cc", | 345 "messagehandler.cc", |
349 "messagehandler.h", | 346 "messagehandler.h", |
350 "messagequeue.cc", | 347 "messagequeue.cc", |
351 "messagequeue.h", | 348 "messagequeue.h", |
352 "nethelpers.cc", | 349 "nethelpers.cc", |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 "unixfilesystem.h", | 659 "unixfilesystem.h", |
663 ] | 660 ] |
664 if (is_debug) { | 661 if (is_debug) { |
665 # The Chromium build/common.gypi defines this for all posix | 662 # The Chromium build/common.gypi defines this for all posix |
666 # _except_ for ios & mac. We want it there as well, e.g. | 663 # _except_ for ios & mac. We want it there as well, e.g. |
667 # because ASSERT and friends trigger off of it. | 664 # because ASSERT and friends trigger off of it. |
668 defines += [ "_DEBUG" ] | 665 defines += [ "_DEBUG" ] |
669 } | 666 } |
670 } | 667 } |
671 | 668 |
672 if (is_ios || (is_mac && current_cpu != "x86")) { | |
673 defines += [ "CARBON_DEPRECATED=YES" ] | |
674 } | |
675 | |
676 if (is_linux || is_android) { | 669 if (is_linux || is_android) { |
677 sources += [ | 670 sources += [ |
678 "linux.cc", | 671 "linux.cc", |
679 "linux.h", | 672 "linux.h", |
680 ] | 673 ] |
681 } | 674 } |
682 | 675 |
683 if (is_nacl) { | 676 if (is_nacl) { |
684 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 677 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
685 defines += [ "timezone=_timezone" ] | 678 defines += [ "timezone=_timezone" ] |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 "java/src/org/webrtc/Logging.java", | 747 "java/src/org/webrtc/Logging.java", |
755 "java/src/org/webrtc/Size.java", | 748 "java/src/org/webrtc/Size.java", |
756 "java/src/org/webrtc/ThreadUtils.java", | 749 "java/src/org/webrtc/ThreadUtils.java", |
757 ] | 750 ] |
758 | 751 |
759 deps = [ | 752 deps = [ |
760 "//base:base_java", | 753 "//base:base_java", |
761 ] | 754 ] |
762 } | 755 } |
763 } | 756 } |
OLD | NEW |