thorium-mirror/win_scripts/trunk.bat

41 lines
1 KiB
Batchfile
Raw Normal View History

## Windows native build trunk script.
# Copyright (c) 2022 Alex313031.
2022-05-18 17:25:56 -04:00
echo "Rebasing/Syncing and running hooks..." &&
2022-05-18 17:02:36 -04:00
cd C:\src\chromium\src\v8 &&
git checkout -f origin/main &&
2022-07-09 20:09:08 -04:00
cd C:\src\chromium\src\third_party\devtools-frontend\src
git checkout -f origin/main &&
rm C:\src\chromium\src\ui\webui\resources\images\infra.png &&
rm C:\src\chromium\src\components\flags_ui\resources\hazard.svg &&
rm C:\src\chromium\src\components\neterror\resources\favicon-16x16.png &&
rm C:\src\chromium\src\components\neterror\resources\favicon-32x32.png &&
rm C:\src\chromium\src\content\shell\app\thorium_shell.ico &&
rm C:\src\chromium\src\chrome\browser\thorium_flag_entries.h &&
2022-05-18 17:02:36 -04:00
cd C:\src\chromium\src &&
git checkout -f origin/main &&
git rebase-update &&
git fetch --tags &&
2022-05-18 17:02:36 -04:00
gclient sync --with_branch_heads --with_tags -f -R -D &&
gclient runhooks &&
2022-05-18 17:25:56 -04:00
echo "Downloading PGO Profile for Win64..." &&
2024-01-22 18:42:41 -03:00
python tools\update_pgo_profiles.py --target=win64 update --gs-url-base=chromium-optimization-profiles/pgo_profiles