f13fd59f55
This is a revert of aosp/2573034, but as a separate cl because the filename has been changed. We're reverting aosp/2573034 because the bazel migration has been cancelled and that api_constants.bzl file was changed to not be used. Ignore-AOSP-First: Someone else renamed this file in internal-only. Bug: 315353489 Test: Manually ran this snippet of shell script Change-Id: I3a51be1119109d2a6cf3959bdc8a48192872580f |
||
---|---|---|
.. | ||
build-step-0.sh | ||
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 | ||
command-line-options.sh | ||
dryrun-cleanup.sh | ||
dryrun-step-1-and-2.sh | ||
dryrun-step-1.sh | ||
environment.sh | ||
finalize-sdk-rel.sh | ||
finalize-sdk-resources.sh | ||
finalize-vintf-resources.sh | ||
frameworks_base.apply_hack.diff | ||
frameworks_base.revert_hack.diff | ||
localonly-steps.sh | ||
OWNERS | ||
README.md | ||
step-0.sh | ||
step-1.sh | ||
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 VINTF. Prepare the branch for VINTF release.
- 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 VINTF and submit. Do Finalize VINTF step, create CLs, organize them into topic and send to Gerrit.
- Finalize SDK and submit. Do Finalize SDK step, create CLs, organize them into topic and send to Gerrit.
- 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.
- Finalization Step 0, git_main-fina-0-release. Test Finalize VINTF.
- Finalization Step 1, git_main-fina-1-release. Test Finalize VINTF, Finalize SDK.
- 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.
- 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.
Dry run:
Full cleanup. Remove all local changes and switch each project into head-less state. Also removes "DryRun" branches. SDK. Perform SDK finalization and upload the CLs to Gerrit. SDK and REL. Perform SDK finalization, plus all necessary changes to switch configuration to REL, and upload the CLs to Gerrit.