mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
fix debug shell scripts
This commit is contained in:
parent
1520c64d30
commit
f5b32fb7eb
2 changed files with 25 additions and 3 deletions
|
@ -30,10 +30,21 @@ printf "\n" &&
|
|||
printf "${YEL}Building Thorium DEBUG for Linux...\n" &&
|
||||
printf "${CYA}\n" &&
|
||||
|
||||
# chromium/src dir env variable
|
||||
if [ -z "${CR_DIR}" ]; then
|
||||
CR_SRC_DIR="$HOME/chromium/src"
|
||||
export CR_SRC_DIR
|
||||
else
|
||||
CR_SRC_DIR="${CR_DIR}"
|
||||
export CR_SRC_DIR
|
||||
fi
|
||||
|
||||
# Build Thorium and Thorium UI Debug Shell
|
||||
export NINJA_SUMMARIZE_BUILD=1 &&
|
||||
|
||||
autoninja -C ~/chromium/src/out/thorium chrome chrome_sandbox chromedriver thorium_shell thorium_ui_debug_shell clear_key_cdm -j$@ &&
|
||||
cd ${CR_SRC_DIR} &&
|
||||
autoninja -C /out/thorium chrome chrome_sandbox chromedriver thorium_shell thorium_ui_debug_shell clear_key_cdm -j$@ &&
|
||||
cd ~/thorium/infra/DEBUG &&
|
||||
|
||||
mkdir -v -p ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell &&
|
||||
mkdir -v -p ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell/lib &&
|
||||
|
|
|
@ -30,10 +30,21 @@ printf "\n" &&
|
|||
printf "${YEL}Building Thorium UI Debug Shell for Linux...\n" &&
|
||||
printf "${CYA}\n" &&
|
||||
|
||||
# chromium/src dir env variable
|
||||
if [ -z "${CR_DIR}" ]; then
|
||||
CR_SRC_DIR="$HOME/chromium/src"
|
||||
export CR_SRC_DIR
|
||||
else
|
||||
CR_SRC_DIR="${CR_DIR}"
|
||||
export CR_SRC_DIR
|
||||
fi
|
||||
|
||||
# Build Thorium UI Debug Shell
|
||||
export NINJA_SUMMARIZE_BUILD=1 &&
|
||||
|
||||
autoninja -C ~/chromium/src/out/thorium thorium_ui_debug_shell -j$@ &&
|
||||
cd ${CR_SRC_DIR} &&
|
||||
autoninja -C out/thorium thorium_ui_debug_shell -j$@ &&
|
||||
cd ~/thorium/infra/DEBUG &&
|
||||
|
||||
mkdir -v -p ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell &&
|
||||
mkdir -v -p ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell/lib &&
|
||||
|
@ -57,7 +68,7 @@ cp -r -f -v ~/chromium/src/out/thorium/ui ~/chromium/src/out/thorium/Thorium_UI_
|
|||
cp -r -f -v ~/chromium/src/out/thorium/libffmpeg.so ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell/ &&
|
||||
cp -r -f -v ~/chromium/src/out/thorium/libffmpeg.so ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell/lib &&
|
||||
# cp -r -f -v ~/chromium/src/out/thorium/libblink_test_plugin.so ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell/ &&
|
||||
cp -r -f -v ~/chromium/src/out/thorium/libmojo_core.so ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell/ &&
|
||||
# cp -r -f -v ~/chromium/src/out/thorium/libmojo_core.so ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell/ &&
|
||||
cp -r -f -v ~/chromium/src/out/thorium/icudtl.dat ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell/ &&
|
||||
cp -r -f -v ~/chromium/src/out/thorium/content_resources.pak ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell/ &&
|
||||
cp -r -f -v ~/chromium/src/out/thorium/libEGL.so ~/chromium/src/out/thorium/Thorium_UI_Debug_Shell/ &&
|
||||
|
|
Loading…
Reference in a new issue