2013-06-12 22:25:59 +02:00
|
|
|
# Copyright 2013 The Android Open Source Project
|
|
|
|
|
|
|
|
ifneq ($(BUILD_TINY_ANDROID),true)
|
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
2013-08-14 00:50:42 +02:00
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := healthd_board_default.cpp
|
|
|
|
LOCAL_MODULE := libhealthd.default
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
2013-06-12 22:25:59 +02:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
healthd.cpp \
|
|
|
|
BatteryMonitor.cpp \
|
|
|
|
BatteryPropertiesRegistrar.cpp
|
|
|
|
|
|
|
|
LOCAL_MODULE := healthd
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN)
|
|
|
|
LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)
|
|
|
|
|
|
|
|
LOCAL_STATIC_LIBRARIES := libbatteryservice libbinder libz libutils libstdc++ libcutils liblog libm libc
|
2013-08-14 00:50:42 +02:00
|
|
|
LOCAL_HAL_STATIC_LIBRARIES := libhealthd
|
2013-08-08 00:25:14 +02:00
|
|
|
|
2013-06-12 22:25:59 +02:00
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
|
|
|
endif
|