Alex Buynytskyy | 13c8267 | 2022-12-07 18:54:51 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # Continuous Integration script for *-finalization-2 branches. |
| 3 | # Reverts previous finalization script commits and runs local build. |
| 4 | |
| 5 | set -ex |
| 6 | |
Alex Buynytskyy | 13c8267 | 2022-12-07 18:54:51 +0000 | [diff] [blame] | 7 | function finalize_step_2_main() { |
| 8 | local top="$(dirname "$0")"/../.. |
| 9 | local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug" |
| 10 | |
Alex Buynytskyy | 13c8267 | 2022-12-07 18:54:51 +0000 | [diff] [blame] | 11 | # vndk etc finalization |
| 12 | source $top/build/make/finalize-aidl-vndk-sdk-resources.sh |
| 13 | |
| 14 | # prebuilts etc |
| 15 | source $top/build/make/finalize-sdk-rel.sh |
| 16 | |
Alex Buynytskyy | 5837cc2 | 2022-12-15 17:19:53 +0000 | [diff] [blame] | 17 | # mainline sdk prebuilts |
| 18 | source $top/build/make/finalize-locally-mainline-sdk.sh |
| 19 | |
Alex Buynytskyy | 13c8267 | 2022-12-07 18:54:51 +0000 | [diff] [blame] | 20 | # build to confirm everything is OK |
| 21 | AIDL_FROZEN_REL=true $m |
| 22 | } |
| 23 | |
| 24 | finalize_step_2_main |