diff --git a/setup.sh b/setup.sh new file mode 100644 index 00000000..46c27cf4 --- /dev/null +++ b/setup.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +cp -r -v build/. $HOME/chromium/src/build/ && +cp -r -v chrome/. $HOME/chromium/src/chrome/ && +cp -r -v content/. $HOME/chromium/src/content/ && +cp -r -v media/. $HOME/chromium/src/media/ && +cp -r -v ui/. $HOME/chromium/src/ui/ && +cp -r -v v8/. $HOME/chromium/src/v8/ && + +cd $HOME/chromium/src && + +exit 0 diff --git a/trunk.sh b/trunk.sh new file mode 100644 index 00000000..7239eda7 --- /dev/null +++ b/trunk.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +cd $HOME/chromium/src && + +git checkout -f origin/main && + +git rebase-update && + +git fetch --tags && + +gclient sync -D && + +gclient sync --with_branch_heads --with_tags && + +gclient runhooks && + +python tools/update_pgo_profiles.py --target=linux update --gs-url-base=chromium-optimization-profiles/pgo_profiles && + +exit 0