Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: build/config/dcheck_always_on.gni

Issue 2886803002: Enable DCHECKs by default in non-official builds. (Closed)
Patch Set: DCHECK_IS_ON() Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/web/web_state/ui/wk_web_view_configuration_provider.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« no previous file with comments | « no previous file | ios/web/web_state/ui/wk_web_view_configuration_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698