Index: build/config/sanitizers/BUILD.gn |
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn |
index 63728d946c49c3584101bd5baf2a999385e6809c..3972a5c0e3b5e65b9ce25ab2081cef1577c49f47 100644 |
--- a/build/config/sanitizers/BUILD.gn |
+++ b/build/config/sanitizers/BUILD.gn |
@@ -22,11 +22,18 @@ config("sanitizer_options_link_helper") { |
} |
source_set("options_sources") { |
- visibility = [ ":deps" ] |
+ visibility = [ |
+ ":deps", |
+ "//:gn_visibility", |
+ ] |
sources = [ |
"//build/sanitizers/sanitizer_options.cc", |
] |
+ if (is_asan) { |
+ sources += [ "//build/sanitizers/asan_suppressions.cc" ] |
+ } |
+ |
if (is_tsan) { |
sources += [ "//build/sanitizers/tsan_suppressions.cc" ] |
} |