From cf80595c02127657714cdcf0c4e59727ce2e23f2 Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Tue, 26 Oct 2021 05:18:13 -0500 Subject: [PATCH] Add files via upload --- setup.sh | 12 ++++++++++++ trunk.sh | 19 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 setup.sh create mode 100644 trunk.sh 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