From 4ed1e884f22d41cd9769e4e51a784bfd055d12fa Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Tue, 29 Oct 2024 18:57:35 +0100 Subject: [PATCH] [darwin-framework-tool] Enable leak checking by default if built for mac with ASan disabled (#36282) --- examples/darwin-framework-tool/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/darwin-framework-tool/BUILD.gn b/examples/darwin-framework-tool/BUILD.gn index 1c492ba10a1241..f5333c9f42c4e1 100644 --- a/examples/darwin-framework-tool/BUILD.gn +++ b/examples/darwin-framework-tool/BUILD.gn @@ -45,7 +45,7 @@ declare_args() { generate_compilation_database = false # Enable automatic leak checks before the application exits - enable_leak_checking = false + enable_leak_checking = !is_asan && target_os == "mac" } sdk = "macosx"