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/base/include 8 LOCAL_SRC_FILES := \ 9 Health.cpp \ 10 11 LOCAL_HEADER_LIBRARIES := libhealthd_headers 12 13 LOCAL_SHARED_LIBRARIES := \ 14 libcutils \ 15 libhidlbase \ 16 libhidltransport \ 17 liblog \ 18 libutils \ 19 android.hardware.health (a] 1.0 \ 20 21 LOCAL_STATIC_LIBRARIES := android.hardware.health (a] 1.0-convert 22 23 LOCAL_HAL_STATIC_LIBRARIES := libhealthd 24 25 include $(BUILD_SHARED_LIBRARY) 26 27 include $(CLEAR_VARS) 28 LOCAL_PROPRIETARY_MODULE := true 29 LOCAL_MODULE_RELATIVE_PATH := hw 30 LOCAL_MODULE := android.hardware.health (a] 1.0-service 31 LOCAL_INIT_RC := android.hardware.health (a] 1.0-service.rc 32 LOCAL_SRC_FILES := \ 33 HealthService.cpp \ 34 35 LOCAL_SHARED_LIBRARIES := \ 36 liblog \ 37 libcutils \ 38 libdl \ 39 libbase \ 40 libutils \ 41 libhidlbase \ 42 libhidltransport \ 43 android.hardware.health (a] 1.0 \ 44 45 include $(BUILD_EXECUTABLE) 46 47 include $(call first-makefiles-under,$(LOCAL_PATH)) 48