aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_android_arm.go
AgeCommit message (Collapse)Author
2015-11-17runtime: android/arm64 supportDavid Crawshaw
Not all tests passing yet, but a good chunk are. Change-Id: I5daebaeabf3aecb380674ece8830a86751a8d139 Reviewed-on: https://go-review.googlesource.com/16458 Reviewed-by: Rahul Chaudhry <rahulchaudhry@google.com> Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-04-17runtime: export main.main for androidDavid Crawshaw
Previously we started the Go runtime from a JNI function call, which eventually called the program's main function. Now the runtime is initialized by an ELF initialization function as a c-shared library, and the program's main function is not called. So now we export main so it can be called from JNI. This is necessary for all-Go apps because unlike a normal shared library, the program loading the library is not written by or known to the programmer. As far as they are concerned, the .so is everything. In fact the same code is compiled for iOS as a normal Go program. Change-Id: I61c6a92243240ed229342362231b1bfc7ca526ba Reviewed-on: https://go-review.googlesource.com/9015 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2014-12-23runtime: add comments for blank import of "unsafe"Shenghou Ma
Change-Id: Iaad548ea90d3b70341a723450d5e4d4c2b88856f Reviewed-on: https://go-review.googlesource.com/2063 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2014-11-21[dev.cc] runtime: migrate Android/ARM port to Go.Shenghou Ma
I tested building Go itself, but not any of go.mobile tests. LGTM=crawshaw R=crawshaw, rsc CC=golang-codereviews https://golang.org/cl/179110043