From 546454095eda3177522ad2031773bc649121df93 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 22 Jan 2021 04:47:24 -0800 Subject: [PATCH] devops: attempt to fix chromium-mac-arm64 build (#5107) It looks like gn generation should use correct xcode version as well. --- browser_patches/chromium/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser_patches/chromium/build.sh b/browser_patches/chromium/build.sh index 0f30afffe47b1..bc10eafe5f8a4 100755 --- a/browser_patches/chromium/build.sh +++ b/browser_patches/chromium/build.sh @@ -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.