Alex Buynytskyy | 32ce138 | 2023-02-17 12:48:53 -0800 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | |
| 3 | set -ex |
| 4 | |
| 5 | function 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 | |
| 21 | finalize_main |
| 22 | |