From 27def62e171092b46c06aa7309bb896d0b09dd8f Mon Sep 17 00:00:00 2001
From: Daniel Micay target_cpu
is x64
, but note
that the Android source tree refers to it as x86_64.
To build ChromeModernPublic, which provides the browser app:
+Build the components:
-ninja -C out/Default/ chrome_modern_public_apk+
ninja -C out/Default/ trichrome_webview_apk trichrome_chrome_bundle trichrome_library_apk-
The apk needs to be copied from out/Default/apks/ChromeModernPublic.apk
+
Generate TrichromeChrome.apk from the bundle:
+ +../generate_trichrome_apk.sh+ +
The apks needs to be copied from out/Default/apks/*.apk
into the Android source tree at
- external/vanadium/prebuilt/arm64/ChromeModernPublic.apk
with arm64
- substituted with the correct value for other architectures (arm, x86, x86_64).
To build SystemWebView, which provides the WebView:
- -ninja -C out/Default/ system_webview_apk- -
The apk needs to be copied from out/Default/apks/SystemWebView.apk
- into the Android source tree at
- external/chromium-webview/prebuilt/arm64/webview.apk
with arm64
+ external/vanadium/prebuilt/arm64/
with arm64
substituted with the correct value for other architectures (arm, x86, x86_64).
WebView provider apps need to be whitelisted in