Annotate GN executables and shared_libraries with sanitizer deps.

These are needed to link in asan/lsan/etc. mode. GYP injects these automatically but GN doesn't have automatic dependency injection.

All tests and components (which cover the vast majority of such targets in actual use) are templates which add these dependencies already, so most of the time it never comes up.

Only a few of these changes are actually necessary to link all tests run on the asan bot (which is also what engineers will typically build, since almost nobody will build all in asan mode). But to reduce confusion from linker errors in asan mode, I annotated all executables and shared libraries I could find with the sanitizer dependency.

I moved a config out of a target in yasm, and sorted a fews deps on other targets.

TBR=xhwang@chromium.org (widevine)
TBR=achuith@chromium.org (tools/perf, tools/telemetry)

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

Cr-Original-Commit-Position: refs/heads/master@{#346490}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ba7a73dd61db639f42cc6283939f8b44cc4ecc6c
1 file changed
tree: 4cd362e2dfc17349696431b80b57343ec2678eac
  1. tools/