commit | d8b1e1aab89100299b57a645ac5f4f7932c783df | [log] [tgz] |
---|---|---|
author | Elias Naur <elias.naur@gmail.com> | Sun Jan 08 20:21:42 2017 +0100 |
committer | Elias Naur <elias.naur@gmail.com> | Tue Jan 17 14:22:42 2017 +0000 |
tree | 48ce4643ff16a61fd413f914ba04b892ed669c0d | |
parent | 2f5693b8d812ab2025ff75d01394e9ef867e40bd [diff] |
bind,misc: guard reverse generated import with mobile os tags Running go get golang.org/x/mobile/... results in errors because the go tool fails to find the reverse generated Java ("Java/...") and Objective-C ("ObjC/...") packages. Work around the errors by adding the android and ios tags, respectively, to files importing those packages. The gobind gradle plugin is updated to pass along GOOS=android to ensure the gobind tool continues to build Android reverse packages. Fixes golang/go#17750 Change-Id: Id66a3c6cdfe249c6ed494192eb12195d6509332f Reviewed-on: https://go-review.googlesource.com/34956 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.