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

Unified Diff: build/common.gypi

Issue 1535633002: Disable Blink assertions on Chromecast device builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 12 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 | third_party/WebKit/Source/config.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 1351edcfaf7ca8f2eda06126aec181c9ba133ca5..5322744614ad46c48b0ba27bc0f1e82fdef7365c 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3618,6 +3618,11 @@
'NS_BLOCK_ASSERTIONS=1',
],
}],
+ # Force disable blink assertions on Cast device builds (overriding DCHECK_ALWAYS_ON)
+ # Only defined for Release builds (NDEBUG), otherwise blink won't compile.
+ ['chromecast==1 and OS=="linux" and is_cast_desktop_build==0', {
+ 'defines': ['ENABLE_ASSERT=0'],
+ }],
],
},
#
« no previous file with comments | « no previous file | third_party/WebKit/Source/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698