summaryrefslogtreecommitdiff
path: root/android/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/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/Android.mk')
-rw-r--r--android/Android.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/android/Android.mk b/android/Android.mk
index f117def..8233b68 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -1,12 +1,15 @@
LOCAL_PATH := $(call my-dir)
ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
+include $(CLEAR_VARS)
+DIR_LIST := $(LOCAL_PATH)
+include $(DIR_LIST)/utils/Android.mk
ifeq ($(GNSS_HIDL_VERSION),2.0)
-include $(LOCAL_PATH)/2.0/Android.mk
+include $(DIR_LIST)/2.0/Android.mk
else
ifeq ($(GNSS_HIDL_VERSION),1.1)
-include $(LOCAL_PATH)/1.1/Android.mk
+include $(DIR_LIST)/1.1/Android.mk
else
-include $(LOCAL_PATH)/1.0/Android.mk
+include $(DIR_LIST)/1.0/Android.mk
endif #GNSS HIDL 1.1
endif #GNSS HIDL 2.0
else #QMAA flag set, build dummy android.hardware.gnss@1.0-impl-qti