healthd provides IHealth/backup.
Test: lshal shows IHealth/backup
Bug: 62229583
Change-Id: Ibffdd2ec392682385ed491df22084a57280e1513
diff --git a/healthd/Android.bp b/healthd/Android.bp
index d348866..4b3274c 100644
--- a/healthd/Android.bp
+++ b/healthd/Android.bp
@@ -74,3 +74,29 @@
"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",
+ ],
+
+}