OLD | NEW |
---|---|
1 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2017, 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 # Instead of using is_debug, we introduce a different flag for specifying a | |
7 # Debug build of Dart so that clients can still use a Release build of Dart | |
8 # while themselves doing a Debug build. | |
9 dart_debug = false | |
10 | |
11 # Set the runtime mode. This affects how the runtime is built and what | |
rmacnak
2017/06/30 00:38:00
TODO(rmacnak): dart_runtime_mode no longer selects
zra
2017/06/30 14:55:46
Done.
| |
12 # features it has. Valid values are: | |
13 # 'develop' (the default) - VM is built to run as a JIT with all development | |
14 # features enabled. | |
15 # 'profile' - The VM is built to run with AOT compiled code with only the | |
16 # CPU profiling features enabled. | |
17 # 'release' - The VM is built to run with AOT compiled code with no developer | |
18 # features enabled. | |
19 # | |
20 # These settings are only used for Flutter, at the moment. A standalone build | |
21 # of the Dart VM should leave this set to "develop", and should set | |
22 # 'is_debug', 'is_release', or 'is_product'. | |
23 dart_runtime_mode = "develop" | |
24 | |
25 # Explicitly set the target architecture in case of precompilation. Leaving | |
26 # this unspecified results in automatic target architecture detection. | |
27 # Available options are: arm, arm64, x64, and ia32 | |
rmacnak
2017/06/30 00:38:00
dbc
zra
2017/06/30 14:55:46
Done.
| |
28 dart_target_arch = "" | |
29 | |
30 # The optimization level to use for debug builds. | |
31 dart_debug_optimization_level = "2" | |
32 | |
6 # Whether to fall back to built-in root certificates when they cannot be | 33 # Whether to fall back to built-in root certificates when they cannot be |
7 # verified at the operating system level. | 34 # verified at the operating system level. |
8 dart_use_fallback_root_certificates = false | 35 dart_use_fallback_root_certificates = false |
9 | 36 |
10 # The BUILD.gn file that we pull from chromium as part of zlib has a | 37 # The BUILD.gn file that we pull from chromium as part of zlib has a |
11 # dependence on //base, which we don't pull in. In a standalone build of the | 38 # dependence on //base, which we don't pull in. In a standalone build of the |
12 # VM, we set this to //runtime/bin/zlib where we have a BUILD.gn file without | 39 # VM, we set this to //runtime/bin/zlib where we have a BUILD.gn file without |
13 # a dependence on //base. | 40 # a dependence on //base. |
14 dart_zlib_path = "//third_party/zlib" | 41 dart_zlib_path = "//third_party/zlib" |
15 | 42 |
16 # Whether to link the standalone VM against tcmalloc. The standalone build of | 43 # Whether to link the standalone VM against tcmalloc. The standalone build of |
17 # the VM enables this only for Linux builds. | 44 # the VM enables this only for Linux builds. |
18 dart_use_tcmalloc = false | 45 dart_use_tcmalloc = false |
19 } | 46 } |
OLD | NEW |