tree: e0e14110259d71dc8e30772100a165e081844593
  1. aidl/
  2. android/
  3. apex/
  4. apis/
  5. bpf/
  6. cc/
  7. coverage/
  8. hidl/
  9. java/
  10. kotlin/
  11. license/
  12. partitions/
  13. python/
  14. sysprop/
  15. test_common/
  16. BUILD.bazel
  17. env.bzl
  18. filegroup.bzl
  19. gensrcs.bzl
  20. gensrcs_test.bzl
  21. hidl_file_utils.bzl
  22. linker_config.bzl
  23. linker_config_test.bzl
  24. make_injection.bzl
  25. prebuilt_file.bzl
  26. prebuilt_file_test.bzl
  27. prebuilt_xml.bzl
  28. prebuilt_xml_test.bzl
  29. proto_file_utils.bzl
  30. README.md
  31. sh_binary.bzl
  32. soong_injection.bzl
  33. staging_dir_builder.py
  34. staging_dir_builder_test.sh
  35. 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