From 501bce629b1c62a4b130ffa2aaf1440f236cf7cd Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Thu, 30 May 2024 15:58:52 -0700 Subject: [PATCH] Revert "[Darwin] Disable NSAsserts in release builds. (#860)" This reverts commit 5b504e12fb1dddf1cd232ef4cfde67b153287513. --- build/config/BUILD.gn | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn index 867c19b5ea..4e629655bf 100644 --- a/build/config/BUILD.gn +++ b/build/config/BUILD.gn @@ -84,11 +84,6 @@ config("debug") { config("release") { defines = [ "NDEBUG" ] - if (is_mac || is_ios) { - # Disable NSAsserts in release builds. - defines += [ "NS_BLOCK_ASSERTIONS=1" ] - } - # Sanitizers. # TODO(GYP) The GYP build has "release_valgrind_build == 0" for this # condition. When Valgrind is set up, we need to do the same here.