My app has several JNI modules and I used to define the following in my gradle:
commandLine "ndk-build.cmd",
'-C', file('src/main/jni').absolutePath,
'-j', Runtime.runtime.availableProcessors(),
'all'
And in my Android.mk, I specifies what files to be built with each module.
However, it seems that I can only defines one module and I cannot specify what files to be built.
Does anyone have any idea how to configure this?
Thanks,
So