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

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

Issue 2185833002: [Mac/GN] Specify the ASan dynamic runtime as a bundle_data deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert mb change Created 4 years, 5 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 | chrome/BUILD.gn » ('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 dff6eb3c96612b2e294ac63f0abca1fe961e6ebc..2c490165f2b237a282aa3772a1ae7c2d63d190f6 100644
--- a/build/config/sanitizers/BUILD.gn
+++ b/build/config/sanitizers/BUILD.gn
@@ -71,6 +71,10 @@ group("deps_no_options") {
data_deps = [
":copy_asan_runtime",
]
+
+ public_deps = [
+ ":asan_runtime_bundle_data",
+ ]
}
}
}
@@ -84,6 +88,16 @@ if (is_mac && using_sanitizer) {
"$root_out_dir/{{source_file_part}}",
]
}
+
+ bundle_data("asan_runtime_bundle_data") {
+ sources = get_target_outputs(":copy_asan_runtime")
+ outputs = [
+ "{{bundle_executable_dir}}/{{source_file_part}}",
+ ]
+ public_deps = [
+ ":copy_asan_runtime",
+ ]
+ }
}
config("sanitizer_options_link_helper") {
« no previous file with comments | « no previous file | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698