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

Side by Side Diff: build/config/BUILD.gn

Issue 1814423002: Patch to try dump-on-DCHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comment Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « build/common.gypi ('k') | third_party/WebKit/Source/wtf/Assertions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/chromecast_build.gni") 7 import("//build/config/chromecast_build.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 # Can be defined without ENABLE_BASIC_PRINTING. 85 # Can be defined without ENABLE_BASIC_PRINTING.
86 defines += [ "ENABLE_PRINT_PREVIEW=1" ] 86 defines += [ "ENABLE_PRINT_PREVIEW=1" ]
87 } 87 }
88 } 88 }
89 if (enable_spellcheck) { 89 if (enable_spellcheck) {
90 defines += [ "ENABLE_SPELLCHECK=1" ] 90 defines += [ "ENABLE_SPELLCHECK=1" ]
91 } 91 }
92 if (use_browser_spellchecker) { 92 if (use_browser_spellchecker) {
93 defines += [ "USE_BROWSER_SPELLCHECKER=1" ] 93 defines += [ "USE_BROWSER_SPELLCHECKER=1" ]
94 } 94 }
95
96 # In Windows official builds, this will cause DCHECKs to
97 # dump-without-crashing. See crbug.com/596231.
98 if (is_official_build && is_win) {
99 dcheck_always_on = true
100 defines += [ "DCHECK_IS_DUMP_WITHOUT_CRASH=1" ]
101 }
102
95 if (dcheck_always_on) { 103 if (dcheck_always_on) {
96 defines += [ "DCHECK_ALWAYS_ON=1" ] 104 defines += [ "DCHECK_ALWAYS_ON=1" ]
97 } 105 }
98 if (use_udev) { 106 if (use_udev) {
99 # TODO(brettw) should probably be "=1". 107 # TODO(brettw) should probably be "=1".
100 defines += [ "USE_UDEV" ] 108 defines += [ "USE_UDEV" ]
101 } 109 }
102 if (ui_compositor_image_transport) { 110 if (ui_compositor_image_transport) {
103 # TODO(brettw) should probably be "=1". 111 # TODO(brettw) should probably be "=1".
104 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] 112 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ]
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 # file doesn't exist, no error will be generated (probably MS tested this 475 # file doesn't exist, no error will be generated (probably MS tested this
468 # case but forgot the other one?). To reproduce this error, do a build, 476 # case but forgot the other one?). To reproduce this error, do a build,
469 # then delete the precompile.c.obj file, then build again. 477 # then delete the precompile.c.obj file, then build again.
470 cflags_c = [ "/wd4206" ] 478 cflags_c = [ "/wd4206" ]
471 } else if (is_mac) { 479 } else if (is_mac) {
472 precompiled_header = "build/precompile.h" 480 precompiled_header = "build/precompile.h"
473 precompiled_source = "//build/precompile.h" 481 precompiled_source = "//build/precompile.h"
474 } 482 }
475 } 483 }
476 } 484 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | third_party/WebKit/Source/wtf/Assertions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698