Refresh the latest script versions + preparation for local mode.

Bug: 260755259
Test: local run
Change-Id: I45d3651bd4b837e1338535f98d7256ca9b47e089
This commit is contained in:
Alex Buynytskyy
2023-02-19 18:40:44 +00:00
parent 65af9993b3
commit bdcef7bfb8
13 changed files with 416 additions and 39 deletions

View File

@@ -2,21 +2,16 @@
set -ex
function finalize_main() {
local top="$(dirname "$0")"/../..
function finalize_main_step1() {
local top="$(dirname "$0")"/../../../..
source $top/build/make/tools/finalization/environment.sh
# 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
finalize_main_step1