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