Switch to GKI prebuilts ab/11611633

Bug: 269695179
Change-Id: I3a2e496893cd05ae6851f2a748a6e78b7bacc93a
Signed-off-by: Robin Peng <[email protected]>
(cherry picked from commit 4335c21095e038161c92bc5e7588ba6e8ce3596c)
1 file changed
tree: 0f0e0d40b218e41241091984e2bc5ebab05930f0
  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