aboutsummaryrefslogtreecommitdiff
path: root/finalize_branch_for_release.sh
blob: c942eb2e54e212cc5ac8cafac55020735396302b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash

set -e

source "$(dirname "$0")"/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

m check-vndk-list || update-vndk-list.sh # for new versions of AIDL interfaces

# for now, we simulate the release state for AIDL, but in the future, we would want
# to actually turn the branch into the REL state and test with that
AIDL_FROZEN_REL=true m # test build

# Build SDK (TODO)
# lunch sdk...
# m ...