Index: src/trusted/validator/driver/BUILD.gn |
diff --git a/src/trusted/validator/driver/BUILD.gn b/src/trusted/validator/driver/BUILD.gn |
index 7f73ad81f6f0cf17922a28305686b1d5a8375753..0af4ce3a9167255a32ea7860aae8555b8501eb2a 100644 |
--- a/src/trusted/validator/driver/BUILD.gn |
+++ b/src/trusted/validator/driver/BUILD.gn |
@@ -21,6 +21,11 @@ executable("ncval_new") { |
deps = [ |
"//build/config/nacl:nacl_base", |
+ |
+ # 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", |
":elf_load", |
"//native_client/src/shared/platform:platform", |