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 | |
Sandeep Patil | 3e1d94c | 2016-11-10 09:22:27 -0800 | [diff] [blame^] | 37 | include $(CLEAR_VARS) |
| 38 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 39 | LOCAL_MODULE := android.hardware.health@1.0-service |
| 40 | LOCAL_INIT_RC := android.hardware.health@1.0-service.rc |
| 41 | LOCAL_SRC_FILES := \ |
| 42 | HealthService.cpp \ |
| 43 | |
| 44 | LOCAL_SHARED_LIBRARIES := \ |
| 45 | liblog \ |
| 46 | libcutils \ |
| 47 | libdl \ |
| 48 | libbase \ |
| 49 | libutils \ |
| 50 | libhwbinder \ |
| 51 | libhidl \ |
| 52 | android.hardware.health@1.0 \ |
| 53 | |
| 54 | include $(BUILD_EXECUTABLE) |
| 55 | |
Sandeep Patil | c7a5ff7 | 2016-11-08 16:35:04 -0800 | [diff] [blame] | 56 | include $(call first-makefiles-under,$(LOCAL_PATH)) |