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 9cc7ec8 commit 4167867Copy full SHA for 4167867
runtime/BUILD.gn
@@ -67,11 +67,9 @@ config("dart_nosnapshot_config") {
67
config("dart_os_config") {
68
defines = []
69
70
- # If dart_host_toolchain is the current toolchain, and it is different from
71
- # host_toolchain, then we are building the SDK for the host, and should not
72
- # hardcode these defines.
73
- if (current_toolchain != dart_host_toolchain ||
74
- host_toolchain == dart_host_toolchain) {
+ # If dart_host_toolchain is the current toolchain then we are building
+ # the SDK for the host, and should not hardcode these defines.
+ if (current_toolchain != dart_host_toolchain) {
75
if (target_os == "android") {
76
defines += [ "TARGET_OS_ANDROID" ]
77
} else if (target_os == "fuchsia") {
0 commit comments