mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: fix sysroot installation for Chromium Arm64 linux builds (#9950)
This commit is contained in:
parent
567e80eef7
commit
49cda3d3df
@ -84,6 +84,11 @@ compile_chromium() {
|
|||||||
cat ./out/Default/args.gn
|
cat ./out/Default/args.gn
|
||||||
echo "===== ======= ====="
|
echo "===== ======= ====="
|
||||||
|
|
||||||
|
if [[ $1 == "--compile-linux-arm64" ]]; then
|
||||||
|
# Install sysroot image, see https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/linux/chromium_arm.md
|
||||||
|
./build/linux/sysroot_scripts/install-sysroot.py --arch=arm
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $1 == "--compile-win"* ]]; then
|
if [[ $1 == "--compile-win"* ]]; then
|
||||||
if [[ -z "$USE_GOMA" ]]; then
|
if [[ -z "$USE_GOMA" ]]; then
|
||||||
/c/Windows/System32/cmd.exe "/c $(cygpath -w "${SCRIPT_FOLDER}"/buildwin.bat)"
|
/c/Windows/System32/cmd.exe "/c $(cygpath -w "${SCRIPT_FOLDER}"/buildwin.bat)"
|
||||||
@ -97,10 +102,6 @@ compile_chromium() {
|
|||||||
else
|
else
|
||||||
TARGETS="chrome"
|
TARGETS="chrome"
|
||||||
fi
|
fi
|
||||||
if [[ $1 == "--compile-linux-arm64" ]]; then
|
|
||||||
# Install sysroot image, see https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/linux/chromium_arm.md
|
|
||||||
./build/linux/sysroot_scripts/install-sysroot.py --arch=arm
|
|
||||||
fi
|
|
||||||
if [[ -z "$USE_GOMA" ]]; then
|
if [[ -z "$USE_GOMA" ]]; then
|
||||||
autoninja -C out/Default $TARGETS
|
autoninja -C out/Default $TARGETS
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user