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

Commit 375ea3b4 authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

Don't stop on bump sdk failures.

This is a known issue, fix is in progress.

Bug: 243966946
Test: run locally
Change-Id: Iafcfacc61654838bf0f9ca2321461058ca9afa5b
parent 04d5903f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -133,7 +133,9 @@ function finalize_aidl_vndk_sdk_resources() {
    sed -i -e "/=.*$((${FINAL_PLATFORM_SDK_VERSION}-1)),/a \\  SDK_${FINAL_PLATFORM_CODENAME_JAVA} = ${FINAL_PLATFORM_SDK_VERSION}," "$top/frameworks/base/tools/aapt2/SdkConstants.h"

    # Bump Mainline SDK extension version.
    set +e
    "$top/packages/modules/SdkExtensions/gen_sdk/bump_sdk.sh" ${FINAL_MAINLINE_EXTENSION}
    set -e
    local version_defaults="$top/build/make/core/version_defaults.mk"
    sed -i -e "s/PLATFORM_SDK_EXTENSION_VERSION := .*/PLATFORM_SDK_EXTENSION_VERSION := ${FINAL_MAINLINE_EXTENSION}/g" $version_defaults