Chromium Code Reviews| 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("options") { | |
|
brettw
2014/10/28 16:59:13
Can you put this file in //build/config/sanitizers
| |
| 6 public_configs = [ ":sanitizer_options_link_helper" ] | |
| 7 deps = [ ":options_sources" ] | |
| 8 } | |
| 9 | |
| 10 config("sanitizer_options_link_helper") { | |
| 11 ldflags = [ "-Wl,-u_sanitizer_options_link_helper", "-fsanitize=address" ] | |
| 12 } | |
| 13 | |
| 14 source_set("options_sources") { | |
| 15 visibility = [ ":options" ] | |
| 16 sources = [ "sanitizer_options.cc" ] | |
| 17 include_dirs = [ "../.." ] | |
|
brettw
2014/10/28 16:59:13
Use absolute paths. Actually, isn't this the root
| |
| 18 | |
| 19 if (is_tsan) { | |
| 20 sources += [ "tsan_suppressions.cc" ] | |
| 21 } | |
| 22 } | |
| OLD | NEW |