blob: 89d28cba34fecb457cafbc9afa7eb7ef9bfb340a [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
5LOCAL_MODULE_RELATIVE_PATH := hw
6LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include
7LOCAL_SRC_FILES := \
8 Health.cpp \
9
10LOCAL_SHARED_LIBRARIES := \
11 libcutils \
Yifan Hong6b920e42016-11-16 14:17:58 -080012 libhidlbase \
13 libhidltransport \
Sandeep Patilc7a5ff72016-11-08 16:35:04 -080014 libhwbinder \
15 liblog \
16 libutils \
17 android.hardware.health@1.0 \
18
19LOCAL_STATIC_LIBRARIES := android.hardware.health@1.0-convert
20
21LOCAL_HAL_STATIC_LIBRARIES := libhealthd
22
23include $(BUILD_SHARED_LIBRARY)
24
25include $(CLEAR_VARS)
26LOCAL_MODULE := android.hardware.health@1.0-convert
27LOCAL_SRC_FILES := convert.cpp
28LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include
29LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
30LOCAL_SHARED_LIBRARIES := \
31 libcutils \
Yifan Hong6b920e42016-11-16 14:17:58 -080032 libhidlbase \
33 libhidltransport \
Sandeep Patilc7a5ff72016-11-08 16:35:04 -080034 libutils \
35 android.hardware.health@1.0 \
36
37include $(BUILD_STATIC_LIBRARY)
38
Sandeep Patil3e1d94c2016-11-10 09:22:27 -080039include $(CLEAR_VARS)
40LOCAL_MODULE_RELATIVE_PATH := hw
41LOCAL_MODULE := android.hardware.health@1.0-service
42LOCAL_INIT_RC := android.hardware.health@1.0-service.rc
43LOCAL_SRC_FILES := \
44 HealthService.cpp \
45
46LOCAL_SHARED_LIBRARIES := \
47 liblog \
48 libcutils \
49 libdl \
50 libbase \
51 libutils \
52 libhwbinder \
Yifan Hong6b920e42016-11-16 14:17:58 -080053 libhidlbase \
54 libhidltransport \
Sandeep Patil3e1d94c2016-11-10 09:22:27 -080055 android.hardware.health@1.0 \
56
57include $(BUILD_EXECUTABLE)
58
Sandeep Patilc7a5ff72016-11-08 16:35:04 -080059include $(call first-makefiles-under,$(LOCAL_PATH))