google / xrtl

Cross-platform Real-Time Rendering Library
Apache License 2.0
128 stars 26 forks source link

Android: setup javah for JNI autogeneration. #40

Open benvanik opened 7 years ago

benvanik commented 7 years ago

Add a skylark rule that accepts .java files and spits out a header per file; or one single header (to avoid outs mess). @local_jdk should have javah, but there may be a better bazel way to get it (or from the Android NDK).