| Index: build/config/BUILD.gn
|
| diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
|
| index 907dff696244ee11687f243de5f0ae66c5836ae4..1fa0d80fdd6301522c868a52a9ccd869c80447c5 100644
|
| --- a/build/config/BUILD.gn
|
| +++ b/build/config/BUILD.gn
|
| @@ -87,6 +87,14 @@ config("feature_flags") {
|
| if (use_browser_spellchecker) {
|
| defines += [ "USE_BROWSER_SPELLCHECKER=1" ]
|
| }
|
| +
|
| + # In Windows official builds, this will cause DCHECKs to
|
| + # dump-without-crashing. See crbug.com/596231.
|
| + if (is_official_build && is_win) {
|
| + dcheck_always_on = true
|
| + defines += [ "DCHECK_IS_DUMP_WITHOUT_CRASH=1" ]
|
| + }
|
| +
|
| if (dcheck_always_on) {
|
| defines += [ "DCHECK_ALWAYS_ON=1" ]
|
| }
|
|
|