Remove has_stubs attr from cc_library_shared

has_stubs is always true if stubs_symbol_file is defined. Otherwise, it's false. Therefore, we can change cc_library_shared to rely only on stubs_symbol_file attr.

Test: bazel analysis tests
Bug: 260771171
Change-Id: Ib2df06bd08236dc545c001ea8ebc17f33357dd11
3 files changed
tree: 56a7777be694cb47716b6e3118d127a04fd7924e
  1. bin/
  2. ci/
  3. compliance/
  4. docs/
  5. examples/
  6. flags/
  7. json_module_graph/
  8. mk2rbc/
  9. mkcompare/
  10. platforms/
  11. product_config/
  12. product_variables/
  13. rules/
  14. scripts/
  15. tests/
  16. vendor/
  17. .gitignore
  18. bazel.BUILD
  19. bazel.WORKSPACE
  20. buildifier_hook.sh
  21. common.bazelrc
  22. darwin.bazelrc
  23. linux.bazelrc
  24. OWNERS
  25. PREUPLOAD.cfg
  26. 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.