Chris Bracken a34c18c8dc Add tool to create multi-arch iOS gen_snapshot (flutter/engine#4948)
This adds create_macos_gen_snapshot.py, which can be used to generate a
multi-architecture (x86_64, i386) gen_snapshot fat binary. The resulting
binary can then be run in the desired mode using:

/usr/bin/arch -i386 path/to/gen_snapshot
/usr/bin/arch -x86_64 path/to/gen_snapshot

When creating AOT snapshots for iOS, running as an i386 binary will
generate armv7 code, whereas running as an x86_64 binary will generate
arm64 code.

The primary user of this script is the build bot.
2018-04-06 19:21:05 -07:00
..