extract daemon

This commit is contained in:
5ec1cff
2024-07-18 12:24:55 +08:00
parent 1fe5bee3d2
commit f1bbc0cd0e
4 changed files with 9 additions and 5 deletions

View File

@@ -76,7 +76,7 @@ androidComponents.onVariants { variant ->
into(moduleDir)
from(rootProject.layout.projectDirectory.file("README.md"))
from(layout.projectDirectory.file("template")) {
exclude("module.prop", "customize.sh", "post-fs-data.sh", "service.sh")
exclude("module.prop", "customize.sh", "post-fs-data.sh", "service.sh", "daemon")
filter<FixCrLfFilter>("eol" to FixCrLfFilter.CrLf.newInstance("lf"))
}
from(layout.projectDirectory.file("template")) {
@@ -89,7 +89,7 @@ androidComponents.onVariants { variant ->
)
}
from(layout.projectDirectory.file("template")) {
include("customize.sh", "post-fs-data.sh", "service.sh")
include("customize.sh", "post-fs-data.sh", "service.sh", "daemon")
val tokens = mapOf(
"DEBUG" to if (buildTypeLowered == "debug") "true" else "false",
"SONAME" to moduleId,