re-add exp web plat feat and fix build_android.sh

This commit is contained in:
Alexander Frick 2023-08-16 05:27:13 -05:00
parent eaa5eb7777
commit fd8dbac16c
5 changed files with 9 additions and 5 deletions

View File

@ -42,12 +42,16 @@ printf "${YEL}Building Thorium for Android...\n" &&
printf "${YEL}Note: You may want ADB installed.${c0}\n" &&
printf "${CYA}\n" &&
cr_build_jobs="$2"
export cr_build_jobs
buildARM32 () {
# Build Thorium for ARM32 and System WebView
export NINJA_SUMMARIZE_BUILD=1 &&
export NINJA_STATUS="[%r processes, %f/%t @ %o/s | %e sec. ] " &&
cd ${CR_SRC_DIR} &&
autoninja -C out/thorium chrome_public_apk content_shell_apk system_webview_apk -j$@ &&
autoninja -C out/thorium chrome_public_apk content_shell_apk system_webview_apk -j${cr_build_jobs} &&
cat ~/thorium/logos/thorium_logo_ascii_art.txt &&

View File

@ -5,4 +5,4 @@ PARENT="$(dirname "$HERE")"
export LD_LIBRARY_PATH="${PARENT}"/lib:$PATH
"${HERE}"/thorium_shell --use-gl=desktop --debug $@
"${HERE}"/thorium_shell --use-gl=desktop --enable-experimental-web-platform-features --debug $@

View File

@ -2,4 +2,4 @@
# Copyright (c) 2022 Alex313031
./thorium_shell --data-path=$(pwd)/.config/thorium-shell --debug --enable-clear-hevc-for-testing $@
./thorium_shell --data-path=$(pwd)/.config/thorium-shell --enable-experimental-web-platform-features --debug --enable-clear-hevc-for-testing $@

View File

@ -1 +1 @@
START "" "%cd%\BIN\115.0.5790.172\thorium_shell.exe" --data-path="%~dp0%\USER_DATA\thorium_shell" --allow-outdated-plugins --disable-logging --disable-breakpad
START "" "%cd%\BIN\115.0.5790.172\thorium_shell.exe" --data-path="%~dp0%\USER_DATA\thorium_shell" --allow-outdated-plugins --disable-logging --disable-breakpad --enable-experimental-web-platform-features

View File

@ -1,3 +1,3 @@
#!/bin/bash
/opt/chromium.org/thorium/thorium_shell --debug --enable-clear-hevc-for-testing $@
/opt/chromium.org/thorium/thorium_shell --enable-experimental-web-platform-features --debug --enable-clear-hevc-for-testing $@