tree: 443ea6646e4c9eba21ad902d86d782f116d41fcf [path history] [tgz]
  1. aidl/
  2. android/
  3. apex/
  4. apis/
  5. cc/
  6. coverage/
  7. hidl/
  8. java/
  9. kotlin/
  10. license/
  11. partitions/
  12. python/
  13. sysprop/
  14. test_common/
  15. BUILD.bazel
  16. filegroup.bzl
  17. gensrcs.bzl
  18. gensrcs_test.bzl
  19. hidl_file_utils.bzl
  20. linker_config.bzl
  21. linker_config_test.bzl
  22. make_injection.bzl
  23. prebuilt_file.bzl
  24. proto_file_utils.bzl
  25. README.md
  26. sh_binary.bzl
  27. soong_injection.bzl
  28. staging_dir_builder.py
  29. staging_dir_builder_test.sh
  30. test.pem
rules/README.md

Bazel rules for Android Platform.

This directory contains Starlark extensions for building the Android Platform with Bazel.

APEX

Run the following command to build a miminal APEX example.

$ b build //build/bazel/examples/apex/minimal:build.bazel.examples.apex.minimal

Verify the contents of the APEX with zipinfo:

$ zipinfo bazel-bin/build/bazel/examples/apex/minimal/build.bazel.examples.apex.minimal.apex