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

Side by Side Diff: runtime/BUILD.gn

Issue 1982613003: Don't assume we want the iOS ABI if running simarm on Mac and the EABI otherwise. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | runtime/platform/globals.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 # 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 config("dart_config") { 97 config("dart_config") {
98 defines = [] 98 defines = []
99 99
100 if (dart_experimental_interpreter) { 100 if (dart_experimental_interpreter) {
101 dart_target_arch = "dbc" 101 dart_target_arch = "dbc"
102 } 102 }
103 103
104 if (dart_target_arch != "") { 104 if (dart_target_arch != "") {
105 if (dart_target_arch == "arm") { 105 if (dart_target_arch == "arm") {
106 defines += [ "TARGET_ARCH_ARM" ] 106 defines += [ "TARGET_ARCH_ARM" ]
107 if (target_os == "mac" || target_os == "ios") {
108 defines += [ "TARGET_ABI_IOS" ]
109 } else {
110 defines += [ "TARGET_ABI_EABI" ]
111 }
107 } else if (dart_target_arch == "arm64") { 112 } else if (dart_target_arch == "arm64") {
108 defines += [ "TARGET_ARCH_ARM64" ] 113 defines += [ "TARGET_ARCH_ARM64" ]
109 } else if (dart_target_arch == "mips") { 114 } else if (dart_target_arch == "mips") {
110 defines += [ "TARGET_ARCH_MIPS" ] 115 defines += [ "TARGET_ARCH_MIPS" ]
111 } else if (dart_target_arch == "x64") { 116 } else if (dart_target_arch == "x64") {
112 defines += [ "TARGET_ARCH_X64" ] 117 defines += [ "TARGET_ARCH_X64" ]
113 } else if (dart_target_arch == "ia32") { 118 } else if (dart_target_arch == "ia32") {
114 defines += [ "TARGET_ARCH_IA32" ] 119 defines += [ "TARGET_ARCH_IA32" ]
115 } else if (dart_target_arch == "dbc") { 120 } else if (dart_target_arch == "dbc") {
116 defines += [ "TARGET_ARCH_DBC" ] 121 defines += [ "TARGET_ARCH_DBC" ]
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 "vm:libdart_lib_nosnapshot", 223 "vm:libdart_lib_nosnapshot",
219 "vm:libdart_lib", 224 "vm:libdart_lib",
220 "vm:libdart_vm", 225 "vm:libdart_vm",
221 "vm:libdart_platform", 226 "vm:libdart_platform",
222 "third_party/double-conversion/src:libdouble_conversion", 227 "third_party/double-conversion/src:libdouble_conversion",
223 ] 228 ]
224 sources = [ 229 sources = [
225 "vm/libdart_dependency_helper.cc", 230 "vm/libdart_dependency_helper.cc",
226 ] 231 ]
227 } 232 }
OLDNEW
« no previous file with comments | « no previous file | runtime/platform/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698