This fork just removes couple of lines which makes Ebitenmobile able to compile Android builds on non-Darwin arm64 environments, especially prooted Debian on Termux which is what i use, but this should work on other arm64 environments.
To be able to compile, set the EBITENMOBILE_GOMOBILE environment variable to your local copy of this repo. (Example: EBITENMOBILE_GOMOBILE=/root/gomobile ebitenmobile, when in a prooted environment)
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
--
Contributions to Go are appreciated. See https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/mobile.
- Bugs can be filed at the Go issue tracker.
- Feature requests should preliminary be discussed on golang-nuts mailing list.
