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

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

Issue 2745533006: Remove blink-specific global lsan define. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | third_party/WebKit/Source/wtf/LeakAnnotations.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/dcheck_always_on.gni") 9 import("//build/config/dcheck_always_on.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 if (is_asan || is_lsan || is_tsan || is_msan) { 102 if (is_asan || is_lsan || is_tsan || is_msan) {
103 defines += [ 103 defines += [
104 "MEMORY_TOOL_REPLACES_ALLOCATOR", 104 "MEMORY_TOOL_REPLACES_ALLOCATOR",
105 "MEMORY_SANITIZER_INITIAL_SIZE", 105 "MEMORY_SANITIZER_INITIAL_SIZE",
106 ] 106 ]
107 } 107 }
108 if (is_asan) { 108 if (is_asan) {
109 defines += [ "ADDRESS_SANITIZER" ] 109 defines += [ "ADDRESS_SANITIZER" ]
110 } 110 }
111 if (is_lsan) { 111 if (is_lsan) {
112 defines += [ 112 defines += [ "LEAK_SANITIZER" ]
113 "LEAK_SANITIZER",
114 "WTF_USE_LEAK_SANITIZER=1",
115 ]
116 } 113 }
117 if (is_tsan) { 114 if (is_tsan) {
118 defines += [ 115 defines += [
119 "THREAD_SANITIZER", 116 "THREAD_SANITIZER",
120 "DYNAMIC_ANNOTATIONS_EXTERNAL_IMPL=1", 117 "DYNAMIC_ANNOTATIONS_EXTERNAL_IMPL=1",
121 "WTF_USE_DYNAMIC_ANNOTATIONS_NOIMPL=1", 118 "WTF_USE_DYNAMIC_ANNOTATIONS_NOIMPL=1",
122 ] 119 ]
123 } 120 }
124 if (is_msan) { 121 if (is_msan) {
125 defines += [ "MEMORY_SANITIZER" ] 122 defines += [ "MEMORY_SANITIZER" ]
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 # 387 #
391 # TODO(sof): determine VS2015 status and retire the setting from all 388 # TODO(sof): determine VS2015 status and retire the setting from all
392 # precompiled configurations. 389 # precompiled configurations.
393 cflags_c = [ "/wd4206" ] 390 cflags_c = [ "/wd4206" ]
394 } else if (is_mac) { 391 } else if (is_mac) {
395 precompiled_header = "build/precompile.h" 392 precompiled_header = "build/precompile.h"
396 precompiled_source = "//build/precompile.h" 393 precompiled_source = "//build/precompile.h"
397 } 394 }
398 } 395 }
399 } 396 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/LeakAnnotations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698