summaryrefslogtreecommitdiffstats
path: root/healthd/Android.bp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2017-09-25 17:25:00 -0700
committerYifan Hong <elsk@google.com>2017-10-19 14:52:00 -0700
commit12df1b9508ecc27accad7b46bb7cd773e0ba73ab (patch)
tree860e3e12de3f7f4cc09f548c6eb9382d3b0f9049 /healthd/Android.bp
parent3f5b43789ca73e23f9b84a8601a0da95000eb0de (diff)
downloadsystem_core-12df1b9508ecc27accad7b46bb7cd773e0ba73ab.tar.gz
system_core-12df1b9508ecc27accad7b46bb7cd773e0ba73ab.tar.bz2
system_core-12df1b9508ecc27accad7b46bb7cd773e0ba73ab.zip
healthd provides IHealth/backup.
Test: lshal shows IHealth/backup Bug: 62229583 Change-Id: Ibffdd2ec392682385ed491df22084a57280e1513
Diffstat (limited to 'healthd/Android.bp')
-rw-r--r--healthd/Android.bp26
1 files changed, 26 insertions, 0 deletions
diff --git a/healthd/Android.bp b/healthd/Android.bp
index d3488665e..4b3274ca9 100644
--- a/healthd/Android.bp
+++ b/healthd/Android.bp
@@ -74,3 +74,29 @@ cc_binary {
"android.hardware.health@2.0",
],
}
+
+cc_binary {
+ name: "healthd",
+ srcs: ["HealthService.cpp"],
+ local_include_dirs: ["include"],
+
+ cflags: ["-DHEALTH_INSTANCE_NAME=\"backup\""],
+
+ static_libs: [
+ "android.hardware.health@2.0-impl",
+ "android.hardware.health@1.0-convert",
+ "libbatterymonitor",
+ ],
+
+ shared_libs: [
+ "libbase",
+ "libcutils",
+ "libhidlbase",
+ "libhidltransport",
+ "libhwbinder",
+ "liblog",
+ "libutils",
+ "android.hardware.health@2.0",
+ ],
+
+}