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

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

Issue 2536273002: GN: Reset default for fallback root certs to false. (Closed)
Patch Set: Created 4 years 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 | runtime/bin/secure_socket_boringssl.cc » ('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 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 import("gypi_contents.gni") 5 import("gypi_contents.gni")
6 6
7 declare_args() { 7 declare_args() {
8 # Whether to fall back to built-in root certificates when they cannot be 8 # Whether to fall back to built-in root certificates when they cannot be
9 # verified at the operating system level. 9 # verified at the operating system level.
10 dart_use_fallback_root_certificates = true 10 dart_use_fallback_root_certificates = false
11 11
12 # The BUILD.gn file that we pull from chromium as part of zlib has a 12 # The BUILD.gn file that we pull from chromium as part of zlib has a
13 # dependence on //base, which we don't pull in. In a standalone build of the 13 # dependence on //base, which we don't pull in. In a standalone build of the
14 # VM, we set this to //runtime/bin/zlib where we have a BUILD.gn file without 14 # VM, we set this to //runtime/bin/zlib where we have a BUILD.gn file without
15 # a dependence on //base. 15 # a dependence on //base.
16 dart_zlib_path = "//third_party/zlib" 16 dart_zlib_path = "//third_party/zlib"
17 17
18 # Whether to link the standalone VM against tcmalloc. The standalone build of 18 # Whether to link the standalone VM against tcmalloc. The standalone build of
19 # the VM enables this only for Linux builds. 19 # the VM enables this only for Linux builds.
20 dart_use_tcmalloc = false 20 dart_use_tcmalloc = false
21 } 21 }
22 22
23 # TODO(zra): Remove this when Fuchsia has a root cert cache on the filesystem.
24 if (defined(is_fuchsia) && is_fuchsia) {
25 dart_use_fallback_root_certificates = true
26 }
27
23 # Generate a resources.cc file for the service isolate without Observatory. 28 # Generate a resources.cc file for the service isolate without Observatory.
24 action("gen_resources_cc") { 29 action("gen_resources_cc") {
25 visibility = [ ":*" ] # Only targets in this file can see this. 30 visibility = [ ":*" ] # Only targets in this file can see this.
26 script = "../tools/create_resources.py" 31 script = "../tools/create_resources.py"
27 inputs = [ 32 inputs = [
28 "../tools/create_resources.py", 33 "../tools/create_resources.py",
29 ] 34 ]
30 35
31 # The path below is hard coded for the Mojo and Flutter trees. When moving 36 # The path below is hard coded for the Mojo and Flutter trees. When moving
32 # the Dart runtime to gn, this path might need to be updated. 37 # the Dart runtime to gn, this path might need to be updated.
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 # The only effect of DART_SHARED_LIB is to export the Dart API. 844 # The only effect of DART_SHARED_LIB is to export the Dart API.
840 "DART_SHARED_LIB", 845 "DART_SHARED_LIB",
841 ] 846 ]
842 if (is_win) { 847 if (is_win) {
843 libs = [ "dart.lib" ] 848 libs = [ "dart.lib" ]
844 abs_root_out_dir = rebase_path(root_out_dir) 849 abs_root_out_dir = rebase_path(root_out_dir)
845 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 850 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
846 } 851 }
847 } 852 }
848 } 853 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/secure_socket_boringssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698