Index: runtime/BUILD.gn |
diff --git a/runtime/BUILD.gn b/runtime/BUILD.gn |
index e6794ec71696ac7e5ac5e63d8da733d578d7fc13..56347b7cb2cc50c7c40d0b0aaef82507d52f3fe1 100644 |
--- a/runtime/BUILD.gn |
+++ b/runtime/BUILD.gn |
@@ -156,7 +156,7 @@ config("dart_config") { |
] |
} |
- if (is_asan) { |
+ if (defined(is_asan) && is_asan) { |
ldflags = [ |
"-Wl,-u_sanitizer_options_link_helper", |
"-fsanitize=address", |