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

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

Issue 682843002: Adds ability to build for asan with gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 6 years, 1 month 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/config/compiler/BUILD.gn ('k') | third_party/protobuf/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
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # Contains the dependencies needed for asan to link into executables and
6 # shared_libraries. Unconditionally depend upon this target as it is empty if
7 # |is_asan| is false.
8 group("deps") {
9 if (is_asan) {
10 public_configs = [ ":sanitizer_options_link_helper" ]
11 deps = [ ":options_sources" ]
12 }
13 }
14
15 config("sanitizer_options_link_helper") {
16 ldflags = [ "-Wl,-u_sanitizer_options_link_helper", "-fsanitize=address" ]
17 }
18
19 source_set("options_sources") {
20 visibility = [ ":deps" ]
21 sources = [ "//build/sanitizers/sanitizer_options.cc" ]
22
23 if (is_tsan) {
24 sources += [ "//build/sanitizers/tsan_suppressions.cc" ]
25 }
26 }
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | third_party/protobuf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698