commit | fa6bcb0768357a704787d34228c0cd44d0ed58c7 | [log] [tgz] |
---|---|---|
author | Hajime Hoshi <hajimehoshi@gmail.com> | Sun Aug 28 15:54:29 2022 +0900 |
committer | Hajime Hoshi <hajimehoshi@gmail.com> | Wed Sep 28 05:21:26 2022 +0000 |
tree | 3ca8d427b3f19ea35268e189be1cbf4e4c7a052f | |
parent | aaac322e2105241d1ac9a25b03d4e916ac6e42c6 [diff] |
cmd/gomobile: concurrent gomobile-bind building for Android 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>
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.