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

Side by Side Diff: runtime/BUILD.gn

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup 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 | « pkg/pkg.status ('k') | runtime/bin/platform.h » ('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) 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 = false
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 #
22 # These settings are only used for Flutter, at the moment. A standalone build 22 # These settings are only used for Flutter, at the moment. A standalone build
23 # of the Dart VM should leave this set to "develop", and should set 23 # of the Dart VM should leave this set to "develop", and should set
24 # 'is_debug', 'is_release', or 'is_product'. 24 # 'is_debug', 'is_release', or 'is_product'.
25 dart_runtime_mode = "develop" 25 dart_runtime_mode = "develop"
26 26
27 # Explicitly set the target architecture in case of precompilation. Leaving 27 # Explicitly set the target architecture in case of precompilation. Leaving
28 # this unspecified results in automatic target architecture detection. 28 # this unspecified results in automatic target architecture detection.
29 # Available options are: arm, arm64, mips, x64 and ia32 29 # Available options are: arm, arm64, x64, and ia32
30 dart_target_arch = "" 30 dart_target_arch = ""
31 31
32 # The optimization level to use for debug builds. 32 # The optimization level to use for debug builds.
33 dart_debug_optimization_level = "2" 33 dart_debug_optimization_level = "2"
34 } 34 }
35 35
36 config("dart_public_config") { 36 config("dart_public_config") {
37 include_dirs = [ "." ] 37 include_dirs = [ "." ]
38 } 38 }
39 39
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 defines += [ "TARGET_ARCH_ARM" ] 98 defines += [ "TARGET_ARCH_ARM" ]
99 } else if (dart_target_arch == "armv6" || dart_target_arch == "simarmv6") { 99 } else if (dart_target_arch == "armv6" || dart_target_arch == "simarmv6") {
100 defines += [ "TARGET_ARCH_ARM" ] 100 defines += [ "TARGET_ARCH_ARM" ]
101 defines += [ "TARGET_ARCH_ARM_6" ] 101 defines += [ "TARGET_ARCH_ARM_6" ]
102 } else if (dart_target_arch == "armv5te" || 102 } else if (dart_target_arch == "armv5te" ||
103 dart_target_arch == "simarmv5te") { 103 dart_target_arch == "simarmv5te") {
104 defines += [ "TARGET_ARCH_ARM" ] 104 defines += [ "TARGET_ARCH_ARM" ]
105 defines += [ "TARGET_ARCH_ARM_5TE" ] 105 defines += [ "TARGET_ARCH_ARM_5TE" ]
106 } else if (dart_target_arch == "arm64" || dart_target_arch == "simarm64") { 106 } else if (dart_target_arch == "arm64" || dart_target_arch == "simarm64") {
107 defines += [ "TARGET_ARCH_ARM64" ] 107 defines += [ "TARGET_ARCH_ARM64" ]
108 } else if (dart_target_arch == "mips" || dart_target_arch == "simmips") {
109 defines += [ "TARGET_ARCH_MIPS" ]
110 } else if (dart_target_arch == "x64") { 108 } else if (dart_target_arch == "x64") {
111 defines += [ "TARGET_ARCH_X64" ] 109 defines += [ "TARGET_ARCH_X64" ]
112 } else if (dart_target_arch == "ia32") { 110 } else if (dart_target_arch == "ia32") {
113 defines += [ "TARGET_ARCH_IA32" ] 111 defines += [ "TARGET_ARCH_IA32" ]
114 } else if (dart_target_arch == "dbc" || dart_target_arch == "simdbc" || 112 } else if (dart_target_arch == "dbc" || dart_target_arch == "simdbc" ||
115 dart_target_arch == "simdbc64" || 113 dart_target_arch == "simdbc64" ||
116 dart_target_arch == "armsimdbc" || 114 dart_target_arch == "armsimdbc" ||
117 dart_target_arch == "armsimdbc64") { 115 dart_target_arch == "armsimdbc64") {
118 defines += [ "TARGET_ARCH_DBC" ] 116 defines += [ "TARGET_ARCH_DBC" ]
119 defines += [ "USING_SIMULATOR" ] 117 defines += [ "USING_SIMULATOR" ]
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 "third_party/double-conversion/src:libdouble_conversion", 294 "third_party/double-conversion/src:libdouble_conversion",
297 "vm:libdart_lib_jit", 295 "vm:libdart_lib_jit",
298 "vm:libdart_lib_nosnapshot_with_precompiler", 296 "vm:libdart_lib_nosnapshot_with_precompiler",
299 "vm:libdart_vm_jit", 297 "vm:libdart_vm_jit",
300 "vm:libdart_vm_nosnapshot_with_precompiler", 298 "vm:libdart_vm_nosnapshot_with_precompiler",
301 ] 299 ]
302 sources = [ 300 sources = [
303 "vm/libdart_dependency_helper.cc", 301 "vm/libdart_dependency_helper.cc",
304 ] 302 ]
305 } 303 }
OLDNEW
« no previous file with comments | « pkg/pkg.status ('k') | runtime/bin/platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698