Clear the OUT folder before update-api

This *should* fix the bug when update-api fails to update current.txt

Bug: 243966946
Test: run locally
Change-Id: I330e03eee695b6b9b27785dd14d00e2589f9c5e7
This commit is contained in:
Alex Buynytskyy 2022-10-05 18:01:47 +00:00
parent 13b3f240bf
commit 2dcc78656c

View file

@ -39,7 +39,8 @@ function finalize_aidl_vndk_sdk_resources() {
sed -i "s%$sdk_codename%$sdk_version%g" $sdk_build
# Update the current.txt
# Force update current.txt
$m clobber
$m update-api
}