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

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

Issue 2200183005: Only bundle_data asan runtime on mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | no next file » | 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 4c98dd3a0b929bcd071a3cb6e6ec14d337a6d0a4..f3c02b037d402c1a61ecbc6561f973749d9c5ba5 100644
--- a/build/config/sanitizers/BUILD.gn
+++ b/build/config/sanitizers/BUILD.gn
@@ -70,7 +70,8 @@ group("deps_no_options") {
data_deps = [
":copy_asan_runtime",
]
-
+ }
+ if (is_mac) {
public_deps += [ ":asan_runtime_bundle_data" ]
}
}
@@ -93,14 +94,16 @@ if ((is_mac || is_win) && using_sanitizer) {
]
}
- 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",
- ]
+ if (is_mac) {
+ 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",
+ ]
+ }
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698