Bazel apex rule prototype.

This CL introduces the APEX rule scaffolding that uses apexer and
conv_apex_manifest. The APEX rule also sets up a hardcoded APEX input
dir to create the APEX content, and also the canned_fs_config file
representing all contents in the APEX.

This also introduces a //build/bazel/rules:enable_apex build setting to
gate the APEX rule behind a flag. Particularly, there are some
workarounds used in the rule, like APEXER_TOOL_PATH, that works only
locally for now.

See the README for usage instructions.

Test: build the APEX and verify contents
Bug: 193658718

Change-Id: I01334bf74b1ebafa3a50732d4faee8c284c2c6fa
8 files changed
tree: c55dc56d676248ae345181be2bc3585e6aefc8c9
  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.