Move final script to the new folder.

Bug: 264308911
Test: run locally
Change-Id: Ice954b7d5ff6c1831e9899c9028e8fd6555ab050
This commit is contained in:
Alex Buynytskyy 2023-02-17 12:48:53 -08:00
parent 4e7daf6546
commit 32ce1381ca

View file

@ -0,0 +1,22 @@
#!/bin/bash
set -ex
function finalize_main() {
local top="$(dirname "$0")"/../..
# default target to modify tree and build SDK
local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug"
# Build finalization artifacts.
source $top/build/make/tools/finalization/finalize-aidl-vndk-sdk-resources.sh
# This command tests:
# The release state for AIDL.
# ABI difference between user and userdebug builds.
# Resource/SDK finalization.
AIDL_FROZEN_REL=true $m
}
finalize_main