3549659a1c
To put in CI. At the end of every Android release, we need to do 100,000 things to get the release ready. The process to finalize the release for AIDL interfaces is automated now, so we're adding a generic script. The goal is: 1. gradually add more pieces of the finalization process which can be automated (VNDK, SDK, etc...) 2. when problems happen, we can fix them in real time in CI 3. once the entire release process is in CI, we can optimize it, and we can require that new requirements on the Android release process come with a script to satisfy them. Until then, this script will be used to test the automated parts of the release process in CI. Bug: 190577319 Bug: 228979367 Test: ./build/make/finalize_branch_for_release.sh (in the T release branch) Change-Id: Ie9ff42dd4c6e86d395bde3f14788029e5bde5fb2
27 lines
594 B
Bash
Executable file
27 lines
594 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
source ../envsetup.sh
|
|
|
|
# default target to modify tree and build SDK
|
|
lunch aosp_arm64-userdebug
|
|
|
|
set -x
|
|
|
|
# This script is WIP and only finalizes part of the Android branch for release.
|
|
# The full process can be found at (INTERNAL) go/android-sdk-finalization.
|
|
|
|
# VNDK snapshot (TODO)
|
|
# SDK snapshots (TODO)
|
|
# Update references in the codebase to new API version (TODO)
|
|
# ...
|
|
|
|
AIDL_TRANSITIVE_FREEZE=true m aidl-freeze-api
|
|
|
|
# TODO(b/229413853): test while simulating 'rel' for more requirements AIDL_FROZEN_REL=true
|
|
m # test build
|
|
|
|
# Build SDK (TODO)
|
|
# lunch sdk...
|
|
# m ...
|