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
tree: 9292676ee8e3dc70d0651ce8b18491998848e4a0
  1. bazel_skylib/
  2. ci/
  3. docs/
  4. examples/
  5. json_module_graph/
  6. platforms/
  7. product_variables/
  8. rules/
  9. rules_cc/
  10. scripts/
  11. tests/
  12. bazel.BUILD
  13. bazel.sh
  14. bazel.WORKSPACE
  15. common.bazelrc
  16. darwin.bazelrc
  17. linux.bazelrc
  18. OWNERS
  19. README.md
README.md

Bazel

The code in this directory is experimental. Bazel support for Android Platform is undergoing active development and workflow stability is currently not guaranteed.