87bf0d97be
IBatteryPropertiesListener is used by clients such as BatteryService to receive notifications of changed battery/power status (from healthd). IBatteryPropertiesRegistrar manages registrations of IBatteryPropertiesListener clients. Add BatteryService native header with defines from BatteryManager, and class BatteryProperties to pass battery/power status around. Change-Id: I44e2736e503b586794097b7b9d31d07fefd9b15a
18 lines
313 B
Makefile
18 lines
313 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
BatteryProperties.cpp \
|
|
IBatteryPropertiesListener.cpp \
|
|
IBatteryPropertiesRegistrar.cpp
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libutils \
|
|
libbinder
|
|
|
|
LOCAL_MODULE:= libbatteryservice
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|