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

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

Issue 141703004: Hook up the tsan flag for the GN build. (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/gyp_chromium » ('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 declare_args() {
6 # When set, turns off the definition of _GLIBCXX_DEBUG when it would
7 # otherwise be set. Setting _GLIBCXX_DEBUG adds iterator debugging stuff
8 # that is usually helpful in debugging, but can cause problems in some
9 # contexts.
10 disable_glibcxx_debug = false
11 }
12
5 config("my_msvs") { 13 config("my_msvs") {
6 defines = [ 14 defines = [
7 "CHROMIUM_BUILD", 15 "CHROMIUM_BUILD",
8 "TOOLKIT_VIEWS=1", 16 "TOOLKIT_VIEWS=1",
9 "USE_LIBJPEG_TURBO=1", 17 "USE_LIBJPEG_TURBO=1",
10 "ENABLE_ONE_CLICK_SIGNIN", 18 "ENABLE_ONE_CLICK_SIGNIN",
11 "ENABLE_REMOTING=1", 19 "ENABLE_REMOTING=1",
12 "ENABLE_WEBRTC=1", 20 "ENABLE_WEBRTC=1",
13 "ENABLE_CONFIGURATION_POLICY", 21 "ENABLE_CONFIGURATION_POLICY",
14 "ENABLE_INPUT_SPEECH", 22 "ENABLE_INPUT_SPEECH",
(...skipping 26 matching lines...) Expand all
41 #defines = 49 #defines =
42 } 50 }
43 51
44 config("debug") { 52 config("debug") {
45 defines = [ 53 defines = [
46 "_DEBUG", 54 "_DEBUG",
47 "DYNAMIC_ANNOTATIONS_ENABLED=1", 55 "DYNAMIC_ANNOTATIONS_ENABLED=1",
48 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 56 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
49 ] 57 ]
50 58
51 if (is_linux && !is_android && cpu_arch == "x64") { 59 if (is_linux && !is_android && cpu_arch == "x64" && !disable_glibcxx_debug) {
52 # Enable libstdc++ debugging facilities to help catch problems early, see 60 # Enable libstdc++ debugging facilities to help catch problems early, see
53 # http://crbug.com/65151 . 61 # http://crbug.com/65151 .
54 # TODO(phajdan.jr): Should we enable this for all of POSIX? 62 # TODO(phajdan.jr): Should we enable this for all of POSIX?
55 defines += [ "_GLIBCXX_DEBUG=1" ] 63 defines += [ "_GLIBCXX_DEBUG=1" ]
56 } 64 }
57 } 65 }
58 66
59 config("release") { 67 config("release") {
60 68
61 } 69 }
OLDNEW
« no previous file with comments | « no previous file | build/gyp_chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698