What debloating tools are there for the Android NDK? For any code that ends up dexed, R8 takes care of it, so it's not terrible if I add a library dependency with a lot of code I don't need. I haven't found anything similar for native libraries.
This worked well because the JVM code only ever called the native API I exposed and did not need to access the dependencies' APIs.