mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
devops(chromium): install depot_tools if missing (#5204)
This commit is contained in:
parent
a7eea9ffdc
commit
75a0d7a76b
1
browser_patches/chromium/.gitignore
vendored
1
browser_patches/chromium/.gitignore
vendored
@ -1 +1,2 @@
|
||||
/output
|
||||
/depot_tools
|
||||
|
@ -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=()
|
||||
|
Loading…
Reference in New Issue
Block a user