summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hsin-Yi Chen <hsinyichen@google.com> 2024-02-07 17:12:53 +0800
committer Hsin-Yi Chen <hsinyichen@google.com> 2024-04-30 02:43:21 +0000
commita7d2200a710497170ac3de17a613929955f8ebd5 (patch)
tree5250d3ecf15c2a88d1b0f0eb35aeab3f0ede5cd7
parent1dd7990b3a3a1a7c75b34bd9e4ca8ff8da157a94 (diff)
Add the step to generate LLNDK ABI dumps
Test: build/make/tools/finalization/finalize-vintf-resources.sh Bug: 314010764 Ignore-AOSP-First: Finalization scripts are not on AOSP Change-Id: Ibe77d2f2aa70d3cc85086c00bb3eba00da0986f5
-rwxr-xr-xtools/finalization/finalize-vintf-resources.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/finalization/finalize-vintf-resources.sh b/tools/finalization/finalize-vintf-resources.sh
index a55d8e1a1a..d532b25346 100755
--- a/tools/finalization/finalize-vintf-resources.sh
+++ b/tools/finalization/finalize-vintf-resources.sh
@@ -16,8 +16,6 @@ function finalize_vintf_resources() {
export TARGET_RELEASE=fina_0
export TARGET_PRODUCT=aosp_arm64
- # TODO(b/314010764): finalize LL_NDK
-
# system/sepolicy
"$top/system/sepolicy/tools/finalize-vintf-resources.sh" "$top" "$FINAL_BOARD_API_LEVEL"
@@ -25,7 +23,11 @@ function finalize_vintf_resources() {
# pre-finalization build target (trunk)
local aidl_m="$top/build/soong/soong_ui.bash --make-mode"
- AIDL_TRANSITIVE_FREEZE=true $aidl_m aidl-freeze-api
+ AIDL_TRANSITIVE_FREEZE=true $aidl_m aidl-freeze-api create_reference_dumps
+
+ # Generate LLNDK ABI dumps
+ # This command depends on ANDROID_BUILD_TOP
+ "$ANDROID_HOST_OUT/bin/create_reference_dumps" -release "$TARGET_RELEASE" --build-variant "$TARGET_BUILD_VARIANT" --lib-variant LLNDK
}
function create_new_compat_matrix_and_kernel_configs() {