53477c86e0
Original change: https://android-review.googlesource.com/c/platform/build/+/2858125 Change-Id: I52fae823f4c3e22f507123c188923a5b56d2725b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> |
||
---|---|---|
.. | ||
build-step-1-and-2.sh | ||
build-step-1-and-m.sh | ||
build-step-1.sh | ||
build_soong_java_droidstubs.go.apply_hack.diff | ||
build_soong_java_droidstubs.go.revert_hack.diff | ||
cleanup.sh | ||
environment.sh | ||
finalize-aidl-vndk-sdk-resources.sh | ||
finalize-sdk-rel.sh | ||
frameworks_base.apply_hack.diff | ||
frameworks_base.apply_resource_sdk_int.diff | ||
frameworks_base.revert_hack.diff | ||
frameworks_base.revert_resource_sdk_int.diff | ||
localonly-steps.sh | ||
OWNERS | ||
README.md | ||
step-1.sh | ||
step-2.sh | ||
update-step-1.sh | ||
update-step-2.sh |
Finalization tools
This folder contains automation and CI scripts for finalizing Android before release.
Automation:
- Environment setup. Set values for varios finalization constants.
- Finalize SDK. Prepare the branch for SDK release. SDK contains Android Java APIs and other stable APIs. Commonly referred as a 1st step.
- Finalize Android. Mark branch as "REL", i.e. prepares for Android release. Any signed build containing these changes will be considered an official Android Release. Referred as a 2nd finalization step.
- Finalize SDK and submit. Do Finalize SDK step, create CLs, organize them into topic and send to Gerrit. a. Update SDK and submit. Same as above, but updates the existings CLs.
- Finalize Android and submit. Do Finalize Android step, create CLs, organize them into topic and send to Gerrit. a. Update Android and submit. Same as above, but updates the existings CLs.
CI:
Performed in build targets in Finalization branches.
- Finalization Step 1, git_main-fina-1-release. Test 1st step/Finalize SDK.
- Finalization Step 2, git_main-fina-2-release. Test 1st step/Finalize SDK and 2nd step/Finalize Android. Use local finalization to build and copy presubmits.
- Local finalization steps are done only during local testing or in the CI lab. Normally these steps use artifacts from other builds.
Utility:
Full cleanup. Remove all local changes and switch each project into head-less state. This is the best state to sync/rebase/finalize the branch.