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 # TODO(zra): These build arguments should likely be moved to a gni file that is | 5 # TODO(zra): These build arguments should likely be moved to a gni file that is |
6 # included in BUILD.gn files that care about the values of the flags. For now, | 6 # included in BUILD.gn files that care about the values of the flags. For now, |
7 # since the GN build only happens as part of a Mojo build there is no need for | 7 # since the GN build only happens as part of a Mojo build there is no need for |
8 # the indirection. | 8 # the indirection. |
9 declare_args() { | 9 declare_args() { |
10 # Instead of using is_debug, we introduce a different flag for specifying a | 10 # Instead of using is_debug, we introduce a different flag for specifying a |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 } | 87 } |
88 } | 88 } |
89 } | 89 } |
90 | 90 |
91 # Controls DART_PRECOMPILER #define. | 91 # Controls DART_PRECOMPILER #define. |
92 config("dart_precompiler_config") { | 92 config("dart_precompiler_config") { |
93 defines = [] | 93 defines = [] |
94 defines += ["DART_PRECOMPILER"] | 94 defines += ["DART_PRECOMPILER"] |
95 } | 95 } |
96 | 96 |
| 97 config("dart_no_snapshot_config") { |
| 98 defines = [] |
| 99 defines += ["DART_NO_SNAPSHOT"] |
| 100 } |
| 101 |
97 config("dart_config") { | 102 config("dart_config") { |
98 defines = [] | 103 defines = [] |
99 | 104 |
100 if (dart_experimental_interpreter) { | 105 if (dart_experimental_interpreter) { |
101 dart_target_arch = "dbc" | 106 dart_target_arch = "dbc" |
102 } | 107 } |
103 | 108 |
104 if (dart_target_arch != "") { | 109 if (dart_target_arch != "") { |
105 if (dart_target_arch == "arm") { | 110 if (dart_target_arch == "arm") { |
106 defines += [ "TARGET_ARCH_ARM" ] | 111 defines += [ "TARGET_ARCH_ARM" ] |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 "vm:libdart_lib_nosnapshot", | 228 "vm:libdart_lib_nosnapshot", |
224 "vm:libdart_lib", | 229 "vm:libdart_lib", |
225 "vm:libdart_vm", | 230 "vm:libdart_vm", |
226 "vm:libdart_platform", | 231 "vm:libdart_platform", |
227 "third_party/double-conversion/src:libdouble_conversion", | 232 "third_party/double-conversion/src:libdouble_conversion", |
228 ] | 233 ] |
229 sources = [ | 234 sources = [ |
230 "vm/libdart_dependency_helper.cc", | 235 "vm/libdart_dependency_helper.cc", |
231 ] | 236 ] |
232 } | 237 } |
OLD | NEW |