Add zstd-jni library

This commit is contained in:
Torsten Grote 2024-08-30 17:54:58 -03:00
parent cb68f75eb6
commit d2df088f2c
No known key found for this signature in database
GPG key ID: 3E5F77D92CF891FF
4 changed files with 10 additions and 0 deletions

View file

@ -32,6 +32,7 @@ android_app {
"com.google.android.material_material",
"kotlinx-coroutines-android",
"kotlinx-coroutines-core",
"seedvault-lib-zstd-jni",
// our own gradle module libs
"seedvault-lib-core",
"seedvault-lib-storage",
@ -44,6 +45,7 @@ android_app {
"seedvault-lib-dav4jvm",
"seedvault-lib-okhttp",
],
use_embedded_native_libs: true,
manifest: "app/src/main/AndroidManifest.xml",
platform_apis: true,

View file

@ -175,6 +175,7 @@ dependencies {
implementation(fileTree("${rootProject.rootDir}/libs/koin-android").include("*.jar"))
implementation(fileTree("${rootProject.rootDir}/libs/koin-android").include("*.aar"))
implementation(fileTree("${rootProject.rootDir}/libs").include("zstd-jni-1.5.6-5.aar"))
implementation(fileTree("${rootProject.rootDir}/libs").include("kotlin-bip39-jvm-1.0.6.jar"))
implementation(fileTree("${rootProject.rootDir}/libs/dav4jvm").include("*.jar"))

View file

@ -3,6 +3,13 @@
// SPDX-License-Identifier: Apache-2.0
//
android_library_import {
name: "seedvault-lib-zstd-jni",
aars: ["zstd-jni-1.5.6-5.aar"],
sdk_version: "current",
extract_jni: true,
}
java_import {
name: "seedvault-lib-kotlin-bip39",
jars: ["kotlin-bip39-jvm-1.0.6.jar"],

BIN
libs/zstd-jni-1.5.6-5.aar Normal file

Binary file not shown.