From cdb07595a1a2e41e747c75cccb551c9efb8216f8 Mon Sep 17 00:00:00 2001 From: Gurpreet Singh Date: Thu, 18 Apr 2024 15:01:36 +0000 Subject: [PATCH] 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 --- tools/finalization/localonly-steps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/finalization/localonly-steps.sh b/tools/finalization/localonly-steps.sh index bebd563bea..9c6f1723cf 100755 --- a/tools/finalization/localonly-steps.sh +++ b/tools/finalization/localonly-steps.sh @@ -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