Steven Moreland | 3549659 | 2022-04-19 00:57:45 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
Steven Moreland | 4d4b580 | 2022-06-02 17:21:30 +0000 | [diff] [blame] | 3 | set -ex |
Steven Moreland | 3549659 | 2022-04-19 00:57:45 +0000 | [diff] [blame] | 4 | |
Steven Moreland | 4d4b580 | 2022-06-02 17:21:30 +0000 | [diff] [blame] | 5 | function finalize_main() { |
| 6 | local top="$(dirname "$0")"/../.. |
Steven Moreland | 3549659 | 2022-04-19 00:57:45 +0000 | [diff] [blame] | 7 | |
Steven Moreland | 4d4b580 | 2022-06-02 17:21:30 +0000 | [diff] [blame] | 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" |
Steven Moreland | 3549659 | 2022-04-19 00:57:45 +0000 | [diff] [blame] | 10 | |
Alex Buynytskyy | 3bd1b91 | 2022-09-22 11:30:53 -0700 | [diff] [blame] | 11 | # Build finalization artifacts. |
| 12 | source $top/build/make/finalize-aidl-vndk-sdk-resources.sh |
Alex Buynytskyy | 0842d21 | 2022-09-16 09:33:33 -0700 | [diff] [blame] | 13 | |
Hsin-Yi Chen | 6c2353d | 2022-07-08 12:09:10 +0800 | [diff] [blame] | 14 | # This command tests: |
| 15 | # The release state for AIDL. |
| 16 | # ABI difference between user and userdebug builds. |
Alex Buynytskyy | 0842d21 | 2022-09-16 09:33:33 -0700 | [diff] [blame] | 17 | # Resource/SDK finalization. |
Hsin-Yi Chen | 6c2353d | 2022-07-08 12:09:10 +0800 | [diff] [blame] | 18 | # In the future, we would want to actually turn the branch into the REL |
| 19 | # state and test with that. |
Devin Moore | e311880 | 2022-11-08 21:32:26 +0000 | [diff] [blame] | 20 | AIDL_FROZEN_REL=true $m |
Steven Moreland | 392499b | 2022-04-22 22:07:27 +0000 | [diff] [blame] | 21 | |
Steven Moreland | 4d4b580 | 2022-06-02 17:21:30 +0000 | [diff] [blame] | 22 | # Build SDK (TODO) |
| 23 | # lunch sdk... |
| 24 | # m ... |
| 25 | } |
Steven Moreland | 3549659 | 2022-04-19 00:57:45 +0000 | [diff] [blame] | 26 | |
Steven Moreland | 4d4b580 | 2022-06-02 17:21:30 +0000 | [diff] [blame] | 27 | finalize_main |
Alex Buynytskyy | 0842d21 | 2022-09-16 09:33:33 -0700 | [diff] [blame] | 28 | |