blob: 3c971858072ce6e80f46aef83250665d98e70040 [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
7LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include
8LOCAL_SRC_FILES := \
9 Health.cpp \
10
11LOCAL_SHARED_LIBRARIES := \
12 libcutils \
Yifan Hong6b920e42016-11-16 14:17:58 -080013 libhidlbase \
14 libhidltransport \
Sandeep Patilc7a5ff72016-11-08 16:35:04 -080015 libhwbinder \
16 liblog \
17 libutils \
18 android.hardware.health@1.0 \
19
20LOCAL_STATIC_LIBRARIES := android.hardware.health@1.0-convert
21
22LOCAL_HAL_STATIC_LIBRARIES := libhealthd
23
24include $(BUILD_SHARED_LIBRARY)
25
26include $(CLEAR_VARS)
27LOCAL_MODULE := android.hardware.health@1.0-convert
28LOCAL_SRC_FILES := convert.cpp
29LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include
30LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
31LOCAL_SHARED_LIBRARIES := \
32 libcutils \
Yifan Hong6b920e42016-11-16 14:17:58 -080033 libhidlbase \
34 libhidltransport \
Sandeep Patilc7a5ff72016-11-08 16:35:04 -080035 libutils \
36 android.hardware.health@1.0 \
37
38include $(BUILD_STATIC_LIBRARY)
39
Sandeep Patil3e1d94c2016-11-10 09:22:27 -080040include $(CLEAR_VARS)
Steven Morelanda0da1a12017-02-13 09:59:06 -080041LOCAL_PROPRIETARY_MODULE := true
Sandeep Patil3e1d94c2016-11-10 09:22:27 -080042LOCAL_MODULE_RELATIVE_PATH := hw
43LOCAL_MODULE := android.hardware.health@1.0-service
44LOCAL_INIT_RC := android.hardware.health@1.0-service.rc
45LOCAL_SRC_FILES := \
46 HealthService.cpp \
47
48LOCAL_SHARED_LIBRARIES := \
49 liblog \
50 libcutils \
51 libdl \
52 libbase \
53 libutils \
54 libhwbinder \
Yifan Hong6b920e42016-11-16 14:17:58 -080055 libhidlbase \
56 libhidltransport \
Sandeep Patil3e1d94c2016-11-10 09:22:27 -080057 android.hardware.health@1.0 \
58
59include $(BUILD_EXECUTABLE)
60
Sandeep Patilc7a5ff72016-11-08 16:35:04 -080061include $(call first-makefiles-under,$(LOCAL_PATH))