Initial commit
This commit is contained in:
commit
7edd18c8dc
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.ast
|
1332
android27/main.go
Normal file
1332
android27/main.go
Normal file
File diff suppressed because it is too large
Load Diff
30
nswrap.yaml
Normal file
30
nswrap.yaml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
package: android27
|
||||||
|
libraries: [android, log, nativewindow, m]
|
||||||
|
inputfiles:
|
||||||
|
- $ANDROID_HOME/ndk-bundle/sysroot/usr/include/android/native_window.h
|
||||||
|
- $ANDROID_HOME//ndk-bundle/sysroot/usr/include/android/log.h
|
||||||
|
- $ANDROID_HOME//ndk-bundle/sysroot/usr/include/android/sensor.h
|
||||||
|
- $ANDROID_HOME//ndk-bundle/sysroot/usr/include/jni.h
|
||||||
|
- $ANDROID_HOME//ndk-bundle/sysroot/usr/include/sys/stat.h
|
||||||
|
sysimports:
|
||||||
|
- android/native_window.h
|
||||||
|
- android/log.h
|
||||||
|
- android/sensor.h
|
||||||
|
- jni.h
|
||||||
|
- stdlib.h
|
||||||
|
- sys/stat.h
|
||||||
|
functions:
|
||||||
|
- .*
|
||||||
|
functionignore:
|
||||||
|
- JNI_CreateJavaVM
|
||||||
|
- JNI_GetCreatedJavaVMs
|
||||||
|
- JNI_GetDefaultJavaVMInitArgs
|
||||||
|
- JNI_OnLoad
|
||||||
|
- JNI_OnUnload
|
||||||
|
- AHardwareBuffer_lockPlanes
|
||||||
|
enums:
|
||||||
|
- .*
|
||||||
|
typesubs:
|
||||||
|
Stat: Stat_t
|
||||||
|
Stat64: Stat64_t
|
||||||
|
clang: $ANDROID_HOME/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android27-clang
|
Loading…
Reference in New Issue
Block a user