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

Unified Diff: build/config/BUILD.gn

Issue 2954883002: Add dvlog_always_on to enable DVLOG without DEBUG and DCHECK option
Patch Set: Created 3 years, 6 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 | « base/message_loop/incoming_task_queue.cc ('k') | build/config/dvlog_always_on.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index a0b492740da8a6030e5291da234260d1cde4327f..9b2118b6d8778146dbc1f09b248d56d845c11a62 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -8,6 +8,7 @@ import("//build/config/chrome_build.gni")
import("//build/config/chromecast_build.gni")
import("//build/config/crypto.gni")
import("//build/config/dcheck_always_on.gni")
+import("//build/config/dvlog_always_on.gni")
import("//build/config/features.gni")
import("//build/config/pch.gni")
import("//build/config/sanitizers/sanitizers.gni")
@@ -54,6 +55,9 @@ config("feature_flags") {
if (dcheck_always_on) {
defines += [ "DCHECK_ALWAYS_ON=1" ]
}
+ if (dvlog_always_on) {
+ defines += [ "DVLOG_ALWAYS_ON=1" ]
+ }
if (use_udev) {
# TODO(brettw) should probably be "=1".
defines += [ "USE_UDEV" ]
« no previous file with comments | « base/message_loop/incoming_task_queue.cc ('k') | build/config/dvlog_always_on.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698