blob: 96ff91fe7b992601e4e27b83ebc2139e29f41c7d [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 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)
Steven Morelanda0da1a12017-02-13 09:59:06 -080040LOCAL_PROPRIETARY_MODULE := true
Sandeep Patil3e1d94c2016-11-10 09:22:27 -080041LOCAL_MODULE_RELATIVE_PATH := hw
42LOCAL_MODULE := android.hardware.health@1.0-service
43LOCAL_INIT_RC := android.hardware.health@1.0-service.rc
44LOCAL_SRC_FILES := \
45 HealthService.cpp \
46
47LOCAL_SHARED_LIBRARIES := \
48 liblog \
49 libcutils \
50 libdl \
51 libbase \
52 libutils \
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))