We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4895185 commit dbe8f6aCopy full SHA for dbe8f6a
runtime/BUILD.gn
@@ -67,9 +67,11 @@ config("dart_nosnapshot_config") {
67
config("dart_os_config") {
68
defines = []
69
70
- # If dart_host_toolchain is the current toolchain then we are building
71
- # the SDK for the host, and should not hardcode these defines.
72
- if (current_toolchain != dart_host_toolchain) {
+ # If dart_host_toolchain is the current toolchain, and it is different from
+ # host_toolchain, then we are building the SDK for the host, and should not
+ # hardcode these defines.
73
+ if (current_toolchain != dart_host_toolchain ||
74
+ host_toolchain == dart_host_toolchain) {
75
if (target_os == "android") {
76
defines += [ "TARGET_OS_ANDROID" ]
77
} else if (target_os == "fuchsia") {
0 commit comments