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

Unified Diff: build/config/sanitizers/BUILD.gn

Issue 2267753002: Make lsan and tsan suppressions files overridable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move the variables to build/config/sanitizers/BUILD.gn. Created 4 years, 4 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build_overrides/build.gni » ('j') | build_overrides/build.gni » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/sanitizers/BUILD.gn
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn
index 3768cb93553872974ffcf685544b21f43525efc9..0506d5901197f528466bc80b94a619748c569c39 100644
--- a/build/config/sanitizers/BUILD.gn
+++ b/build/config/sanitizers/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build_overrides/build.gni")
import("//build/config/chrome_build.gni")
import("//build/config/chromecast_build.gni")
import("//build/config/clang/clang.gni")
@@ -132,15 +133,15 @@ static_library("options_sources") {
configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ]
if (is_asan) {
- sources += [ "//build/sanitizers/asan_suppressions.cc" ]
+ sources += [ asan_suppressions_file ]
}
if (is_lsan) {
- sources += [ "//build/sanitizers/lsan_suppressions.cc" ]
+ sources += [ lsan_suppressions_file ]
}
if (is_tsan) {
- sources += [ "//build/sanitizers/tsan_suppressions.cc" ]
+ sources += [ tsan_suppressions_file ]
}
}
« no previous file with comments | « no previous file | build_overrides/build.gni » ('j') | build_overrides/build.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698