mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
devops: fix goma path on windows (#5381)
Convert unix path to win path when running GOMA on windows.
This commit is contained in:
parent
0652f3251f
commit
32d62a5c2d
@ -168,8 +168,12 @@ EOF
|
||||
fi
|
||||
|
||||
if [[ ! -z "$USE_GOMA" ]]; then
|
||||
PLAYWRIGHT_GOMA_PATH="${SCRIPT_PATH}/electron-build-tools/third_party/goma"
|
||||
if [[ $1 == "--compile-win"* ]]; then
|
||||
PLAYWRIGHT_GOMA_PATH=$(cygpath -w "${PLAYWRIGHT_GOMA_PATH}")
|
||||
fi
|
||||
echo 'use_goma = true' >> ./out/Default/args.gn
|
||||
echo "goma_dir = '${SCRIPT_PATH}/electron-build-tools/third_party/goma'" >> ./out/Default/args.gn
|
||||
echo "goma_dir = '${PLAYWRIGHT_GOMA_PATH}'" >> ./out/Default/args.gn
|
||||
fi
|
||||
|
||||
if [[ $1 == "--compile-win"* ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user