Fix shared library variants for full_cc_library
1. Add attributes specific to shared/static variants
2. Fix static library macro so that the proxy target "claims ownership"
of all linker inputs owned by the target it is proxying. The result is
that cc_shared_library will correctly identify this proxy target as
the actual root, for purposes of exporting whole archives.
3. Separate whole_archive_deps from other types of deps (to
differentiate between whole_static_libs and static_libs from Soong)
Test: bp2build.sh CI script in conjunction with bp2build changes.
Change-Id: Idff0d78bdd2874fdf8c4fd74df99a45e83432049
2 files changed