tree: 225de4d35be4094ec6c0f704e66ee2f7aca202bb [path history] [tgz]
  1. aidl/
  2. android/
  3. apex/
  4. apis/
  5. cc/
  6. coverage/
  7. hidl/
  8. java/
  9. partitions/
  10. python/
  11. sysprop/
  12. test_common/
  13. BUILD.bazel
  14. filegroup.bzl
  15. gensrcs.bzl
  16. gensrcs_test.bzl
  17. hidl_file_utils.bzl
  18. linker_config.bzl
  19. linker_config_test.bzl
  20. make_injection.bzl
  21. prebuilt_file.bzl
  22. proto_file_utils.bzl
  23. README.md
  24. sh_binary.bzl
  25. soong_injection.bzl
  26. staging_dir_builder.py
  27. staging_dir_builder_test.sh
  28. 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