| # 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/' |