Unverified Commit 58092195 authored by Liam Appelbe's avatar Liam Appelbe Committed by GitHub

Remove multi-arch check in iOS builds (#37407)

* Remove multi-arch check in iOS builds

* Manual roll of https://github.com/flutter/engine/pull/10010
parent 5bb8d8fc
b41c172bcd861a09ccbe7a4b1addeb125d6f9541
9fca3c74491a6f92322ca55cab53b9361c583135
......@@ -56,15 +56,6 @@ class GenSnapshot {
final String snapshotterPath = getSnapshotterPath(snapshotType);
// iOS gen_snapshot is a multi-arch binary. Running as an i386 binary will
// generate armv7 code. Running as an x86_64 binary will generate arm64
// code. /usr/bin/arch can be used to run binaries with the specified
// architecture.
if (snapshotType.platform == TargetPlatform.ios) {
final String hostArch = iosArch == IOSArch.armv7 ? '-i386' : '-x86_64';
return runCommandAndStreamOutput(<String>['/usr/bin/arch', hostArch, snapshotterPath, ...args]);
}
StringConverter outputFilter;
if (additionalArgs.contains('--strip')) {
// Filter out gen_snapshot's warning message about stripping debug symbols
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment