elfutils: refactor transitive dependencies

Soong doesn't have propagation for static library dependencies.

Add "elfutils_transitive_defaults" to have "static_libs" that are
applied to all static libraries that use elfutils. For now this provides
"libz", which is needed by "elfutils".

This have to be included explicitly by all elfutils users.

Bug: 169779783
Bug: 309972007
Change-Id: I17d97ed3496ff42fda215376efcfe12d691dc40b
Signed-off-by: Aleksei Vetrov <vvvvvv@google.com>
1 file changed