commit | 1b003f4918fca9568b58763275a2e382c3dabd0b | [log] [tgz] |
---|---|---|
author | Jacky Liu <[email protected]> | Mon May 13 20:32:17 2024 +0800 |
committer | Jacky Liu <[email protected]> | Mon May 20 20:08:05 2024 +0800 |
tree | 7f0e0fbc6beea5674bafd9b6b8a2cd03c0c11b28 | |
parent | 0e6107d389056cc615817c32da51db24cb5637f8 [diff] |
kleaf: Use aliases for kernel targets Add //common:* which are aliases of kernel targets. The actual kernel targets are from @//aosp or @//aosp-staging according to the build flag. With the aliases, all the other BUILD.bazel can use //common:* instead of hardcoded //aosp:* or //aosp-staging:*. Also update device_build_configs.bzl to get KERNEL_DIR from //common:set_kernel_dir_build_config. Bug: 340163250 Change-Id: Ibb76c6921ab4d1b67de441aa10fd8ac192331e9e Signed-off-by: Jacky Liu <[email protected]>
# 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.
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
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