summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsebastienr <sebastien.raillet@gmail.com>2023-03-08 10:34:52 +0100
committerGitHub <noreply@github.com>2023-03-08 10:34:52 +0100
commita21e4b6ef6ae03f1eb14bf4e21cbcc1272c101da (patch)
tree09883f3412b54af3b5d0aabfdf1162531c1e505e
parent0a06fcb4a3e4fdc6a844247fe2344e3b296e2c4d (diff)
downloadDLT-daemon-a21e4b6ef6ae03f1eb14bf4e21cbcc1272c101da.tar.gz
Installs dlt.conf on android (#446)
* Currently on android, there is no dlt-daemon configuration installed by default. This change allows to install the dlt.conf along with the dlt-daemon during compilation phase.
-rw-r--r--Android.bp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 96cd73d..0b1b238 100644
--- a/Android.bp
+++ b/Android.bp
@@ -60,6 +60,13 @@ genrule {
out: ["dlt_user.h"],
}
+prebuilt_etc {
+ name: "dlt-daemon-configuration",
+ vendor: true,
+ src: "src/daemon/dlt.conf",
+ filename_from_src: true,
+}
+
cc_binary {
name: "dlt-daemon",
@@ -103,6 +110,8 @@ cc_binary {
"libutils",
"libcutils",
],
+
+ required: ["dlt-daemon-configuration"],
}
cc_library_shared {