mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
33 lines
796 B
Bash
33 lines
796 B
Bash
#!/bin/bash
|
|
|
|
echo "Rebasing/Syncing and running hooks..." &&
|
|
|
|
cd $HOME/chromium/src/v8/ &&
|
|
|
|
git checkout -f origin/main &&
|
|
|
|
cd $HOME/chromium/src &&
|
|
|
|
git checkout -f origin/main &&
|
|
|
|
git rebase-update &&
|
|
|
|
git fetch --tags &&
|
|
|
|
gclient sync --with_branch_heads --with_tags -f -R -D &&
|
|
|
|
gclient runhooks &&
|
|
|
|
echo "Done!" &&
|
|
|
|
echo "Downloading PGO Profiles for Linux, Windows, and Mac..." &&
|
|
|
|
python tools/update_pgo_profiles.py --target=linux update --gs-url-base=chromium-optimization-profiles/pgo_profiles &&
|
|
|
|
python tools/update_pgo_profiles.py --target=win64 update --gs-url-base=chromium-optimization-profiles/pgo_profiles &&
|
|
|
|
python tools/update_pgo_profiles.py --target=mac update --gs-url-base=chromium-optimization-profiles/pgo_profiles &&
|
|
|
|
echo "Done! You can now run ./setup.sh."
|
|
|
|
exit 0
|