commit | a82bb3c8bae42125b28a32037c31044c84acc5d8 | [log] [tgz] |
---|---|---|
author | Elias Naur <elias.naur@gmail.com> | Fri Sep 30 12:46:45 2016 +0200 |
committer | Elias Naur <elias.naur@gmail.com> | Fri Oct 14 13:14:45 2016 +0000 |
tree | 4d897f85b9a4040b51015a09dca78d484f94fec4 | |
parent | 91c29e2bb7a5d71704025176b5e99ce3fed17629 [diff] |
cmd/gobind,bind: generate complete Java interface with gobind Output every Java class, including the support classes, from gobind -lang=java. In addition, replace Go package export data parsing with converting from go/ast to go/types. That way, gobind can tolerate unknown imports as long as the exported Go API doesn't use them. In a follow-up CL, the gobind gradle plugin will use gobind for a first pass to expose the generated Java classes to the android plugin. Change-Id: I8134899ec818c7fee79e4d9df8afcae9dd679add Reviewed-on: https://go-review.googlesource.com/30093 Reviewed-by: David Crawshaw <crawshaw@golang.org>
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://golang.org/doc/contribute.html.