2022-04-19 02:57:45 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2022-04-21 03:52:46 +02:00
|
|
|
source "$(dirname "$0")"/envsetup.sh
|
2022-04-19 02:57:45 +02:00
|
|
|
|
|
|
|
# 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)
|
|
|
|
# ...
|
|
|
|
|
2022-05-11 03:25:19 +02:00
|
|
|
AIDL_TRANSITIVE_FREEZE=true m aidl-freeze-api
|
2022-04-19 02:57:45 +02:00
|
|
|
|
2022-04-23 00:07:27 +02:00
|
|
|
m check-vndk-list || update-vndk-list.sh # for new versions of AIDL interfaces
|
|
|
|
|
2022-04-28 02:03:27 +02:00
|
|
|
# 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
|
2022-04-19 02:57:45 +02:00
|
|
|
|
|
|
|
# Build SDK (TODO)
|
|
|
|
# lunch sdk...
|
|
|
|
# m ...
|