Map arm64e devices to arm64 devices (#50612)

This commit is contained in:
Jenn Magder
2020-02-11 19:43:43 -08:00
committed by GitHub
parent 781cd4d87c
commit 7c24ebc79b
3 changed files with 10 additions and 1 deletions

View File

@@ -142,7 +142,7 @@ class AOTSnapshotter {
genSnapshotArgs.add('--no-use-integer-division');
}
// The name of the debug file must contain additonal information about
// The name of the debug file must contain additional information about
// the architecture, since a single build command may produce
// multiple debug files.
final String archName = getNameForTargetPlatform(platform, darwinArch: darwinArch);

View File

@@ -390,6 +390,7 @@ DarwinArch getIOSArchForName(String arch) {
case 'armv7':
return DarwinArch.armv7;
case 'arm64':
case 'arm64e': // iPhone XS/XS Max/XR and higher. arm64 runs on arm64e devices.
return DarwinArch.arm64;
case 'x86_64':
return DarwinArch.x86_64;