Make jni available to product and vendor am: 773c4fa0f2 am: e174bd921a am: 795177f1b7 am: 4afb8544ba

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/jni/+/2476417

Change-Id: I658b3ef26bc18eafdec2941ae11af4529408cb3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 693eeca1da484621a44e30f0b601716aae3d0ab1
  1. .github/
  2. .vscode/
  3. benches/
  4. example/
  5. src/
  6. tests/
  7. .gitignore
  8. Android.bp
  9. build.rs
  10. Cargo.toml
  11. Cargo.toml.orig
  12. cargo2android.json
  13. CHANGELOG.md
  14. clippy.toml
  15. CODE_OF_CONDUCT.md
  16. CONTRIBUTING.md
  17. LICENSE-APACHE
  18. LICENSE-MIT
  19. METADATA
  20. MODULE_LICENSE_APACHE2
  21. OWNERS
  22. README.md
  23. TEST_MAPPING
  24. test_profile
README.md

Build Status Docs Crates.io

JNI Bindings for Rust

Join the chat at https://gitter.im/jni-rs/Lobby

This project provides complete JNI bindings for Rust, allowing to:

  • Implement native Java methods for JVM and Android in Rust
  • Call Java code from Rust
  • Embed JVM in Rust applications and use any Java libraries

See the docs for more details.

Example

cd example
make

Contribution

See the Contribution Guide for details.

License

Licensed under either of