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

Commit 3510fa6d authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "Let finalize_branch_for_release.sh create ABI dumps"

parents e8b97242 6c2353d7
Loading
Loading
Loading
Loading
+12 −4
Original line number Original line Diff line number Diff line
@@ -16,15 +16,23 @@ function finalize_main() {
    # Update references in the codebase to new API version (TODO)
    # Update references in the codebase to new API version (TODO)
    # ...
    # ...


    AIDL_TRANSITIVE_FREEZE=true $m aidl-freeze-api
    AIDL_TRANSITIVE_FREEZE=true $m aidl-freeze-api create_reference_dumps

    # Generate ABI dumps
    ANDROID_BUILD_TOP="$top" \
        out/host/linux-x86/bin/create_reference_dumps \
        -p aosp_arm64 --build-variant user


    # Update new versions of files. See update-vndk-list.sh (which requires envsetup.sh)
    # Update new versions of files. See update-vndk-list.sh (which requires envsetup.sh)
    $m check-vndk-list || \
    $m check-vndk-list || \
        { cp $top/out/soong/vndk/vndk.libraries.txt $top/build/make/target/product/gsi/current.txt; }
        { cp $top/out/soong/vndk/vndk.libraries.txt $top/build/make/target/product/gsi/current.txt; }


    # for now, we simulate the release state for AIDL, but in the future, we would want
    # This command tests:
    # to actually turn the branch into the REL state and test with that
    #   The release state for AIDL.
    AIDL_FROZEN_REL=true $m nothing # test build
    #   ABI difference between user and userdebug builds.
    # In the future, we would want to actually turn the branch into the REL
    # state and test with that.
    AIDL_FROZEN_REL=true $m droidcore


    # Build SDK (TODO)
    # Build SDK (TODO)
    # lunch sdk...
    # lunch sdk...