From 27def62e171092b46c06aa7309bb896d0b09dd8f Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 18 Feb 2020 18:28:52 -0500 Subject: [PATCH] update build instructions to Trichrome --- static/build.html | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/static/build.html b/static/build.html index bda99e88..250b5346 100644 --- a/static/build.html +++ b/static/build.html @@ -606,22 +606,17 @@ git am --whitespace=nowarn ../*.patch x86_64, the correct value for 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