From f8915309d94fe6baa89fcd65ca76f7534a2fa85e Mon Sep 17 00:00:00 2001 From: Ryan Macnak Date: Tue, 13 May 2025 23:43:02 -0700 Subject: [PATCH] [build] Build libcxx ourselves for Mac ASAN too. Bug: https://github.com/dart-lang/sdk/issues/60720 Change-Id: I5158610702dd2d3da7146187dc895f8303eb92be Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428400 Commit-Queue: Daco Harkes Reviewed-by: Daco Harkes --- build/config/BUILDCONFIG.gn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn index a5a107cf861..fb1cdc7a0b0 100644 --- a/build/config/BUILDCONFIG.gn +++ b/build/config/BUILDCONFIG.gn @@ -256,7 +256,8 @@ if (current_os == "win") { # BUILD OPTIONS # ============================================================================= -use_flutter_cxx = is_clang && (is_msan || is_tsan || is_ios) +use_flutter_cxx = + is_clang && ((is_asan && is_mac) || is_msan || is_tsan || is_ios) # ============================================================================= # TARGET DEFAULTS