commit | 88353665760d86f4617573b488eb4a45a6a80f53 | [log] [tgz] |
---|---|---|
author | David Crawshaw <crawshaw@golang.org> | Mon Nov 16 05:34:15 2015 -0500 |
committer | David Crawshaw <crawshaw@golang.org> | Mon Nov 16 15:38:01 2015 +0000 |
tree | 12775f47cef46ff4c8788c5434371f04e018c859 | |
parent | 4f9c7184892ad80f6ff08a072b56f41407e8b074 [diff] |
cmd/gomobile: build android stdlib Second attempt at the change reverted in golang.org/cl/16917. The current code executes go install -buildmode=c-shared std, which does nothing. (See golang/go#13234.) Correctly compiling packages for android arm requires different flags on Go 1.5 and 1.6, as we now build PIC. So we look for go1.5 in the output of "go version", and otherwise assume 1.6+. Change-Id: If636f52be5019bd179483b8735630a98e6f8d201 Reviewed-on: https://go-review.googlesource.com/16928 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.