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.
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
10 public_configs = [ ":sanitizer_options_link_helper" ]
11 deps = [ ":options_sources" ]
15 config("sanitizer_options_link_helper") {
16 ldflags = [ "-Wl,-u_sanitizer_options_link_helper", "-fsanitize=address" ]
19 source_set("options_sources") {
20 visibility = [ ":deps" ]
21 sources = [ "//build/sanitizers/sanitizer_options.cc" ]
24 sources += [ "//build/sanitizers/tsan_suppressions.cc" ]