| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |