mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 19:37:30 -03:00
fix scripts
This commit is contained in:
parent
51cde53765
commit
727e595662
4 changed files with 13 additions and 5 deletions
11
VERSION.sh
11
VERSION.sh
|
@ -44,12 +44,23 @@ git checkout -f tags/$THOR_VER &&
|
||||||
|
|
||||||
git clean -ffd &&
|
git clean -ffd &&
|
||||||
|
|
||||||
|
cd ~/thorium &&
|
||||||
|
|
||||||
|
# Add //third_party/libjxl to DEPS
|
||||||
cp -v thorium-libjxl/DEPS ~/chromium/src/
|
cp -v thorium-libjxl/DEPS ~/chromium/src/
|
||||||
|
|
||||||
|
# Use our artifacts hash
|
||||||
|
cp -v src/build/vs_toolchain.py ~/chromium/src/build/
|
||||||
|
|
||||||
|
cd ~/chromium/src &&
|
||||||
|
|
||||||
gclient sync --with_branch_heads --with_tags -f -R -D &&
|
gclient sync --with_branch_heads --with_tags -f -R -D &&
|
||||||
|
|
||||||
gclient runhooks &&
|
gclient runhooks &&
|
||||||
|
|
||||||
|
# Install all sysroots (i.e. for ARM64)
|
||||||
|
build/linux/sysroot_scripts/install-sysroot.py --all &&
|
||||||
|
|
||||||
cd ~/thorium &&
|
cd ~/thorium &&
|
||||||
|
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
1
setup.sh
1
setup.sh
|
@ -45,6 +45,7 @@ printf "${YEL}Copying Thorium source files over the Chromium tree...\n" &&
|
||||||
tput sgr0 &&
|
tput sgr0 &&
|
||||||
|
|
||||||
# Copy libjxl src
|
# Copy libjxl src
|
||||||
|
cd ~/thorium &&
|
||||||
cp -r -v thorium-libjxl/src/. $HOME/chromium/src/ &&
|
cp -r -v thorium-libjxl/src/. $HOME/chromium/src/ &&
|
||||||
|
|
||||||
# Copy Thorium sources
|
# Copy Thorium sources
|
||||||
|
|
|
@ -33,7 +33,7 @@ from gn_helpers import ToGNString
|
||||||
# Affects the availability of APIs in the toolchain headers.
|
# Affects the availability of APIs in the toolchain headers.
|
||||||
# * //docs/windows_build_instructions.md mentions of VS or Windows SDK.
|
# * //docs/windows_build_instructions.md mentions of VS or Windows SDK.
|
||||||
# Keeps the document consistent with the toolchain version.
|
# Keeps the document consistent with the toolchain version.
|
||||||
TOOLCHAIN_HASH = '1023ce2e82'
|
TOOLCHAIN_HASH = '740cbbb033'
|
||||||
|
|
||||||
script_dir = os.path.dirname(os.path.realpath(__file__))
|
script_dir = os.path.dirname(os.path.realpath(__file__))
|
||||||
json_data_file = os.path.join(script_dir, 'win_toolchain.json')
|
json_data_file = os.path.join(script_dir, 'win_toolchain.json')
|
||||||
|
|
4
trunk.sh
4
trunk.sh
|
@ -38,10 +38,6 @@ gsyncShallow () {
|
||||||
|
|
||||||
cd $HOME/chromium/src/third_party/devtools-frontend/src &&
|
cd $HOME/chromium/src/third_party/devtools-frontend/src &&
|
||||||
|
|
||||||
git checkout -f origin/main &&
|
|
||||||
|
|
||||||
cd $HOME/chromium/src/third_party/ffmpeg &&
|
|
||||||
|
|
||||||
git checkout -f origin/main &&
|
git checkout -f origin/main &&
|
||||||
|
|
||||||
cd $HOME/chromium/src &&
|
cd $HOME/chromium/src &&
|
||||||
|
|
Loading…
Reference in a new issue