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

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

Issue 2031903002: Update GN files w/ changes needed to make sanitizers work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move buildconfig changes to build/config Created 4 years, 6 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 | « build/config/BUILD.gn ('k') | build/config/sanitizers/sanitizers.gni » ('j') | no next file with comments »
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 979138865a2985d2c4e6d276ba20f027a4315775..8eaf1685663db629d9bd94e81ab909f9177d6343 100644
--- a/build/config/sanitizers/BUILD.gn
+++ b/build/config/sanitizers/BUILD.gn
@@ -38,6 +38,21 @@ group("deps_no_options") {
":default_sanitizer_ldflags",
]
deps = []
+
+ data = [
+ "//tools/valgrind/asan/",
+ ]
+ if (is_win) {
+ exe = ".exe"
+ } else {
+ exe = ""
+ }
+ data += [ "//third_party//llvm-build/Release+Asserts/bin/llvm-symbolizer${exe}" ]
+ if (is_linux) {
+ # llvm-symbolizer needs this.
+ data += [ "//third_party/llvm-build/Release+Asserts/lib/libstdc++.so.6" ]
+ }
+
if (use_prebuilt_instrumented_libraries) {
deps += [ "//third_party/instrumented_libraries:deps" ]
}
@@ -45,6 +60,7 @@ group("deps_no_options") {
public_deps = [
"//buildtools/third_party/libc++:libcxx_proxy",
]
+ data += [ "$root_out_dir/libc++.so" ]
}
if (is_mac) {
data_deps = [
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/sanitizers/sanitizers.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698