Switch to GKI prebuilts ab/12324569 [ DO NOT MERGE ANYWHERE ]

Bug: 349777785
Change-Id: Ib8c783527ec8ca63ce8618bf3637fad678784e5b
Signed-off-by: Pindar Yang <[email protected]>
1 file changed
tree: 25c7abc4a7787a34b4849a0a02b1b678743634ff
  1. bazel.WORKSPACE
  2. BUILD.bazel
  3. build.config.blktest
  4. build.config.debug_api
  5. build.config.debug_kmemleak
  6. build.config.debug_locking
  7. build.config.debug_memory
  8. build.config.debug_memory_accounting
  9. build.config.kasan
  10. build.config.khwasan
  11. debug_all_defconfig
  12. device.bazelrc
  13. device_build_configs.bzl
  14. function_tracer_defconfig
  15. merge-from-pixel-6.1-zuma.sh
  16. README.md
  17. update_symbol_list.sh
README.md

Building with Bazel (recommended)

# Files are copied to out/{branch}/dist
$ tools/bazel run --config=raviole //private/devices/google/raviole:gs101_raviole_dist

See build/kernel/kleaf/README.md for details.

Disable LTO

Note: This only works on raviole-mainline branch.

# Files are copied to out/{branch}/dist
$ tools/bazel run --lto=none --config=raviole //private/devices/google/raviole:gs101_raviole_dist

ABI monitoring with Bazel (recommended)

Note: ABI monitoring is not supported on raviole-mainline branch.

# Compare ABI and build files for distribution
$ tools/bazel build --config=raviole //private/devices/google/raviole:gs101_raviole_abi

# Update symbol list aosp/android/abi_gki_aarch64_pixel
$ tools/bazel run --config=raviole //private/devices/google/raviole:gs101_raviole_abi_update_symbol_list

# Update ABI aosp/android/abi_gki_aarch64.xml
$ tools/bazel run //aosp:kernel_aarch64_abi_update

# Copy files to distribution
$ tools/bazel run --config=raviole //private/devices/google/raviole:gs101_raviole_abi_dist