• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

OWNERSD15-Dec-2024148

README.mdD15-Dec-20242.5 KiB

build-step-0.shD15-Dec-2024399

build-step-1-and-2.shD15-Dec-2024887

build-step-1-and-m.shD15-Dec-2024439

build-step-1.shD15-Dec-2024555

build_soong_java_droidstubs.go.apply_hack.diffD14-Jan-20241 KiB

build_soong_java_droidstubs.go.revert_hack.diffD14-Jan-2024932

cleanup.shD15-Dec-2024632

command-line-options.shD15-Dec-2024235

dryrun-cleanup.shD15-Dec-2024871

dryrun-step-1-and-2.shD15-Dec-20241.4 KiB

dryrun-step-1.shD15-Dec-20241.3 KiB

environment.shD15-Dec-20241.2 KiB

finalize-sdk-rel.shD15-Dec-20241.9 KiB

finalize-sdk-resources.shD15-Dec-20247.9 KiB

finalize-vintf-resources.shD15-Dec-20242.5 KiB

frameworks_base.apply_hack.diffD14-Jan-20246.1 KiB

frameworks_base.revert_hack.diffD14-Jan-20246 KiB

localonly-steps.shD15-Dec-20241.3 KiB

step-0.shD15-Dec-20241.3 KiB

step-1.shD15-Dec-20241.5 KiB

step-2.shD15-Dec-20241.4 KiB

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.
61. [Finalize VINTF](./finalize-vintf-resources.sh). Prepare the branch for VINTF release.
71. [Finalize SDK](./finalize-sdk-resources.sh). Prepare the branch for SDK release. SDK contains Android Java APIs and other stable APIs. Commonly referred as a 1st step.
81. [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.
91. [Finalize VINTF and submit](./step-0.sh). Do Finalize VINTF step, create CLs, organize them into topic and send to Gerrit.
101. [Finalize SDK and submit](./step-1.sh). Do Finalize SDK step, create CLs, organize them into topic and send to Gerrit.
111. [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.
12
13## CI:
14Performed in build targets in Finalization branches.
151. [Finalization Step 0, git_main-fina-0-release](https://android-build.corp.google.com/build_explorer/branch/git_main-fina-0-release). Test Finalize VINTF.
161. [Finalization Step 1, git_main-fina-1-release](https://android-build.corp.google.com/build_explorer/branch/git_main-fina-1-release). Test Finalize VINTF, Finalize SDK.
171. [Finalization Step 2, git_main-fina-2-release](https://android-build.corp.google.com/build_explorer/branch/git_main-fina-2-release). Test Finalize VINTF, Finalize SDK, and [2nd step/Finalize Android](./finalize-sdk-rel.sh). Use [local finalization](./localonly-steps.sh) to build and copy presubmits.
181. [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.
19
20## Utility:
21[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.
22
23## Dry run:
24[Full cleanup](./dryrun-cleanup.sh). Remove all local changes and switch each project into head-less state. Also removes "DryRun" branches.
25[SDK](./dryrun-step-1.sh). Perform SDK finalization and upload the CLs to Gerrit.
26[SDK and REL](./dryrun-step-1-and-2.sh). Perform SDK finalization, plus all necessary changes to switch configuration to REL, and upload the CLs to Gerrit.