blob: 3d9d58af327c2bf15463068cf70c57ddd93db354 [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 \
12 libhidl \
13 libhwbinder \
14 liblog \
15 libutils \
16 android.hardware.health@1.0 \
17
18LOCAL_STATIC_LIBRARIES := android.hardware.health@1.0-convert
19
20LOCAL_HAL_STATIC_LIBRARIES := libhealthd
21
22include $(BUILD_SHARED_LIBRARY)
23
24include $(CLEAR_VARS)
25LOCAL_MODULE := android.hardware.health@1.0-convert
26LOCAL_SRC_FILES := convert.cpp
27LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include
28LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
29LOCAL_SHARED_LIBRARIES := \
30 libcutils \
31 libhidl \
32 libutils \
33 android.hardware.health@1.0 \
34
35include $(BUILD_STATIC_LIBRARY)
36
Sandeep Patil3e1d94c2016-11-10 09:22:27 -080037include $(CLEAR_VARS)
38LOCAL_MODULE_RELATIVE_PATH := hw
39LOCAL_MODULE := android.hardware.health@1.0-service
40LOCAL_INIT_RC := android.hardware.health@1.0-service.rc
41LOCAL_SRC_FILES := \
42 HealthService.cpp \
43
44LOCAL_SHARED_LIBRARIES := \
45 liblog \
46 libcutils \
47 libdl \
48 libbase \
49 libutils \
50 libhwbinder \
51 libhidl \
52 android.hardware.health@1.0 \
53
54include $(BUILD_EXECUTABLE)
55
Sandeep Patilc7a5ff72016-11-08 16:35:04 -080056include $(call first-makefiles-under,$(LOCAL_PATH))