Index: build/config/dcheck_always_on.gni |
diff --git a/build/config/dcheck_always_on.gni b/build/config/dcheck_always_on.gni |
index 60672cdf50e6d22e5bff5b04d972976b084e3f05..f8f7be46d78198c742e0334016b703c2a4836583 100644 |
--- a/build/config/dcheck_always_on.gni |
+++ b/build/config/dcheck_always_on.gni |
@@ -3,6 +3,6 @@ |
# found in the LICENSE file. |
declare_args() { |
- # Set to true to enable dcheck in Release builds. |
- dcheck_always_on = false |
+ # Set to false to turn off DCHECKs. Disabled by default in official builds. |
+ dcheck_always_on = !is_official_build |
} |