element-android/rust-sdk/Makefile

12 lines
574 B
Makefile
Raw Normal View History

x86_64:
cargo build --release --target x86_64-linux-android
install -D target/x86_64-linux-android/release/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/x86_64/libuniffi_olm.so
x86:
cargo build --release --target i686-linux-android
install -D target/i686-linux-android/release/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/x86/libuniffi_olm.so
aarch64:
cargo build --release --target aarch64-linux-android
install -D target/aarch64-linux-android/release/libmatrix_crypto.so ../matrix-sdk-android/src/main/jniLibs/arm64-v8a/libuniffi_olm.so