blob: 8587b3aabc6c50f70990ccddd78681009c17efe4 [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 Cha9c376b42022-05-03 01:51:06 +000020# Adding -j1 option because of file(Android.bp) race condition.
21AIDL_TRANSITIVE_FREEZE=true m aidl-freeze-api -j1
Steven Moreland35496592022-04-19 00:57:45 +000022
Steven Moreland392499b2022-04-22 22:07:27 +000023m check-vndk-list || update-vndk-list.sh # for new versions of AIDL interfaces
24
Steven Moreland5fe71052022-04-28 00:03:27 +000025# for now, we simulate the release state for AIDL, but in the future, we would want
26# to actually turn the branch into the REL state and test with that
27AIDL_FROZEN_REL=true m # test build
Steven Moreland35496592022-04-19 00:57:45 +000028
29# Build SDK (TODO)
30# lunch sdk...
31# m ...