Fix cc proto rules for canonical_path_from_root

Path creation was previously based on the incorrect use of
canonical_path_from_root. Adjust logic to address multiple targets
potentially creating the same file

Test: build/bazel/ci/bp2build.sh
Test: build/bazel/ci/mixed_droid.sh
Change-Id: I008779d0f3e87427410ab27af72decf00b7a74d8
2 files changed
tree: b738be5436d050396904dd4d62abd596111002e0
  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.