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") { |