blob: 0f562b487c22468cafaeb6e9c5d04aa4d0437e1a [file] [log] [blame]
Alex Buynytskyy32ce1382023-02-17 12:48:53 -08001#!/bin/bash
2
3set -ex
4
5function finalize_main() {
6 local top="$(dirname "$0")"/../..
7
8 # default target to modify tree and build SDK
9 local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug"
10
11 # Build finalization artifacts.
12 source $top/build/make/tools/finalization/finalize-aidl-vndk-sdk-resources.sh
13
14 # This command tests:
15 # The release state for AIDL.
16 # ABI difference between user and userdebug builds.
17 # Resource/SDK finalization.
18 AIDL_FROZEN_REL=true $m
19}
20
21finalize_main
22