| 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 import("runtime_args.gni") | 5 import("runtime_args.gni") |
| 6 | 6 |
| 7 declare_args() { | 7 declare_args() { |
| 8 # Instead of using is_debug, we introduce a different flag for specifying a | 8 # Instead of using is_debug, we introduce a different flag for specifying a |
| 9 # Debug build of Dart so that clients can still use a Release build of Dart | 9 # Debug build of Dart so that clients can still use a Release build of Dart |
| 10 # while themselves doing a Debug build. | 10 # while themselves doing a Debug build. |
| 11 dart_debug = false | 11 dart_debug = is_debug |
| 12 | 12 |
| 13 # Set the runtime mode. This affects how the runtime is built and what | 13 # Set the runtime mode. This affects how the runtime is built and what |
| 14 # features it has. Valid values are: | 14 # features it has. Valid values are: |
| 15 # 'develop' (the default) - VM is built to run as a JIT with all development | 15 # 'develop' (the default) - VM is built to run as a JIT with all development |
| 16 # features enabled. | 16 # features enabled. |
| 17 # 'profile' - The VM is built to run with AOT compiled code with only the | 17 # 'profile' - The VM is built to run with AOT compiled code with only the |
| 18 # CPU profiling features enabled. | 18 # CPU profiling features enabled. |
| 19 # 'release' - The VM is built to run with AOT compiled code with no developer | 19 # 'release' - The VM is built to run with AOT compiled code with no developer |
| 20 # features enabled. | 20 # features enabled. |
| 21 # | 21 # |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 "third_party/double-conversion/src:libdouble_conversion", | 290 "third_party/double-conversion/src:libdouble_conversion", |
| 291 "vm:libdart_lib_jit", | 291 "vm:libdart_lib_jit", |
| 292 "vm:libdart_lib_nosnapshot_with_precompiler", | 292 "vm:libdart_lib_nosnapshot_with_precompiler", |
| 293 "vm:libdart_vm_jit", | 293 "vm:libdart_vm_jit", |
| 294 "vm:libdart_vm_nosnapshot_with_precompiler", | 294 "vm:libdart_vm_nosnapshot_with_precompiler", |
| 295 ] | 295 ] |
| 296 sources = [ | 296 sources = [ |
| 297 "vm/libdart_dependency_helper.cc", | 297 "vm/libdart_dependency_helper.cc", |
| 298 ] | 298 ] |
| 299 } | 299 } |
| OLD | NEW |