Commit b33d05de authored by Andrew Twyman's avatar Andrew Twyman

djinni_jni_main target

Add a target for djinni_main.cpp, and use a new technique I discovered to make sure its JNI symbols are exposed by the shared-lib which contains it.
parent 0dd240d6
...@@ -18,6 +18,18 @@ ...@@ -18,6 +18,18 @@
], ],
}, },
}, },
{
"target_name": "djinni_jni_main",
"type": "static_library",
"sources": [
"jni/djinni_main.cpp",
],
"link_settings": {
"aosp_build_settings": {
"LOCAL_WHOLE_STATIC_LIBRARIES": [ 'djinni_jni_main' ], # Ensure JNI symbols are exposed
},
},
},
{ {
"target_name": "djinni_objc", "target_name": "djinni_objc",
"type": "static_library", "type": "static_library",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment