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

Unified Diff: Source/config.gni

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. Created 6 years, 5 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
Index: Source/config.gni
diff --git a/Source/config.gni b/Source/config.gni
index a317eb896785d803db937e5be7e47d9f12308e38..c566161baa2425822e703969461234510c74d384 100644
--- a/Source/config.gni
+++ b/Source/config.gni
@@ -25,6 +25,8 @@ declare_args() {
# garbage-collection infrastructure during compilation.
blink_gc_plugin = false
blink_gc_plugin_dump_graph = false
+
+ blink_asserts_always_on = false
}
use_default_render_theme = use_aura
@@ -94,6 +96,9 @@ if (use_default_render_theme) {
if (enable_oilpan) {
feature_defines_list += [ "ENABLE_OILPAN=1" ]
}
+if (blink_asserts_always_on) {
+ feature_defines_list += [ "ENABLE_ASSERT=1" ]
+}
# feature_defines_string -------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698