From 624d2b5b425b7dc6aa7a9e028d70ba614a733145 Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Wed, 20 Apr 2022 16:07:06 -0500 Subject: [PATCH] Move chrome-devtools to thorium-devtools and refactor --- setup.sh | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/setup.sh b/setup.sh index 19a2a17d..9156e188 100644 --- a/setup.sh +++ b/setup.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) 2022 Alex313031 +# Copyright (c) 2022 Alex313031. YEL='\033[1;33m' # Yellow @@ -33,6 +33,17 @@ printf "${YEL}Done!\n" && printf "\n" && printf "${YEL}Setting NINJA_SUMMARIZE_BUILD=1 and aliases to download the PGO Profiles for supported targets, and the gsync alias.\n" && + +export NINJA_SUMMARIZE_BUILD=1 && + +alias gsync='gclient sync --with_branch_heads --with_tags -f -R -D' && + +alias pgo='python3 tools/update_pgo_profiles.py --target=linux update --gs-url-base=chromium-optimization-profiles/pgo_profiles' && + +alias pgow='python3 tools/update_pgo_profiles.py --target=win64 update --gs-url-base=chromium-optimization-profiles/pgo_profiles' && + +alias pgom='python3 tools/update_pgo_profiles.py --target=mac update --gs-url-base=chromium-optimization-profiles/pgo_profiles' && + printf "\n" && printf "${YEL}Dropping you to ~/chromium/src.\n" && @@ -47,14 +58,4 @@ tput sgr0 && cd $HOME/chromium/src && -export NINJA_SUMMARIZE_BUILD=1 && - -alias gsync='gclient sync --with_branch_heads --with_tags -f -R -D' && - -alias pgo='python3 tools/update_pgo_profiles.py --target=linux update --gs-url-base=chromium-optimization-profiles/pgo_profiles' && - -alias pgow='python3 tools/update_pgo_profiles.py --target=win64 update --gs-url-base=chromium-optimization-profiles/pgo_profiles' && - -alias pgom='python3 tools/update_pgo_profiles.py --target=mac update --gs-url-base=chromium-optimization-profiles/pgo_profiles' && - exit 0