[mirror] Go on Mobile https://golang.org/x/mobile
Go to file
Hajime Hoshi b9f03b3fa3 cmd/gomobile: remove the logic to clean the given path
This CL fixes an issue that a relative path didn't work with
gomobile. path.Clean removed the prefix './' and this was too
aggressive. path.Clean was needed for go/build.Context.Import
(see golang/go#18876), but they have already been replaced with
packages.Load, so clearning paths is no longer needed.

Updates golang/go#27234

Change-Id: Ife28da6d845baaf94e627a7a44a5e962b8a1d013
Reviewed-on: https://go-review.googlesource.com/c/mobile/+/214497
Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2020-01-13 19:03:25 +00:00
app app,exp,gl: fix build 2019-03-06 14:40:52 +00:00
asset asset: hoist global variable to Go and make C function static 2018-07-19 12:22:12 +00:00
bind bind: update the golden data for Objective-C 2019-10-25 10:49:55 +00:00
cmd cmd/gomobile: remove the logic to clean the given path 2020-01-13 19:03:25 +00:00
doc README.md: add caution. shorten the README.md. 2015-07-17 17:06:14 +00:00
event all: use "reports whether" in godoc comments 2018-11-30 13:31:20 +00:00
example misc,example/bind/hello: remove the Gradle plugin 2018-10-10 16:34:05 +00:00
exp cmd/gobind: fix tests on the linux-amd64-longtest builder 2019-03-12 15:16:09 +00:00
geom app: use one thread for both GL and other UI C code. 2015-06-26 07:43:17 +00:00
gl gl: provide dummy impl when cgo is disabled 2019-07-19 00:42:57 +00:00
internal cmd/gobind: fix build-tag, CGO and load trybot failures 2019-08-26 17:01:11 +00:00
testdata example/sprite: make example lives 2014-12-22 13:10:48 +00:00
.gitattributes mobile: copying .gitattributes to all subrepositories 2014-12-23 23:23:25 +00:00
.gitignore .gitignore: remove *.xcodeproj 2015-09-03 14:46:33 +00:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 2018-03-14 18:02:45 +00:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README.md docs: provide a template for the new issues 2015-10-06 05:09:24 +00:00
codereview.cfg mobile: add codereview.cfg 2015-03-18 17:03:44 +00:00
go.mod cmd/gomobile: enable Go modules in gomobile-bind 2020-01-13 15:31:55 +00:00
go.sum cmd/gomobile: enable Go modules in gomobile-bind 2020-01-13 15:31:55 +00:00

README.md

Go support for Mobile devices

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.