summaryrefslogtreecommitdiff
path: root/android/Android.mk
diff options
context:
space:
mode:
authorYingjie Wang <yingjiewang@codeaurora.org>2019-01-14 16:27:35 +0800
committerMike Cailean <mcailean@codeaurora.org>2019-02-05 10:22:08 -0800
commit51dca017c55fce4852d48ec38fc40b9811ed7fd8 (patch)
tree7637696ffe565b43bc094af432dc96067be31fba /android/Android.mk
parent955f05e8e79829498422ae2958e0eb0406a13409 (diff)
downloadgps-51dca017c55fce4852d48ec38fc40b9811ed7fd8.tar.gz
GNSS HAL 2.0 implementation
Implement AGnss, AGnssRil, GnssConfiguration, GnssMeasurement and MeasurementCorrections of GNSS HAL 2.0 to on par with Android P Change-Id: Id430e60c2d9cc7333f4b331c7e5a1e9a45a0289a CRs-Fixed: 2342198
Diffstat (limited to 'android/Android.mk')
-rw-r--r--android/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/Android.mk b/android/Android.mk
index bff117e..c1bdd59 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -1,5 +1,8 @@
LOCAL_PATH := $(call my-dir)
ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
+ifeq ($(GNSS_HIDL_VERSION),2.0)
+include $(LOCAL_PATH)/2.0/Android.mk
+else
ifeq ($(GNSS_HIDL_VERSION),1.1)
include $(LOCAL_PATH)/1.1/Android.mk
else
@@ -7,4 +10,6 @@ include $(LOCAL_PATH)/1.0/Android.mk
endif
else #QMAA flag set, build dummy android.hardware.gnss@1.0-impl-qti
include $(LOCAL_PATH)/dummy/Android.mk
+endif
+
endif #BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE