Add exe_and_shlib_deps to executable and shared_library configs

Currently, all executables and shared libraries are expected to add the
exe_and_shlib_deps dependency manually.  However, it is easy to forget to do
this.  In such cases, the build will likely fail at the link step due to missing
libc++ symbols.  It may not be obvious how to fix this issue.

This CL adds exe_and_shlib_deps as an implicit dependency to executable and
shared_library targets so that developers don't have to manually add it.


Change-Id: I30edcf0bcd6559b1aaa211a42863b04bc57d4d99
Commit-Queue: Thomas Anderson <>
Reviewed-by: Dirk Pranke <>
Cr-Commit-Position: refs/heads/master@{#561729}
5 files changed