blob: 199ab4120dbb1bf396e60ba2f4cd36e0f2f16f4d [file] [log] [blame]
Sandeep Patilc7a5ff72016-11-08 16:35:04 -08001LOCAL_PATH := $(call my-dir)
2
3include $(CLEAR_VARS)
4LOCAL_MODULE := android.hardware.health@1.0-impl
Steven Morelanda0da1a12017-02-13 09:59:06 -08005LOCAL_PROPRIETARY_MODULE := true
Sandeep Patilc7a5ff72016-11-08 16:35:04 -08006LOCAL_MODULE_RELATIVE_PATH := hw
Steven Morelandc1cad352017-07-10 16:06:46 -07007LOCAL_C_INCLUDES := system/core/base/include
Sandeep Patilc7a5ff72016-11-08 16:35:04 -08008LOCAL_SRC_FILES := \
9 Health.cpp \
10
Steven Morelandc1cad352017-07-10 16:06:46 -070011LOCAL_HEADER_LIBRARIES := libhealthd_headers
12
Sandeep Patilc7a5ff72016-11-08 16:35:04 -080013LOCAL_SHARED_LIBRARIES := \
14 libcutils \
Yifan Hong6b920e42016-11-16 14:17:58 -080015 libhidlbase \
16 libhidltransport \
Sandeep Patilc7a5ff72016-11-08 16:35:04 -080017 liblog \
18 libutils \
19 android.hardware.health@1.0 \
20
21LOCAL_STATIC_LIBRARIES := android.hardware.health@1.0-convert
22
23LOCAL_HAL_STATIC_LIBRARIES := libhealthd
24
25include $(BUILD_SHARED_LIBRARY)
26
27include $(CLEAR_VARS)
Steven Morelanda0da1a12017-02-13 09:59:06 -080028LOCAL_PROPRIETARY_MODULE := true
Sandeep Patil3e1d94c2016-11-10 09:22:27 -080029LOCAL_MODULE_RELATIVE_PATH := hw
30LOCAL_MODULE := android.hardware.health@1.0-service
31LOCAL_INIT_RC := android.hardware.health@1.0-service.rc
32LOCAL_SRC_FILES := \
33 HealthService.cpp \
34
35LOCAL_SHARED_LIBRARIES := \
36 liblog \
37 libcutils \
38 libdl \
39 libbase \
40 libutils \
Yifan Hong6b920e42016-11-16 14:17:58 -080041 libhidlbase \
42 libhidltransport \
Sandeep Patil3e1d94c2016-11-10 09:22:27 -080043 android.hardware.health@1.0 \
44
45include $(BUILD_EXECUTABLE)
46
Sandeep Patilc7a5ff72016-11-08 16:35:04 -080047include $(call first-makefiles-under,$(LOCAL_PATH))