devops: attempt to fix chromium-mac-arm64 build (#5107)

It looks like gn generation should use correct xcode version as well.
This commit is contained in:
Andrey Lushnikov 2021-01-22 04:47:24 -08:00 committed by GitHub
parent 2f29c6b066
commit 546454095e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,8 +84,8 @@ EOF
echo 'target_cpu = "arm64"' >> ./out/Default/args.gn
fi
# Compile Chromium.
gn gen out/Default
# Compile Chromium with correct Xcode version.
DEVELOPER_DIR=/Applications/Xcode12.2.app/Contents/Developer gn gen out/Default
DEVELOPER_DIR=/Applications/Xcode12.2.app/Contents/Developer autoninja -C out/Default chrome
# Prepare resulting archive similarly to how we do it in mirror_chromium.