Open joneschrisg opened 12 years ago
We can do it by scanning symbols of object files to find out JNI symbols.
We can remove a JNI module from being built by add it to REMOVE_MODULES list defined by #142.
I have written pieces of makefile code to analyze dependencies between modules and find out JNI modules. I think it can help us to narrow down the question.
Step 3 in Operation Decaf.
In the code I've looked at, android has done a good job of separating Java/native-C++/JNI-bridge-C++. We can probably find a way to intelligently identify that C++ files are JNI and not build them.