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

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

Issue 137553002: Move GN's glib_cxx_debug flag onto the debug configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('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 config("my_msvs") { 5 config("my_msvs") {
6 defines = [ 6 defines = [
7 "CHROMIUM_BUILD", 7 "CHROMIUM_BUILD",
8 "TOOLKIT_VIEWS=1", 8 "TOOLKIT_VIEWS=1",
9 "USE_LIBJPEG_TURBO=1", 9 "USE_LIBJPEG_TURBO=1",
10 "ENABLE_ONE_CLICK_SIGNIN", 10 "ENABLE_ONE_CLICK_SIGNIN",
(...skipping 25 matching lines...) Expand all
36 config("feature_flags") { 36 config("feature_flags") {
37 #defines = 37 #defines =
38 } 38 }
39 39
40 config("debug") { 40 config("debug") {
41 defines = [ 41 defines = [
42 "_DEBUG", 42 "_DEBUG",
43 "DYNAMIC_ANNOTATIONS_ENABLED=1", 43 "DYNAMIC_ANNOTATIONS_ENABLED=1",
44 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 44 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
45 ] 45 ]
46
47 if (is_linux && !is_android && cpu_arch == "x64") {
48 # Enable libstdc++ debugging facilities to help catch problems early, see
49 # http://crbug.com/65151 .
50 # TODO(phajdan.jr): Should we enable this for all of POSIX?
51 defines += [ "_GLIBCXX_DEBUG=1" ]
52 }
46 } 53 }
47 54
48 config("release") { 55 config("release") {
49 56
50 } 57 }
OLDNEW
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698