tree: cb7010300d3cc4cb9039298650df68d826b06466 [path history] [tgz]
  1. build-step-0.sh
  2. build-step-1-and-2.sh
  3. build-step-1-and-m.sh
  4. build-step-1.sh
  5. build_soong_java_droidstubs.go.apply_hack.diff
  6. build_soong_java_droidstubs.go.revert_hack.diff
  7. cleanup.sh
  8. environment.sh
  9. finalize-sdk-rel.sh
  10. finalize-sdk-resources.sh
  11. finalize-vintf-resources.sh
  12. frameworks_base.apply_hack.diff
  13. frameworks_base.apply_resource_sdk_int.diff
  14. frameworks_base.revert_hack.diff
  15. frameworks_base.revert_resource_sdk_int.diff
  16. localonly-steps.sh
  17. OWNERS
  18. README.md
  19. step-0.sh
  20. step-1.sh
  21. step-2.sh
tools/finalization/README.md

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.