Don't reference instrumented-libraryes with sanitizers disabled.
commitbc6f9a5b1858c70d852029f77020cabd3db879f6
authorbrettw <brettw@chromium.org>
Mon, 14 Sep 2015 20:56:38 +0000 (14 13:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Sep 2015 20:57:13 +0000 (14 20:57 +0000)
tree6bebd6a832289330cbd85fecb65645a772f4bb0a
parent20246cc4dc13de1790841fd4f83d8cecde10f049
Don't reference instrumented-libraryes with sanitizers disabled.

Previously //build/config/sanitizer:deps unconditionally depended on
//third_party/instrumented_libraries:deps. This dependency is only necessary
//when compiling with a sanitizer, and in standalone other projects like nacl,
//instrumented_libraries doesn't exist.

This patch makes all contents of sanitizer:deps conditional on using a
sanitizer, which matches what the documentation explicitly says.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#348719}
build/config/sanitizers/BUILD.gn