platform_build/tools/finalization
Xin Li b04e9cc36f Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I713a528d437e3446d32461add648e3b52b036d7a
Change-Id: I7fdd415a218d1425f7fc37095d02c674ddfae6eb
2024-05-24 08:30:06 -07:00
..
build-step-0.sh Define step-0 for vintf finalization 2024-02-06 11:56:00 +09:00
build-step-1-and-2.sh Define step-0 for vintf finalization 2024-02-06 11:56:00 +09:00
build-step-1-and-m.sh Refresh the latest script versions + preparation for local mode. 2023-02-21 04:56:37 +00:00
build-step-1.sh Define step-0 for vintf finalization 2024-02-06 11:56:00 +09:00
build_soong_java_droidstubs.go.apply_hack.diff Refresh the latest script versions + preparation for local mode. 2023-02-21 04:56:37 +00:00
build_soong_java_droidstubs.go.revert_hack.diff Refresh the latest script versions + preparation for local mode. 2023-02-21 04:56:37 +00:00
cleanup.sh
environment.sh Vendor API level 202404 is now frozen 2024-02-27 00:04:50 +00:00
finalize-sdk-rel.sh Move sepolicy finalization to vintf 2024-01-30 03:34:56 +00:00
finalize-sdk-resources.sh Merge Android 24Q2 Release (ab/11526283) to aosp-main-future 2024-05-24 08:30:06 -07:00
finalize-vintf-resources.sh Merge "finalization: add a step to freeze the framework manifest" into main 2024-02-16 20:32:01 +00:00
frameworks_base.apply_hack.diff Refresh the latest script versions + preparation for local mode. 2023-02-21 04:56:37 +00:00
frameworks_base.apply_resource_sdk_int.diff Finalization script fixes. 2023-04-16 21:15:18 -07:00
frameworks_base.revert_hack.diff Refresh the latest script versions + preparation for local mode. 2023-02-21 04:56:37 +00:00
frameworks_base.revert_resource_sdk_int.diff Finalization script fixes. 2023-04-16 21:15:18 -07:00
localonly-steps.sh Finalization for Trunk Stable, REL. 2023-11-09 05:02:11 +00:00
OWNERS Finalization: update OWNERS 2024-04-03 17:20:42 +02:00
README.md Define step-0 for vintf finalization 2024-02-06 11:56:00 +09:00
step-0.sh Define step-0 for vintf finalization 2024-02-06 11:56:00 +09:00
step-1.sh Define step-0 for vintf finalization 2024-02-06 11:56:00 +09:00
step-2.sh Define step-0 for vintf finalization 2024-02-06 11:56:00 +09:00

Finalization tools

This folder contains automation and CI scripts for finalizing Android before release.

Automation:

  1. Environment setup. Set values for varios finalization constants.
  2. Finalize VINTF. Prepare the branch for VINTF release.
  3. Finalize SDK. Prepare the branch for SDK release. SDK contains Android Java APIs and other stable APIs. Commonly referred as a 1st step.
  4. 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.
  5. Finalize VINTF and submit. Do Finalize VINTF step, create CLs, organize them into topic and send to Gerrit.
  6. Finalize SDK and submit. Do Finalize SDK step, create CLs, organize them into topic and send to Gerrit.
  7. Finalize Android and submit. Do Finalize Android step, create CLs, organize them into topic and send to Gerrit.

CI:

Performed in build targets in Finalization branches.

  1. Finalization Step 0, git_main-fina-0-release. Test Finalize VINTF.
  2. Finalization Step 1, git_main-fina-1-release. Test Finalize VINTF, Finalize SDK.
  3. Finalization Step 2, git_main-fina-2-release. Test Finalize VINTF, Finalize SDK, and 2nd step/Finalize Android. Use local finalization to build and copy presubmits.
  4. 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.