2023-03-02 17:15:28 +01:00
|
|
|
//
|
|
|
|
// SPDX-FileCopyrightText: 2021 The Calyx Institute
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
//
|
|
|
|
|
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: [
|
2023-03-27 12:20:03 +02:00
|
|
|
"-opt-in=kotlin.RequiresOptIn",
|
2021-10-08 16:17:40 +02:00
|
|
|
],
|
2021-01-19 13:14:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
java_import {
|
|
|
|
name: "seedvault-lib-tink-android",
|
2023-10-09 16:20:52 +02:00
|
|
|
jars: ["libs/tink-android-1.10.0.jar"],
|
2021-01-19 13:14:52 +01:00
|
|
|
sdk_version: "current",
|
|
|
|
}
|