mobile/bind
David Crawshaw 8144405762 app, bind: separate the app package from gobind
Historically, the app package implemented Go runtime initialization.
This was convoluted, so the package was used both by all-Go apps
(currently based on Android's NativeActivity) and bind-based apps.

With Go 1.5 we have -buildmode=c-shared, which does a lot of the work
of the old app package. That code was removed a while back, but both
all-Go and gobind-based apps still used package app. The intermingled
initialization processes led to some strange states.

This CL separates gobind-based apps completely from the app package.
As part of that users are now expected to use System.loadLibrary
themselves. (A future CL may want to make the loadLibrary call part
of the .aar generated by gomobile bind.)

Delete the libhello example, which has been replaced by gomobile bind,
which could do with its own example at some point. Also delete the
libhellojni example, which now has nothing to do with the x/mobile
repository.

Change-Id: I444397f246dbafe81e5c53532eb482c197d26f70
Reviewed-on: https://go-review.googlesource.com/11654
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2015-06-29 11:40:40 +00:00
..
java app, bind: separate the app package from gobind 2015-06-29 11:40:40 +00:00
objc mobile/bind: Fix objc bindings for multiple return vals. 2015-06-24 18:25:43 +00:00
seq bind/java: manage Java object lifetime based on reference count. 2015-06-04 16:53:15 +00:00
testdata mobile/bind: Fix objc bindings for multiple return vals. 2015-06-24 18:25:43 +00:00
bind.go bind: add objective-c code generator. 2015-06-09 20:58:21 +00:00
bind_test.go bind: add objective-c code generator. 2015-06-09 20:58:21 +00:00
gengo.go bind: make generated names less go-like to avoid name collision. 2015-05-29 19:58:06 +00:00
genjava.go bind: rename parameter p 2015-06-04 17:29:43 +00:00
genobjc.go mobile/bind: Fix objc bindings for multiple return vals. 2015-06-24 18:25:43 +00:00
printer.go go.mobile/bind: language binding generator 2014-07-31 15:09:13 -04:00
seq.go bind: support Bool types. 2015-05-14 22:17:57 +00:00