d98c43c8dd
- add a mode to disable finalization steps if they were already merged, - add the extension version into commit message. Bug: 243966946 Test: local run Change-Id: I51505e5d5715b56f3b385d714e1aabaae06f58ed
24 lines
668 B
Bash
Executable file
24 lines
668 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
function finalize_main_step12() {
|
|
local top="$(dirname "$0")"/../../../..
|
|
source $top/build/make/tools/finalization/environment.sh
|
|
|
|
if [ "$FINAL_STATE" = "unfinalized" ] ; then
|
|
# SDK codename -> int
|
|
source $top/build/make/tools/finalization/finalize-aidl-vndk-sdk-resources.sh
|
|
fi;
|
|
|
|
if [ "$FINAL_STATE" = "unfinalized" ] || [ "$FINAL_STATE" = "sdk" ] ; then
|
|
# ADB, Platform/Mainline SDKs build and move to prebuilts
|
|
source $top/build/make/tools/finalization/localonly-steps.sh
|
|
|
|
# REL
|
|
source $top/build/make/tools/finalization/finalize-sdk-rel.sh
|
|
fi;
|
|
}
|
|
|
|
finalize_main_step12
|
|
|