From 90123ba7e6f5aac14099bcbf2d26444351694613 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Tue, 29 Oct 2024 09:52:11 +0100 Subject: [PATCH] [darwin-framework-tool] Enable leak checking by default if built for mac with ASan disabled --- 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"