mirror of
https://github.com/element-hq/element-android
synced 2024-12-19 15:58:27 +03:00
rust-sdk: Add a Makefile to build the bindings and put them into the jni folder
This commit is contained in:
parent
5886dc1cbc
commit
a557c05890
1 changed files with 11 additions and 0 deletions
11
rust-sdk/Makefile
Normal file
11
rust-sdk/Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
x86_64:
|
||||
cargo build --target x86_64-linux-android
|
||||
install -D target/x86_64-linux-android/debug/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/x86_64/libuniffi_olm.so
|
||||
|
||||
x86:
|
||||
cargo build --target i686-linux-android
|
||||
install -D target/i686-linux-android/debug/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/x86/libuniffi_olm.so
|
||||
|
||||
aarch64:
|
||||
cargo build --target aarch64-linux-android
|
||||
install -D target/aarch64-linux-android/debug/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/aarch64/libuniffi_olm.so
|
Loading…
Reference in a new issue