Add WebView from Bromite's F-Droid repository

Signed-off-by: Velsoth <velsoth@adhoc.zone>
This commit is contained in:
Fivel Sotheby 2019-11-14 20:27:32 +00:00
parent a6405de22d
commit 1847b1e408
3 changed files with 12 additions and 1 deletions

View File

@ -153,7 +153,8 @@ PRODUCT_PACKAGES += \
SimpleGallery \
PrivacyBrowser \
Greyscale \
TorBrowser
TorBrowser \
WebView
# Exchange support
PRODUCT_PACKAGES += \

View File

@ -5,6 +5,7 @@ BASEDIR=$( dirname $0 )
PREBUILT_PATH="$BASEDIR/prebuilt/common/apps"
REPO_URL_FDROID="https://f-droid.org/repo"
REPO_URL_GUARDIAN="https://guardianproject.info/fdroid/repo"
REPO_URL_BROMITE="https://fdroid.bromite.org/fdroid/repo"
mkdir -p $PREBUILT_PATH
@ -17,6 +18,7 @@ function getPrebuild() {
if [[ ! -z $version ]]; then version_string="_$version"; fi
case "$repo" in
"guardian") repo_url=$REPO_URL_GUARDIAN ;;
"bromite") repo_url=$REPO_URL_BROMITE ;;
* ) repo_url=$REPO_URL_FDROID ;;
esac
local_app_path="$PREBUILT_PATH/$name.apk"
@ -50,3 +52,4 @@ getPrebuild fdroid PrivacyBrowser com.stoutner.privacybrowser.standard 46
getPrebuild fdroid Greyscale it.lucci.cm.greyscaletheme 115
getPrebuild guardian TorBrowser tor-browser-9.0-android-armv7-multi
getPrebuild bromite WebView rel_78.0.3904.93_arm_SystemWebView

View File

@ -99,3 +99,10 @@ LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_SRC_FILES := apps/Orbot.apk
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := WebView
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_SRC_FILES := apps/WebView.apk
include $(BUILD_PREBUILT)