| 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 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 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 defines += [ "TARGET_ABI_EABI" ] | 122 defines += [ "TARGET_ABI_EABI" ] |
| 123 } else if (dart_target_arch == "arm64" || dart_target_arch == "simarm64") { | 123 } else if (dart_target_arch == "arm64" || dart_target_arch == "simarm64") { |
| 124 defines += [ "TARGET_ARCH_ARM64" ] | 124 defines += [ "TARGET_ARCH_ARM64" ] |
| 125 } else if (dart_target_arch == "mips" || dart_target_arch == "simmips") { | 125 } else if (dart_target_arch == "mips" || dart_target_arch == "simmips") { |
| 126 defines += [ "TARGET_ARCH_MIPS" ] | 126 defines += [ "TARGET_ARCH_MIPS" ] |
| 127 } else if (dart_target_arch == "x64") { | 127 } else if (dart_target_arch == "x64") { |
| 128 defines += [ "TARGET_ARCH_X64" ] | 128 defines += [ "TARGET_ARCH_X64" ] |
| 129 } else if (dart_target_arch == "ia32") { | 129 } else if (dart_target_arch == "ia32") { |
| 130 defines += [ "TARGET_ARCH_IA32" ] | 130 defines += [ "TARGET_ARCH_IA32" ] |
| 131 } else if (dart_target_arch == "dbc" || dart_target_arch == "simdbc" || | 131 } else if (dart_target_arch == "dbc" || dart_target_arch == "simdbc" || |
| 132 dart_target_arch == "simdbc64") { | 132 dart_target_arch == "simdbc64" || |
| 133 dart_target_arch == "armsimdbc" || |
| 134 dart_target_arch == "armsimdbc64") { |
| 133 defines += [ "TARGET_ARCH_DBC" ] | 135 defines += [ "TARGET_ARCH_DBC" ] |
| 134 defines += [ "USING_SIMULATOR" ] | 136 defines += [ "USING_SIMULATOR" ] |
| 135 } else { | 137 } else { |
| 136 print("Invalid |dart_target_arch|") | 138 print("Invalid $dart_target_arch") |
| 137 assert(false) | 139 assert(false) |
| 138 } | 140 } |
| 139 } | 141 } |
| 140 | 142 |
| 141 if (dart_debug) { | 143 if (dart_debug) { |
| 142 defines += [ "DEBUG" ] | 144 defines += [ "DEBUG" ] |
| 143 } else { | 145 } else { |
| 144 defines += [ "NDEBUG" ] | 146 defines += [ "NDEBUG" ] |
| 145 } | 147 } |
| 146 | 148 |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 "third_party/double-conversion/src:libdouble_conversion", | 294 "third_party/double-conversion/src:libdouble_conversion", |
| 293 "vm:libdart_lib", | 295 "vm:libdart_lib", |
| 294 "vm:libdart_lib_nosnapshot", | 296 "vm:libdart_lib_nosnapshot", |
| 295 "vm:libdart_vm", | 297 "vm:libdart_vm", |
| 296 "vm:libdart_vm_nosnapshot", | 298 "vm:libdart_vm_nosnapshot", |
| 297 ] | 299 ] |
| 298 sources = [ | 300 sources = [ |
| 299 "vm/libdart_dependency_helper.cc", | 301 "vm/libdart_dependency_helper.cc", |
| 300 ] | 302 ] |
| 301 } | 303 } |
| OLD | NEW |