commit | d4beed2e0a6d9bba239b768f8962e9ee61efeeaa | [log] [tgz] |
---|---|---|
author | David Crawshaw <crawshaw@golang.org> | Fri Nov 13 13:57:15 2015 -0500 |
committer | David Crawshaw <crawshaw@golang.org> | Tue Nov 17 19:25:59 2015 +0000 |
tree | 99e5af7a3d5038bda800ffd7655bf38ae4a42780 | |
parent | f8cb2f0e7e6cb6a15ea146a91c81cd9bf300b691 [diff] |
cmd/gomobile: load from export data, not source Replace the vendored version of x/tools/go/loader with the standard library's go/importer package. This reads the export data from $GOPATH/pkg/pkgname.a instead of parsing and type checking the source code. The "go install" subcommand is invoked just prior to reading the export data to make sure the export data is up to date. Not yet tested on darwin, but working for android builds. Change-Id: I24aa60aa46b843d30bc5833e3035699900bf3df4 Reviewed-on: https://go-review.googlesource.com/16913 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
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.