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