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