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

Commit a0c591db authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Move final script to the new folder."

parents 4e7daf65 32ce1381
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