diff options
author | David Crawshaw <crawshaw@golang.org> | 2015-10-27 19:46:49 -0400 |
---|---|---|
committer | David Crawshaw <crawshaw@golang.org> | 2015-11-17 16:28:18 +0000 |
commit | ce8f49f42ff98a87a6766aa50efa0449c4525ce3 (patch) | |
tree | 9750e774fcf23cccfa156842243942b47726b80d /src/runtime/os_android.go | |
parent | babdb3832072b6ca55e2dfe071bac25d865f8911 (diff) | |
download | go-ce8f49f42ff98a87a6766aa50efa0449c4525ce3.tar.gz go-ce8f49f42ff98a87a6766aa50efa0449c4525ce3.zip |
runtime: android/arm64 support
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>
Diffstat (limited to 'src/runtime/os_android.go')
-rw-r--r-- | src/runtime/os_android.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/runtime/os_android.go b/src/runtime/os_android.go new file mode 100644 index 0000000000..52c8c86ee8 --- /dev/null +++ b/src/runtime/os_android.go @@ -0,0 +1,15 @@ +// Copyright 2014 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package runtime + +import _ "unsafe" // for go:cgo_export_static and go:cgo_export_dynamic + +// Export the main function. +// +// Used by the app package to start all-Go Android apps that are +// loaded via JNI. See golang.org/x/mobile/app. + +//go:cgo_export_static main.main +//go:cgo_export_dynamic main.main |