Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32ce1381 authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

Move final script to the new folder.

Bug: 264308911
Test: run locally
Change-Id: Ice954b7d5ff6c1831e9899c9028e8fd6555ab050
parent 4e7daf65
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
#!/bin/bash

set -ex

function finalize_main() {
    local top="$(dirname "$0")"/../..

    # default target to modify tree and build SDK
    local m="$top/build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug"

    # Build finalization artifacts.
    source $top/build/make/tools/finalization/finalize-aidl-vndk-sdk-resources.sh

    # This command tests:
    #   The release state for AIDL.
    #   ABI difference between user and userdebug builds.
    #   Resource/SDK finalization.
    AIDL_FROZEN_REL=true $m
}

finalize_main