Hi,
Continuing where my shared library proposal<https://groups.google.com/d/msg/golang-nuts/zmjXkGrEx6Q/L4R8qyw7WW4J> left,
I managed to add support to the go tools and runtime for creating go shared
libraries suitable for loading from an Android app with System.loadLibrary.
I've uploaded the required patches along with a simple demo here:
https://github.com/eliasnaur/goandroid
If everything goes well, you'll end up with a simple coloranimated triangle
that you can drag around the screen.
Other than the CLs mentioned in my proposal, two Android specific patches
are included in the goandroid repo. One patch works around a TLS limitation
in the Android linker, and the other disables various features not
available in the Android libc (bionic).
- elias
- Show quoted text -