OLD | NEW |
---|---|
(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 group("deps") { | |
brettw
2014/10/28 23:55:16
Can you provide a comment here about how this is t
sky
2014/10/29 00:02:30
Done.
| |
6 if (is_asan) { | |
7 public_configs = [ ":sanitizer_options_link_helper" ] | |
8 deps = [ ":options_sources" ] | |
9 } | |
10 } | |
11 | |
12 config("sanitizer_options_link_helper") { | |
13 ldflags = [ "-Wl,-u_sanitizer_options_link_helper", "-fsanitize=address" ] | |
14 } | |
15 | |
16 source_set("options_sources") { | |
17 visibility = [ ":deps" ] | |
18 sources = [ "//build/sanitizers/sanitizer_options.cc" ] | |
19 | |
20 if (is_tsan) { | |
21 sources += [ "//build/sanitizers/tsan_suppressions.cc" ] | |
22 } | |
23 } | |
OLD | NEW |