Register HEALTH Hal client in all Gnss Hidl impl to acquire charger indication. Change-Id: I3fcc00dd14a95e2375ab27a8c84c260300f9e90d CRs-fixed: 2411445
37 lines
753 B
Makefile
37 lines
753 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := liblocbatterylistener
|
|
LOCAL_VENDOR_MODULE := true
|
|
|
|
LOCAL_CFLAGS += $(GNSS_CFLAGS)
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
$(LOCAL_PATH) \
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
battery_listener.cpp
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libhidlbase \
|
|
libhidltransport \
|
|
libhwbinder \
|
|
libcutils \
|
|
libutils \
|
|
android.hardware.health@1.0 \
|
|
android.hardware.health@2.0 \
|
|
android.hardware.power@1.2 \
|
|
libbase
|
|
|
|
LOCAL_STATIC_LIBRARIES := libhealthhalutils
|
|
LOCAL_CFLAGS += -DBATTERY_LISTENER_ENABLED
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := liblocbatterylistener_headers
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
|
|
|
|
include $(BUILD_HEADER_LIBRARY)
|
|
|
|
|