We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e0f2d9 commit 5b504e1Copy full SHA for 5b504e1
build/config/BUILD.gn
@@ -84,6 +84,11 @@ config("debug") {
84
config("release") {
85
defines = [ "NDEBUG" ]
86
87
+ if (is_mac || is_ios) {
88
+ # Disable NSAsserts in release builds.
89
+ defines += [ "NS_BLOCK_ASSERTIONS=1" ]
90
+ }
91
+
92
# Sanitizers.
93
# TODO(GYP) The GYP build has "release_valgrind_build == 0" for this
94
# condition. When Valgrind is set up, we need to do the same here.
0 commit comments