add target_compatible_with to cc_proto_library rule

cc_proto_library has multiple subtypes (such as cc_lite_proto_library)
that can have different target requirements. This commit adds target
compatibility support for these rules.

Bug: 215229742
Test: ci/bp2build.sh
Change-Id: Ifbb801d2bd3d6c71790890704a6d55cdf34ddd05
1 file changed
tree: 9c4e3781e45495e8df150b4c44d6d0a60f3c4ecf
  1. ci/
  2. docs/
  3. examples/
  4. json_module_graph/
  5. mk2rbc/
  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.