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

Side by Side Diff: runtime/runtime_args.gni

Issue 2980023002: GN: Change the default meaning of dart_target_arch from current_cpu to target_cpu. (Closed)
Patch Set: gn format Created 3 years, 5 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 | « runtime/BUILD.gn ('k') | tools/gn.py » ('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) 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 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 7 # Debug build of Dart so that clients can still use a Release build of Dart
8 # while themselves doing a Debug build. 8 # while themselves doing a Debug build.
9 dart_debug = false 9 dart_debug = false
10 10
11 # Set the runtime mode. This affects how the runtime is built and what 11 # Set the runtime mode. This affects how the runtime is built and what
12 # features it has. Valid values are: 12 # features it has. Valid values are:
13 # 'develop' (the default) - VM is built to run as a JIT with all development 13 # 'develop' (the default) - VM is built to run as a JIT with all development
14 # features enabled. 14 # features enabled.
15 # 'profile' - The VM is built to run with AOT compiled code with only the 15 # 'profile' - The VM is built to run with AOT compiled code with only the
16 # CPU profiling features enabled. 16 # CPU profiling features enabled.
17 # 'release' - The VM is built to run with AOT compiled code with no developer 17 # 'release' - The VM is built to run with AOT compiled code with no developer
18 # features enabled. 18 # features enabled.
19 # 19 #
20 # These settings are only used for Flutter, at the moment. A standalone build 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 21 # of the Dart VM should leave this set to "develop", and should set
22 # 'is_debug', 'is_release', or 'is_product'. 22 # 'is_debug', 'is_release', or 'is_product'.
23 # 23 #
24 # TODO(rmacnak): dart_runtime_mode no longer selects whether libdart is build 24 # TODO(rmacnak): dart_runtime_mode no longer selects whether libdart is build
25 # for JIT or AOT, since libdart waw split into libdart_jit and 25 # for JIT or AOT, since libdart waw split into libdart_jit and
26 # libdart_precompiled_runtime. We should remove this flag and just set 26 # libdart_precompiled_runtime. We should remove this flag and just set
27 # dart_debug/dart_product. 27 # dart_debug/dart_product.
28 dart_runtime_mode = "develop" 28 dart_runtime_mode = "develop"
29 29
30 # Explicitly set the target architecture in case of precompilation. Leaving 30 # Explicitly set the target architecture to use a simulator.
31 # this unspecified results in automatic target architecture detection.
32 # Available options are: arm, arm64, x64, ia32, and dbc. 31 # Available options are: arm, arm64, x64, ia32, and dbc.
33 dart_target_arch = "" 32 dart_target_arch = target_cpu
34 33
35 # The optimization level to use for debug builds. 34 # The optimization level to use for debug builds.
36 dart_debug_optimization_level = "2" 35 dart_debug_optimization_level = "2"
37 36
38 # Whether to fall back to built-in root certificates when they cannot be 37 # Whether to fall back to built-in root certificates when they cannot be
39 # verified at the operating system level. 38 # verified at the operating system level.
40 dart_use_fallback_root_certificates = false 39 dart_use_fallback_root_certificates = false
41 40
42 # The BUILD.gn file that we pull from chromium as part of zlib has a 41 # The BUILD.gn file that we pull from chromium as part of zlib has a
43 # dependence on //base, which we don't pull in. In a standalone build of the 42 # dependence on //base, which we don't pull in. In a standalone build of the
44 # VM, we set this to //runtime/bin/zlib where we have a BUILD.gn file without 43 # VM, we set this to //runtime/bin/zlib where we have a BUILD.gn file without
45 # a dependence on //base. 44 # a dependence on //base.
46 dart_zlib_path = "//third_party/zlib" 45 dart_zlib_path = "//third_party/zlib"
47 46
48 # Whether to link the standalone VM against tcmalloc. The standalone build of 47 # Whether to link the standalone VM against tcmalloc. The standalone build of
49 # the VM enables this only for Linux builds. 48 # the VM enables this only for Linux builds.
50 dart_use_tcmalloc = false 49 dart_use_tcmalloc = false
51 } 50 }
OLDNEW
« no previous file with comments | « runtime/BUILD.gn ('k') | tools/gn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698