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

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

Issue 2327573002: Reland of move all reference to carbon api (Closed)
Patch Set: _actually_ fix chrome build Created 4 years, 3 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 | « webrtc/BUILD.gn ('k') | webrtc/base/applefilesystem.mm » ('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) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ] 56 ]
57 } 57 }
58 if (is_mac) { 58 if (is_mac) {
59 libs = [ 59 libs = [
60 "Cocoa.framework", 60 "Cocoa.framework",
61 "Foundation.framework", 61 "Foundation.framework",
62 "IOKit.framework", 62 "IOKit.framework",
63 "Security.framework", 63 "Security.framework",
64 "SystemConfiguration.framework", 64 "SystemConfiguration.framework",
65 ] 65 ]
66 if (current_cpu == "x86") {
67 libs += [ "Carbon.framework" ]
68 }
69 } 66 }
70 } 67 }
71 68
72 if (is_linux && !build_with_chromium) { 69 if (is_linux && !build_with_chromium) {
73 # Provides the same functionality as the //crypto:platform target, which 70 # Provides the same functionality as the //crypto:platform target, which
74 # WebRTC cannot use as we don't sync src/crypto from Chromium. 71 # WebRTC cannot use as we don't sync src/crypto from Chromium.
75 group("linux_system_ssl") { 72 group("linux_system_ssl") {
76 deps = [ 73 deps = [
77 "//third_party/boringssl", 74 "//third_party/boringssl",
78 ] 75 ]
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 279
283 public_configs = [ 280 public_configs = [
284 ":openssl_config", 281 ":openssl_config",
285 ":rtc_base_config", 282 ":rtc_base_config",
286 ] 283 ]
287 284
288 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] 285 all_dependent_configs = [ ":rtc_base_all_dependent_config" ]
289 defines = [ "LOGGING=1" ] 286 defines = [ "LOGGING=1" ]
290 287
291 sources = [ 288 sources = [
289 "applefilesystem.mm",
292 "arraysize.h", 290 "arraysize.h",
293 "asyncfile.cc", 291 "asyncfile.cc",
294 "asyncfile.h", 292 "asyncfile.h",
295 "asyncinvoker-inl.h", 293 "asyncinvoker-inl.h",
296 "asyncinvoker.cc", 294 "asyncinvoker.cc",
297 "asyncinvoker.h", 295 "asyncinvoker.h",
298 "asyncpacketsocket.cc", 296 "asyncpacketsocket.cc",
299 "asyncpacketsocket.h", 297 "asyncpacketsocket.h",
300 "asyncresolverinterface.cc", 298 "asyncresolverinterface.cc",
301 "asyncresolverinterface.h", 299 "asyncresolverinterface.h",
(...skipping 28 matching lines...) Expand all
330 "helpers.h", 328 "helpers.h",
331 "httpbase.cc", 329 "httpbase.cc",
332 "httpbase.h", 330 "httpbase.h",
333 "httpclient.cc", 331 "httpclient.cc",
334 "httpclient.h", 332 "httpclient.h",
335 "httpcommon-inl.h", 333 "httpcommon-inl.h",
336 "httpcommon.cc", 334 "httpcommon.cc",
337 "httpcommon.h", 335 "httpcommon.h",
338 "httprequest.cc", 336 "httprequest.cc",
339 "httprequest.h", 337 "httprequest.h",
340 "iosfilesystem.mm",
341 "ipaddress.cc", 338 "ipaddress.cc",
342 "ipaddress.h", 339 "ipaddress.h",
343 "linked_ptr.h", 340 "linked_ptr.h",
344 "messagedigest.cc", 341 "messagedigest.cc",
345 "messagedigest.h", 342 "messagedigest.h",
346 "messagehandler.cc", 343 "messagehandler.cc",
347 "messagehandler.h", 344 "messagehandler.h",
348 "messagequeue.cc", 345 "messagequeue.cc",
349 "messagequeue.h", 346 "messagequeue.h",
350 "nethelpers.cc", 347 "nethelpers.cc",
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 "unixfilesystem.h", 657 "unixfilesystem.h",
661 ] 658 ]
662 if (is_debug) { 659 if (is_debug) {
663 # The Chromium build/common.gypi defines this for all posix 660 # The Chromium build/common.gypi defines this for all posix
664 # _except_ for ios & mac. We want it there as well, e.g. 661 # _except_ for ios & mac. We want it there as well, e.g.
665 # because ASSERT and friends trigger off of it. 662 # because ASSERT and friends trigger off of it.
666 defines += [ "_DEBUG" ] 663 defines += [ "_DEBUG" ]
667 } 664 }
668 } 665 }
669 666
670 if (is_ios || (is_mac && current_cpu != "x86")) {
671 defines += [ "CARBON_DEPRECATED=YES" ]
672 }
673
674 if (is_linux || is_android) { 667 if (is_linux || is_android) {
675 sources += [ 668 sources += [
676 "linux.cc", 669 "linux.cc",
677 "linux.h", 670 "linux.h",
678 ] 671 ]
679 } 672 }
680 673
681 if (is_nacl) { 674 if (is_nacl) {
682 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] 675 deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
683 defines += [ "timezone=_timezone" ] 676 defines += [ "timezone=_timezone" ]
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 "java/src/org/webrtc/Logging.java", 745 "java/src/org/webrtc/Logging.java",
753 "java/src/org/webrtc/Size.java", 746 "java/src/org/webrtc/Size.java",
754 "java/src/org/webrtc/ThreadUtils.java", 747 "java/src/org/webrtc/ThreadUtils.java",
755 ] 748 ]
756 749
757 deps = [ 750 deps = [
758 "//base:base_java", 751 "//base:base_java",
759 ] 752 ]
760 } 753 }
761 } 754 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/base/applefilesystem.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698