blob: c942eb2e54e212cc5ac8cafac55020735396302b [file] [log] [blame]
Steven Moreland35496592022-04-19 00:57:45 +00001#!/bin/bash
2
3set -e
4
Steven Moreland12071ac2022-04-21 01:52:46 +00005source "$(dirname "$0")"/envsetup.sh
Steven Moreland35496592022-04-19 00:57:45 +00006
7# default target to modify tree and build SDK
8lunch aosp_arm64-userdebug
9
10set -x
11
12# This script is WIP and only finalizes part of the Android branch for release.
13# The full process can be found at (INTERNAL) go/android-sdk-finalization.
14
15# VNDK snapshot (TODO)
16# SDK snapshots (TODO)
17# Update references in the codebase to new API version (TODO)
18# ...
19
Jeongik Cha26e9dd32022-05-11 01:25:19 +000020AIDL_TRANSITIVE_FREEZE=true m aidl-freeze-api
Steven Moreland35496592022-04-19 00:57:45 +000021
Steven Moreland392499b2022-04-22 22:07:27 +000022m check-vndk-list || update-vndk-list.sh # for new versions of AIDL interfaces
23
Steven Moreland5fe71052022-04-28 00:03:27 +000024# for now, we simulate the release state for AIDL, but in the future, we would want
25# to actually turn the branch into the REL state and test with that
26AIDL_FROZEN_REL=true m # test build
Steven Moreland35496592022-04-19 00:57:45 +000027
28# Build SDK (TODO)
29# lunch sdk...
30# m ...