Adds dependency on sanitizer
authordanno@chromium.org <danno@chromium.org>
Tue, 4 Nov 2014 08:27:49 +0000 (08:27 +0000)
committerdanno@chromium.org <danno@chromium.org>
Tue, 4 Nov 2014 08:28:16 +0000 (08:28 +0000)
The santizer target is empty if no sanitizers are defined, otherwise
it contains the necessary targets. Because of this we can always
depend on it. Without this dep asan builds fail.

R=brettw@chromium.org, danno@chromium.org

Review URL: https://codereview.chromium.org/697763002

Patch from Scott Violet <sky@chromium.org>.

Cr-Commit-Position: refs/heads/master@{#25094}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25094 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

BUILD.gn

index a89fdb1..0b1b06e 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1383,6 +1383,7 @@ if (current_toolchain == host_toolchain) {
       ":v8_base",
       ":v8_libplatform",
       ":v8_nosnapshot",
+      "//build/config/sanitizers:deps",
     ]
 
     if (v8_compress_startup_data == "bz2") {