summaryrefslogtreecommitdiff
path: root/android/1.0/Android.mk
diff options
context:
space:
mode:
authorYingjie Wang <yingjiewang@codeaurora.org>2019-03-07 18:08:06 +0800
committerYingjie Wang <yingjiewang@codeaurora.org>2019-05-27 11:17:44 +0800
commit89583a78f041efb6213044867650e20013500e35 (patch)
tree4a42b6f9c869f64ca93a2253e0db45f1018132dc /android/1.0/Android.mk
parent51426e477b340950d7614ce6b1a7857b6a9b544f (diff)
downloadgps-89583a78f041efb6213044867650e20013500e35.tar.gz
Add charger indication receiver in Gnss Hidl
Register HEALTH Hal client in all Gnss Hidl impl to acquire charger indication. Change-Id: I3fcc00dd14a95e2375ab27a8c84c260300f9e90d CRs-fixed: 2411445
Diffstat (limited to 'android/1.0/Android.mk')
-rw-r--r--android/1.0/Android.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/android/1.0/Android.mk b/android/1.0/Android.mk
index 5489f86..9337325 100644
--- a/android/1.0/Android.mk
+++ b/android/1.0/Android.mk
@@ -28,7 +28,8 @@ LOCAL_HEADER_LIBRARIES := \
libgps.utils_headers \
libloc_core_headers \
libloc_pla_headers \
- liblocation_api_headers
+ liblocation_api_headers \
+ liblocbatterylistener_headers
LOCAL_SHARED_LIBRARIES := \
liblog \
@@ -38,6 +39,10 @@ LOCAL_SHARED_LIBRARIES := \
libcutils \
libutils \
android.hardware.gnss@1.0 \
+ android.hardware.health@1.0 \
+ android.hardware.health@2.0 \
+ android.hardware.power@1.2 \
+ libbase
LOCAL_SHARED_LIBRARIES += \
libloc_core \
@@ -46,6 +51,8 @@ LOCAL_SHARED_LIBRARIES += \
liblocation_api \
LOCAL_CFLAGS += $(GNSS_CFLAGS)
+LOCAL_STATIC_LIBRARIES := liblocbatterylistener
+LOCAL_STATIC_LIBRARIES += libhealthhalutils
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)