Merge "Let finalize_branch_for_release.sh create ABI dumps" am: 3510fa6d46

Original change: https://android-review.googlesource.com/c/platform/build/+/2157898

Change-Id: Ifbda064dd4596274c6406045a1fdfb9ff2ee63b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Steven Moreland
2022-07-19 16:02:08 +00:00
committed by Automerger Merge Worker

View File

@@ -16,15 +16,23 @@ function finalize_main() {
# Update references in the codebase to new API version (TODO)
# ...
AIDL_TRANSITIVE_FREEZE=true $m aidl-freeze-api
AIDL_TRANSITIVE_FREEZE=true $m aidl-freeze-api create_reference_dumps
# Generate ABI dumps
ANDROID_BUILD_TOP="$top" \
out/host/linux-x86/bin/create_reference_dumps \
-p aosp_arm64 --build-variant user
# Update new versions of files. See update-vndk-list.sh (which requires envsetup.sh)
$m check-vndk-list || \
{ cp $top/out/soong/vndk/vndk.libraries.txt $top/build/make/target/product/gsi/current.txt; }
# for now, we simulate the release state for AIDL, but in the future, we would want
# to actually turn the branch into the REL state and test with that
AIDL_FROZEN_REL=true $m nothing # test build
# This command tests:
# The release state for AIDL.
# ABI difference between user and userdebug builds.
# In the future, we would want to actually turn the branch into the REL
# state and test with that.
AIDL_FROZEN_REL=true $m droidcore
# Build SDK (TODO)
# lunch sdk...