summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Gurpreet Singh <gurpreetgs@google.com> 2024-04-18 15:01:36 +0000
committer Gurpreet Singh <gurpreetgs@google.com> 2024-04-18 17:16:39 +0000
commitcdb07595a1a2e41e747c75cccb551c9efb8216f8 (patch)
tree98aa6f960220c2960bfd7499416e621931bc2ae3
parent2cca67088ffc531327a4eca5d71c1b4ef2f3fa31 (diff)
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
-rwxr-xr-xtools/finalization/localonly-steps.sh2
1 files changed, 1 insertions, 1 deletions
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