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

Commit 03d2e1aa authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Browser: use platform test-key to sign non-docker build

parent af47be76
Loading
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -54,6 +54,16 @@ build() {
    build_args+=' android_default_version_name="'$chromium_version'"'
    build_args+=' android_default_version_code="'$code'"'

    # AOSP test-key signing for non docker builds
    if [  "$chromium_dir" ==  "$root_dir" ]; then
        echo ">> [$(date)] Using AOSP test-key to sign"
        keystore_path="${root_dir}/build/platform.jks"
        build_args+=' android_keystore_path="'$keystore_path'"'
        build_args+=' android_keystore_name="platform"'
        build_args+=' android_keystore_password="platform"'
        build_args+=' trichrome_certdigest="c8a2e9bccf597c2fb6dc66bee293fc13f2fc47ec77bc6b2b0d52c11f51192ab8"'
    fi

    if [ $clean -eq 1 ] && [ -d "out/$1" ]; then
        rm -rf "out/$1"
    fi

build/platform.jks

0 → 100644
+2.98 KiB

File added.

No diff preview for this file type.