Skip to content

Commit

Permalink
devops(chromium): install depot_tools if missing (#5204)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Jan 28, 2021
1 parent a7eea9f commit 75a0d7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions browser_patches/chromium/.gitignore
@@ -1 +1,2 @@
/output
/depot_tools
7 changes: 4 additions & 3 deletions browser_patches/chromium/build.sh
Expand Up @@ -34,10 +34,11 @@ compile_chromium() {
echo "ERROR: chromium compilation requires CR_CHECKOUT_PATH to be set to reuse checkout."
exit 1
fi
if ! command -v gclient >/dev/null; then
echo "ERROR: chromium compilation requires depot_tools to be installed!"
exit 1

if [[ ! -d "${SCRIPT_PATH}/depot_tools" ]]; then
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git "${SCRIPT_PATH}/depot_tools"
fi
export PATH="${SCRIPT_PATH}/depot_tools:$PATH"

CHROMIUM_FOLDER_NAME=""
CHROMIUM_FILES_TO_ARCHIVE=()
Expand Down

0 comments on commit 75a0d7a

Please sign in to comment.