blob: 473d37531efa57614f1b8a76095c795d1691bf77 [file] [log] [blame]
Todd Poynor752faf22013-06-12 13:25:59 -07001# Copyright 2013 The Android Open Source Project
2
3ifneq ($(BUILD_TINY_ANDROID),true)
4
5LOCAL_PATH := $(call my-dir)
Todd Poynord65104c2013-08-13 15:50:42 -07006
7include $(CLEAR_VARS)
8LOCAL_SRC_FILES := healthd_board_default.cpp
9LOCAL_MODULE := libhealthd.default
10include $(BUILD_STATIC_LIBRARY)
11
Todd Poynor752faf22013-06-12 13:25:59 -070012include $(CLEAR_VARS)
13
14LOCAL_SRC_FILES := \
15 healthd.cpp \
16 BatteryMonitor.cpp \
17 BatteryPropertiesRegistrar.cpp
18
19LOCAL_MODULE := healthd
20LOCAL_MODULE_TAGS := optional
21LOCAL_FORCE_STATIC_EXECUTABLE := true
22LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN)
23LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)
24
25LOCAL_STATIC_LIBRARIES := libbatteryservice libbinder libz libutils libstdc++ libcutils liblog libm libc
Todd Poynord65104c2013-08-13 15:50:42 -070026LOCAL_HAL_STATIC_LIBRARIES := libhealthd
Todd Poynor10b235e2013-08-07 15:25:14 -070027
Todd Poynor752faf22013-06-12 13:25:59 -070028include $(BUILD_EXECUTABLE)
29
30endif