Change build-release target for building module sdks

--build-release=latest => Include all new APIs in API tracking files
along with the @FlaggedAPI annotation prefix.

--build-release=next => Include only those new APIs in API tracking
files for which the flag is enabled. Also the @FlaggedAPI annotation
prefix is removed from API tracking files.

Ignore-AOSP-first: VIC finalization happens outside AOSP
Bug: 335454564
Test: croot && build/tools/finalization/localonly-steps.sh
Change-Id: I3fdd71ac385835b3b961336d86604e86dfed31cf
This commit is contained in:
Gurpreet Singh
2024-04-18 15:01:36 +00:00
parent 2cca67088f
commit cdb07595a1

View File

@@ -17,7 +17,7 @@ function finalize_locally() {
$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=sdk TARGET_RELEASE=fina_1 TARGET_BUILD_VARIANT=userdebug sdk dist sdk_repo DIST_DIR=out/dist
# Build Modules SDKs.
TARGET_RELEASE=fina_1 TARGET_BUILD_VARIANT=userdebug UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true DIST_DIR=out/dist "$top/vendor/google/build/mainline_modules_sdks.sh" --build-release=latest
TARGET_RELEASE=fina_1 TARGET_BUILD_VARIANT=userdebug UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true DIST_DIR=out/dist "$top/vendor/google/build/mainline_modules_sdks.sh" --build-release=next
# Update prebuilts.
"$top/prebuilts/build-tools/path/linux-x86/python3" -W ignore::DeprecationWarning "$top/prebuilts/sdk/update_prebuilts.py" --local_mode -f ${FINAL_PLATFORM_SDK_VERSION} -e ${FINAL_MAINLINE_EXTENSION} --bug 1 1