1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_MODULE := android.hardware.health (a] 1.0-impl 5 LOCAL_PROPRIETARY_MODULE := true 6 LOCAL_MODULE_RELATIVE_PATH := hw 7 LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include 8 LOCAL_SRC_FILES := \ 9 Health.cpp \ 10 11 LOCAL_SHARED_LIBRARIES := \ 12 libcutils \ 13 libhidlbase \ 14 libhidltransport \ 15 liblog \ 16 libutils \ 17 android.hardware.health (a] 1.0 \ 18 19 LOCAL_STATIC_LIBRARIES := android.hardware.health (a] 1.0-convert 20 21 LOCAL_HAL_STATIC_LIBRARIES := libhealthd 22 23 include $(BUILD_SHARED_LIBRARY) 24 25 include $(CLEAR_VARS) 26 LOCAL_MODULE := android.hardware.health (a] 1.0-convert 27 LOCAL_SRC_FILES := convert.cpp 28 LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include 29 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include 30 LOCAL_SHARED_LIBRARIES := \ 31 libcutils \ 32 libhidlbase \ 33 libhidltransport \ 34 libutils \ 35 android.hardware.health (a] 1.0 \ 36 37 include $(BUILD_STATIC_LIBRARY) 38 39 include $(CLEAR_VARS) 40 LOCAL_PROPRIETARY_MODULE := true 41 LOCAL_MODULE_RELATIVE_PATH := hw 42 LOCAL_MODULE := android.hardware.health (a] 1.0-service 43 LOCAL_INIT_RC := android.hardware.health (a] 1.0-service.rc 44 LOCAL_SRC_FILES := \ 45 HealthService.cpp \ 46 47 LOCAL_SHARED_LIBRARIES := \ 48 liblog \ 49 libcutils \ 50 libdl \ 51 libbase \ 52 libutils \ 53 libhidlbase \ 54 libhidltransport \ 55 android.hardware.health (a] 1.0 \ 56 57 include $(BUILD_EXECUTABLE) 58 59 include $(call first-makefiles-under,$(LOCAL_PATH)) 60