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

Unified Diff: src/trusted/service_runtime/BUILD.gn

Issue 2049033004: Fix NaCl executable linkages under ASAN. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: add deps to sel_ldr, ncval_new as well 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
Index: src/trusted/service_runtime/BUILD.gn
diff --git a/src/trusted/service_runtime/BUILD.gn b/src/trusted/service_runtime/BUILD.gn
index fdd71b9d0ec529d5d4cddcc22caba2985d8cc50e..7be0b966d7070340cb8433c477bc9eaf1cd1bb60 100644
--- a/src/trusted/service_runtime/BUILD.gn
+++ b/src/trusted/service_runtime/BUILD.gn
@@ -336,6 +336,11 @@ executable("sel_ldr") {
]
deps = [
":sel_main",
+
+ # All executables must have the sanitizer deps to properly link in
+ # asan mode (this target will be empty in other cases).
+ "//build/config/sanitizers:deps",
+
"//build/win:default_exe_manifest",
]
if (is_linux) {

Powered by Google App Engine
This is Rietveld 408576698