• Home
Name Date Size #Lines LOC

..--

OWNERSD03-May-2024108 65

README.mdD03-May-20242.4 KiB2319

build-step-1-and-2.shD03-May-2024668 2513

build-step-1-and-m.shD03-May-2024496 208

build-step-1.shD03-May-2024368 179

build_soong_java_droidstubs.go.apply_hack.diffD03-May-20241 KiB3126

build_soong_java_droidstubs.go.revert_hack.diffD03-May-2024932 2722

cleanup.shD03-May-2024614 2211

environment.shD03-May-2024518 2210

finalize-aidl-vndk-sdk-resources.shD03-May-20247.7 KiB16299

finalize-sdk-rel.shD03-May-20243 KiB6740

frameworks_base.apply_hack.diffD03-May-20246.1 KiB130120

frameworks_base.apply_resource_sdk_int.diffD03-May-2024832 2521

frameworks_base.revert_hack.diffD03-May-20246 KiB126115

frameworks_base.revert_resource_sdk_int.diffD03-May-2024918 2822

localonly-steps.shD03-May-20241.1 KiB2712

step-1.shD03-May-20241.2 KiB3723

step-2.shD03-May-20241.1 KiB3521

update-step-1.shD03-May-20241.1 KiB4023

update-step-2.shD03-May-20241.1 KiB3923

README.md

1# Finalization tools
2This folder contains automation and CI scripts for [finalizing](https://go/android-finalization) Android before release.
3
4## Automation:
51. [Environment setup](./environment.sh). Set values for varios finalization constants.
62. [Finalize SDK](./finalize-aidl-vndk-sdk-resources.sh). Prepare the branch for SDK release. SDK contains Android Java APIs and other stable APIs. Commonly referred as a 1st step.
73. [Finalize Android](./finalize-sdk-rel.sh). 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.
84. [Finalize SDK and submit](./step-1.sh). Do [Finalize SDK](./finalize-aidl-vndk-sdk-resources.sh) step, create CLs, organize them into topic and send to Gerrit.
9  a. [Update SDK and submit](./update-step-1.sh). Same as above, but updates the existings CLs.
105. [Finalize Android and submit](./step-2.sh). Do [Finalize Android](./finalize-sdk-rel.sh) step, create  CLs, organize them into topic and send to Gerrit.
11  a. [Update Android and submit](./update-step-2.sh). Same as above, but updates the existings CLs.
12
13## CI:
14Performed in build targets in Finalization branches.
151. [Finalization Step 1 for Main, git_main-fina-1-release](https://android-build.googleplex.com/builds/branches/git_main-fina-1-release/grid). Test [1st step/Finalize SDK](./finalize-aidl-vndk-sdk-resources.sh).
162. [Finalization Step 1 for UDC, git_udc-fina-1-release](https://android-build.googleplex.com/builds/branches/git_udc-fina-1-release/grid). Same but for udc-dev.
173. [Finalization Step 2 for Main, git_main-fina-2-release](https://android-build.googleplex.com/builds/branches/git_main-fina-2-release/grid). Test [1st step/Finalize SDK](./finalize-aidl-vndk-sdk-resources.sh) and [2nd step/Finalize Android](./finalize-sdk-rel.sh). Use [local finalization](./localonly-steps.sh) to build and copy presubmits.
184. [Finalization Step 2 for UDC, git_udc-fina-2-release](https://android-build.googleplex.com/builds/branches/git_udc-fina-2-release/grid). Same but for udc-dev.
195. [Local finalization steps](./localonly-steps.sh) are done only during local testing or in the CI lab. Normally these steps use artifacts from other builds.
20
21## Utility:
22[Full cleanup](./cleanup.sh). Remove all local changes and switch each project into head-less state. This is the best state to sync/rebase/finalize the branch.
23