diff --git a/engine/src/flutter/build/config/BUILD.gn b/engine/src/flutter/build/config/BUILD.gn index e313d21a16..e49a24bc23 100644 --- a/engine/src/flutter/build/config/BUILD.gn +++ b/engine/src/flutter/build/config/BUILD.gn @@ -136,7 +136,7 @@ config("feature_flags") { if (use_allocator != "tcmalloc") { defines += [ "NO_TCMALLOC" ] } - if (is_asan || is_lsan || is_tsan || is_msan) { + if (is_asan || is_lsan || is_tsan || is_msan || is_ios) { defines += [ "MEMORY_TOOL_REPLACES_ALLOCATOR", "MEMORY_SANITIZER_INITIAL_SIZE",