platform_build/finalize-step-2-for-build-target.sh
Alex Buynytskyy 01d9176457 Script fix.
Bug: 260755259
Test: run locally
Change-Id: I69998d69169ceb6d67cd1bb9450251ba8e309b39
2023-01-24 19:32:23 +00:00

24 lines
683 B
Bash
Executable file

#!/bin/bash
# Continuous Integration script for *-finalization-2 branches.
# Reverts previous finalization script commits and runs local build.
set -ex
function finalize_step_2_main() {
local top="$(dirname "$0")"/../..
local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug"
# vndk etc finalization
source $top/build/make/finalize-aidl-vndk-sdk-resources.sh
# prebuilts etc
source $top/build/make/finalize-sdk-rel.sh
# mainline sdk prebuilts
source $top/build/make/finalize-locally-mainline-sdk.sh
# build to confirm everything is OK
AIDL_FROZEN_REL=true $m
}
finalize_step_2_main