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 |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 5 | LOCAL_PROPRIETARY_MODULE := true |
Sandeep Patil | c7a5ff7 | 2016-11-08 16:35:04 -0800 | [diff] [blame] | 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 \ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 13 | libhidlbase \ |
| 14 | libhidltransport \ |
Sandeep Patil | c7a5ff7 | 2016-11-08 16:35:04 -0800 | [diff] [blame] | 15 | liblog \ |
| 16 | libutils \ |
| 17 | android.hardware.health@1.0 \ |
| 18 | |
| 19 | LOCAL_STATIC_LIBRARIES := android.hardware.health@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@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 \ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 32 | libhidlbase \ |
| 33 | libhidltransport \ |
Sandeep Patil | c7a5ff7 | 2016-11-08 16:35:04 -0800 | [diff] [blame] | 34 | libutils \ |
| 35 | android.hardware.health@1.0 \ |
| 36 | |
| 37 | include $(BUILD_STATIC_LIBRARY) |
| 38 | |
Sandeep Patil | 3e1d94c | 2016-11-10 09:22:27 -0800 | [diff] [blame] | 39 | include $(CLEAR_VARS) |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 40 | LOCAL_PROPRIETARY_MODULE := true |
Sandeep Patil | 3e1d94c | 2016-11-10 09:22:27 -0800 | [diff] [blame] | 41 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 42 | LOCAL_MODULE := android.hardware.health@1.0-service |
| 43 | LOCAL_INIT_RC := android.hardware.health@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 \ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 53 | libhidlbase \ |
| 54 | libhidltransport \ |
Sandeep Patil | 3e1d94c | 2016-11-10 09:22:27 -0800 | [diff] [blame] | 55 | android.hardware.health@1.0 \ |
| 56 | |
| 57 | include $(BUILD_EXECUTABLE) |
| 58 | |
Sandeep Patil | c7a5ff7 | 2016-11-08 16:35:04 -0800 | [diff] [blame] | 59 | include $(call first-makefiles-under,$(LOCAL_PATH)) |