mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
re-add exp web plat feat and fix build_android.sh
This commit is contained in:
parent
eaa5eb7777
commit
fd8dbac16c
5 changed files with 9 additions and 5 deletions
|
@ -42,12 +42,16 @@ printf "${YEL}Building Thorium for Android...\n" &&
|
||||||
printf "${YEL}Note: You may want ADB installed.${c0}\n" &&
|
printf "${YEL}Note: You may want ADB installed.${c0}\n" &&
|
||||||
printf "${CYA}\n" &&
|
printf "${CYA}\n" &&
|
||||||
|
|
||||||
|
cr_build_jobs="$2"
|
||||||
|
export cr_build_jobs
|
||||||
|
|
||||||
buildARM32 () {
|
buildARM32 () {
|
||||||
# Build Thorium for ARM32 and System WebView
|
# Build Thorium for ARM32 and System WebView
|
||||||
export NINJA_SUMMARIZE_BUILD=1 &&
|
export NINJA_SUMMARIZE_BUILD=1 &&
|
||||||
|
export NINJA_STATUS="[%r processes, %f/%t @ %o/s | %e sec. ] " &&
|
||||||
|
|
||||||
cd ${CR_SRC_DIR} &&
|
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 &&
|
cat ~/thorium/logos/thorium_logo_ascii_art.txt &&
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,4 @@ PARENT="$(dirname "$HERE")"
|
||||||
|
|
||||||
export LD_LIBRARY_PATH="${PARENT}"/lib:$PATH
|
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 $@
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
# Copyright (c) 2022 Alex313031
|
# 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 $@
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/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 $@
|
||||||
|
|
Loading…
Reference in a new issue