2021-10-08 16:17:40 +02:00
|
|
|
android_library {
|
2021-01-19 13:14:52 +01:00
|
|
|
name: "seedvault-lib-storage",
|
|
|
|
sdk_version: "current",
|
2021-10-08 16:17:40 +02:00
|
|
|
srcs: [
|
|
|
|
"src/main/java/**/*.kt",
|
|
|
|
"src/main/java/**/*.java",
|
|
|
|
"src/main/proto/*.proto",
|
|
|
|
],
|
|
|
|
resource_dirs: [
|
|
|
|
"src/main/res",
|
|
|
|
],
|
|
|
|
proto: {
|
|
|
|
type: "lite",
|
|
|
|
local_include_dirs: ["src/main/proto"],
|
|
|
|
},
|
2021-01-19 13:14:52 +01:00
|
|
|
static_libs: [
|
2021-10-08 16:17:40 +02:00
|
|
|
"seedvault-lib-tink-android",
|
|
|
|
"libprotobuf-java-lite",
|
|
|
|
"androidx.core_core-ktx",
|
2022-09-02 09:23:55 +02:00
|
|
|
"androidx.fragment_fragment-ktx",
|
|
|
|
"androidx.activity_activity-ktx",
|
2021-10-08 16:17:40 +02:00
|
|
|
"androidx.documentfile_documentfile",
|
|
|
|
"androidx.lifecycle_lifecycle-viewmodel-ktx",
|
|
|
|
"androidx.room_room-runtime",
|
2021-01-19 13:14:52 +01:00
|
|
|
"androidx-constraintlayout_constraintlayout",
|
|
|
|
"com.google.android.material_material",
|
2022-08-19 10:15:48 +02:00
|
|
|
"kotlinx-coroutines-android",
|
|
|
|
"kotlinx-coroutines-core",
|
2021-10-08 16:17:40 +02:00
|
|
|
],
|
|
|
|
plugins: [
|
|
|
|
"androidx.room_room-compiler-plugin",
|
|
|
|
],
|
|
|
|
manifest: "src/main/AndroidManifest.xml",
|
|
|
|
optimize: {
|
|
|
|
enabled: false,
|
|
|
|
},
|
|
|
|
kotlincflags: [
|
|
|
|
"-Xopt-in=kotlin.RequiresOptIn",
|
|
|
|
],
|
2021-01-19 13:14:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
java_import {
|
|
|
|
name: "seedvault-lib-tink-android",
|
2022-08-23 16:22:38 +02:00
|
|
|
jars: ["libs/tink-android-1.7.0.jar"],
|
2021-01-19 13:14:52 +01:00
|
|
|
sdk_version: "current",
|
|
|
|
}
|