Skip to content

golang/mobile

master
Switch branches/tags
Code

Latest commit

This speeds up gomobile-bind for Android by concurrent building for
each architecture.

Before this change (on my MacBook Pro 2020):

```
$ time go run ./cmd/gomobile/ bind -target android ./example/bind/hello/

real    0m22.555s
user    0m14.859s
sys     0m10.232s
```

After this change:

```
$ time go run ./cmd/gomobile/ bind -target android ./example/bind/hello/

real    0m9.404s
user    0m15.846s
sys     0m11.044s
```

For #54770

Change-Id: I5a709dd4422a569e9244e924bd43ad2da1ede164
Reviewed-on: https://go-review.googlesource.com/c/mobile/+/426274
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Changkun Ou <mail@changkun.de>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com>
fa6bcb0

Git stats

Files

Permalink
Failed to load latest commit information.

Go support for Mobile devices

Go Reference

The Go mobile repository holds packages and build tools for using Go on mobile platforms.

Package documentation as a starting point:

Caution image

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.