Todd Poynor | 752faf2 | 2013-06-12 13:25:59 -0700 | [diff] [blame] | 1 | # Copyright 2013 The Android Open Source Project |
| 2 | |
| 3 | ifneq ($(BUILD_TINY_ANDROID),true) |
| 4 | |
| 5 | LOCAL_PATH := $(call my-dir) |
Todd Poynor | d65104c | 2013-08-13 15:50:42 -0700 | [diff] [blame] | 6 | |
| 7 | include $(CLEAR_VARS) |
| 8 | LOCAL_SRC_FILES := healthd_board_default.cpp |
| 9 | LOCAL_MODULE := libhealthd.default |
| 10 | include $(BUILD_STATIC_LIBRARY) |
| 11 | |
Todd Poynor | 752faf2 | 2013-06-12 13:25:59 -0700 | [diff] [blame] | 12 | include $(CLEAR_VARS) |
| 13 | |
| 14 | LOCAL_SRC_FILES := \ |
| 15 | healthd.cpp \ |
| 16 | BatteryMonitor.cpp \ |
| 17 | BatteryPropertiesRegistrar.cpp |
| 18 | |
| 19 | LOCAL_MODULE := healthd |
| 20 | LOCAL_MODULE_TAGS := optional |
| 21 | LOCAL_FORCE_STATIC_EXECUTABLE := true |
| 22 | LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN) |
| 23 | LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED) |
| 24 | |
| 25 | LOCAL_STATIC_LIBRARIES := libbatteryservice libbinder libz libutils libstdc++ libcutils liblog libm libc |
Todd Poynor | d65104c | 2013-08-13 15:50:42 -0700 | [diff] [blame] | 26 | LOCAL_HAL_STATIC_LIBRARIES := libhealthd |
Todd Poynor | 10b235e | 2013-08-07 15:25:14 -0700 | [diff] [blame] | 27 | |
Todd Poynor | 752faf2 | 2013-06-12 13:25:59 -0700 | [diff] [blame] | 28 | include $(BUILD_EXECUTABLE) |
| 29 | |
| 30 | endif |