vs_toolchain fixes

This commit is contained in:
Alexander Frick 2023-03-18 17:21:14 -05:00
parent eab531ea7e
commit 1e46edc7fa
3 changed files with 15 additions and 5 deletions

View file

@ -46,11 +46,11 @@ git clean -ffd &&
cd ~/thorium &&
# Add //third_party/libjxl to DEPS
cp -v thorium-libjxl/DEPS ~/chromium/src/
# Use our artifacts hash
cp -v src/build/vs_toolchain.py ~/chromium/src/build/
cp -v src/build/vs_toolchain.py ~/chromium/src/build/ &&
# Add //third_party/libjxl to DEPS
cp -v thorium-libjxl/DEPS ~/chromium/src/ &&
cd ~/chromium/src &&

View file

@ -83,4 +83,4 @@ use_text_section_splitting = true
use_thin_lto = true
thin_lto_enable_optimizations = true
chrome_pgo_phase = 2
pgo_data_path = "/home/alex/chromium/src/chrome/build/pgo_profiles/chrome-linux-5481-1675874756-8f0cc1ffc14aaa364c4901d505c8293825229435.profdata"
pgo_data_path = "/home/alex/chromium/src/chrome/build/pgo_profiles/chrome-linux-5563-1678034145-e17d94772da16841795631d49601fa0ba147f5bd.profdata"

View file

@ -106,6 +106,11 @@ gsyncShallow () {
git rebase-update --current &&
# Use our artifacts hash
cd $HOME/thorium &&
cp -v src/build/vs_toolchain.py $HOME/chromium/src/build/ &&
cd $HOME/chromium/src &&
gclient sync -R -D --no-history --shallow &&
gclient runhooks &&
@ -238,6 +243,11 @@ git rebase-update &&
git fetch --tags &&
# Use our artifacts hash
cd $HOME/thorium &&
cp -v src/build/vs_toolchain.py $HOME/chromium/src/build/ &&
cd $HOME/chromium/src &&
gclient sync --with_branch_heads --with_tags -f -R -D &&
gclient runhooks &&