- Actually, we don't support GeckoView build on Apple Sillicon simply yet. Although Rust has native binaries, we have to use some x86_64 tools for clang, OpenJDK and Python 2.7.
- You can use https://github.com/google/android-emulator-m1-preview on macOS. But
./mach install
doesn't detect this emulator now. - GV's unit tests doesn't work yet.
- Set up development environment via https://bit.ly/36bUmEx
- Install OpenJDK (macOS x86_64) since it has no aarch64 packages.
- Add your rust target like aarch64-linux-android via
rustup target add aarch64-linux-android
- Comment out https://searchfox.org/mozilla-central/rev/c8ce16e4299a3afd560320d8d094556f2b5504cd/python/mozboot/mozboot/osx.py#197 like "
# sys.exit(1)
"