Google Git
Sign in
android / kernel / build / 4b777b2d4233d958a4d782c2e6887a6a443502c9 / . / kleaf
tree: 00db483a8b7a136d12bb71eb4ec284b7965fc818 [path history] [tgz]
  1. artifact_tests/
  2. bazelrc/
  3. docs/
  4. impl/
  5. tests/
  6. workspace_status_dir/
  7. bazel.py
  8. bazel.sh
  9. bazel.WORKSPACE
  10. BUILD.bazel
  11. check_declared_output_list.py
  12. check_declared_output_list_test.py
  13. check_duplicated_files_in_archives.py
  14. common.bazelrc
  15. common_kernels.bzl
  16. constants.bzl
  17. convert_to_bazel.sh
  18. directory_with_structure.bzl
  19. download_repo.bzl
  20. fail.bzl
  21. hermetic_tools.bzl
  22. kernel.bzl
  23. key_value_repo.bzl
  24. ndk.BUILD
  25. OWNERS
  26. preserve_env.sh
  27. print_debug.bzl
  28. print_flags.bzl
  29. README.md
  30. rename_kzip.sh
  31. search_and_cp_output.py
  32. update_source_file.bzl
  33. workspace.bzl
  34. workspace_epilog.bzl
  35. workspace_status.sh
  36. workspace_status_common.sh
  37. workspace_status_stamp.py
kleaf/README.md

Kleaf - Building Android Kernels with Bazel

Table of contents

Introduction to Kleaf

Building your kernels and drivers with Bazel

build.sh build configs

Support ABI monitoring (GKI)

Support ABI monitoring (Device)

Handling SCM version

Resolving common errors

References to Bazel rules and macros for the Android Kernel

Kleaf testing

Building against downloaded prebuilts

Cheatsheet

Configurations

--config=release: Release builds

--config=fast: Make local builds faster

--config=local: Sandboxing

--config=stamp: Handling SCM version

--lto: Disable LTO during development

--kbuild_symtypes: KBUILD_SYMTYPES

--kasan: kasan

Powered by Gitiles| Privacy| Termstxt json