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

Side by Side Diff: runtime/bin/BUILD.gn

Issue 2378953003: CoreServices is not available on iOS. Don't add it as a dependency. (Closed)
Patch Set: Created 4 years, 2 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 | no next file » | 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 Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 declare_args() { 5 declare_args() {
6 # Whether to fall back to built-in root certificates when they cannot be 6 # Whether to fall back to built-in root certificates when they cannot be
7 # verified at the operating system level. 7 # verified at the operating system level.
8 dart_use_fallback_root_certificates = false 8 dart_use_fallback_root_certificates = false
9 9
10 # The BUILD.gn file that we pull from chromium as part of zlib has a 10 # The BUILD.gn file that we pull from chromium as part of zlib has a
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 "*_macos.h", 367 "*_macos.h",
368 "*_macos.cc", 368 "*_macos.cc",
369 ] 369 ]
370 } 370 }
371 set_sources_assignment_filter(custom_sources_filter) 371 set_sources_assignment_filter(custom_sources_filter)
372 372
373 defines = [] 373 defines = []
374 if (is_mac || is_ios) { 374 if (is_mac || is_ios) {
375 libs = [ 375 libs = [
376 "CoreFoundation.framework", 376 "CoreFoundation.framework",
377 "CoreServices.framework",
378 "Security.framework", 377 "Security.framework",
379 ] 378 ]
379
380 if (is_mac) {
381 libs += [
382 "CoreServices.framework",
383 ]
384 }
380 } else if (defined(is_fuchsia) && is_fuchsia) { 385 } else if (defined(is_fuchsia) && is_fuchsia) {
381 defines += [ 386 defines += [
382 "DART_IO_SECURE_SOCKET_DISABLED" 387 "DART_IO_SECURE_SOCKET_DISABLED"
383 ] 388 ]
384 } else { 389 } else {
385 deps = [ 390 deps = [
386 "//third_party/boringssl", 391 "//third_party/boringssl",
387 ] 392 ]
388 } 393 }
389 394
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 ] 741 ]
737 include_dirs = [ 742 include_dirs = [
738 "..", 743 "..",
739 ] 744 ]
740 defines = [ 745 defines = [
741 # The only effect of DART_SHARED_LIB is to export the Dart API. 746 # The only effect of DART_SHARED_LIB is to export the Dart API.
742 "DART_SHARED_LIB", 747 "DART_SHARED_LIB",
743 ] 748 ]
744 } 749 }
745 } 750 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698