Prebuilt Android System Webview from www.bromite.org
Please note: It seems that the Bromite project isn't active any longer
Replaces the default Android System Webview with the 'Bromite' SystemWebView component in Custom ROM builds
I have only taken the apk files (arm, arm64) from https://www.bromite.org/system_web_view and created an 'Android.mk' file around. All credits go to the Chromium project (https://www.chromium.org/Home) and the developers behind Bromite. Please visit the respective pages listed above for more information and the respective Copyright and License
- Minimum SDK level is 24 (Android Nougat)
- Include this repo into your local manifest (path does not matter, suggest external/bromite-webview)
- Specify
PRODUCT_PACKAGES += bromite-webview
in a 'product' .mk file (not in an Android.mk file) - An 'elegant' way to do so without having to fork and track any specific device or vendor repository is to simply create an own product.mk file in directory vendor/extras (or to add the above statement into an existing one)
- It is not necessary to remove the default webview repo from the build tree
- Take note about the next section !
As of release v97, Bromite Webview uses an own package name 'org.bromite.webview'. This means, that you need to add it as webview provider to the configuration in your build tree. You can do so by overlaying the standard settings as shown in this commit (recommended approach) or by patching the respective configuration file in the frameworks/base repository directly. Missing this step will prevent the webview functionality from being used in your build!