blob: d292ad63ab1ed21ea1374e6e5117f1007db8af48 [file] [log] [blame]
# Run with `dart run ffigen --config ffigen.yaml`.
name: JniExtensions
description: |
This config is for use by the script that generates extension methods in C.
This config only scans jni.h and does not do renaming etc..
output: 'unused.dart'
headers:
entry-points:
- 'third_party/jni.h' # Exports majority of JNI functions
#- 'src/third_party/global_jni_env.h' # Exports GlobalJniEnv type
include-directives:
#- 'src/dartjni.h'
#- 'src/third_party/global_jni_env.h'
- 'third_party/jni.h' # jni.h from Android NDK
compiler-opts:
- '-Ithird_party/'