doze: Java -> Kotlin + bp -> mk

Change-Id: I377658589af22c58ddbf1768f4c89d06594d2762
This commit is contained in:
LuK1337
2021-09-18 21:23:47 +02:00
parent 5d62057c70
commit c7f76a731f
16 changed files with 535 additions and 727 deletions

21
doze/Android.bp Normal file
View File

@@ -0,0 +1,21 @@
android_app {
name: "OplusDoze",
defaults: ["SettingsLibDefaults"],
srcs: ["src/**/*.kt"],
resource_dirs: ["res"],
certificate: "platform",
platform_apis: true,
system_ext_specific: true,
static_libs: [
"androidx.core_core",
"androidx.preference_preference",
"org.lineageos.settings.resources",
],
optimize: {
proguard_flags_files: ["proguard.flags"],
},
}