Sandeep Patil | c7a5ff7 | 2016-11-08 16:35:04 -0800 | [diff] [blame^] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | LOCAL_MODULE := android.hardware.health@1.0-impl |
| 5 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 6 | LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include |
| 7 | LOCAL_SRC_FILES := \ |
| 8 | Health.cpp \ |
| 9 | |
| 10 | LOCAL_SHARED_LIBRARIES := \ |
| 11 | libcutils \ |
| 12 | libhidl \ |
| 13 | libhwbinder \ |
| 14 | liblog \ |
| 15 | libutils \ |
| 16 | android.hardware.health@1.0 \ |
| 17 | |
| 18 | LOCAL_STATIC_LIBRARIES := android.hardware.health@1.0-convert |
| 19 | |
| 20 | LOCAL_HAL_STATIC_LIBRARIES := libhealthd |
| 21 | |
| 22 | include $(BUILD_SHARED_LIBRARY) |
| 23 | |
| 24 | include $(CLEAR_VARS) |
| 25 | LOCAL_MODULE := android.hardware.health@1.0-convert |
| 26 | LOCAL_SRC_FILES := convert.cpp |
| 27 | LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include |
| 28 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include |
| 29 | LOCAL_SHARED_LIBRARIES := \ |
| 30 | libcutils \ |
| 31 | libhidl \ |
| 32 | libutils \ |
| 33 | android.hardware.health@1.0 \ |
| 34 | |
| 35 | include $(BUILD_STATIC_LIBRARY) |
| 36 | |
| 37 | include $(call first-makefiles-under,$(LOCAL_PATH)) |