From b95a4745dd0617e8f952416330521bf24c7355bc Mon Sep 17 00:00:00 2001 From: William Candillon Date: Tue, 21 Oct 2025 14:22:21 +0200 Subject: [PATCH] =?UTF-8?q?fix(=F0=9F=8D=8F):=20don't=20build=20arm64e=20f?= =?UTF-8?q?or=20Graphite=20on=20Simulator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove arm64e architecture flag for arm64 CPU when using iOS simulator. We noticed that Dawn doesn't support arm64e on simulator. --- gn/skia/BUILD.gn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gn/skia/BUILD.gn b/gn/skia/BUILD.gn index a927a5e28630..d411be2dd068 100644 --- a/gn/skia/BUILD.gn +++ b/gn/skia/BUILD.gn @@ -199,9 +199,13 @@ config("default") { _arch_flags = [ "-arch", "arm64", - "-arch", - "arm64e", ] + if (!ios_use_simulator) { + _arch_flags += [ + "-arch", + "arm64e", + ] + } } else if (current_cpu == "x86") { _arch_flags = [ "-arch",