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

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: Created 5 years 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/wtf/BUILD.gn » ('j') | third_party/WebKit/Source/wtf/BUILD.gn » ('J')
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 b2e8e6ed64ead6a2ea4706a4ea1d8982d064ce2d..20cbfaa5746581bd59bba7a07f869d216d16bd2a 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2863,6 +2863,10 @@
['dcheck_always_on!=0', {
'defines': ['DCHECK_ALWAYS_ON=1'],
}], # dcheck_always_on!=0
+ # Force disable blink assertions on Cast device builds (overrides DCHECK_ALWAYS_ON)
+ ['chromecast==1 and OS=="linux" and is_cast_desktop_build==0', {
+ 'defines': ['ENABLE_ASSERT=0'],
+ }],
['tracing_like_official_build!=0', {
'defines': ['TRACING_IS_OFFICIAL_BUILD=1'],
}], # tracing_like_official_build!=0
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/BUILD.gn » ('j') | third_party/WebKit/Source/wtf/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698