Add a make_injection repository rule.

The repository rule enables soong_ui --make-mode to run before Bazel
automatically, as a repository rule. This allows artifacts like host
tools to be built and used in the Bazel build graph without having to
convert them in a bottom-up manner.

For a start, this is used for exposing the APEX host tools in the apex
rule.

Test: bp2build.sh (apexes are built in //system/timezone/apex/... and //build/bazel/examples/minimal/apex/...)
Change-Id: I4392b92f2c37c3d04c282dd6919789756da98ad6
9 files changed
tree: b21fcdb265a122958dc71186b1936143786f4939
  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.