summaryrefslogtreecommitdiff
path: root/android/Android.mk
diff options
context:
space:
mode:
authorYingjie Wang <yingjiewang@codeaurora.org>2018-12-21 17:56:30 +0800
committerYingjie Wang <yingjiewang@codeaurora.org>2019-01-16 13:27:33 +0800
commit877b2e40c3c062435142b135994cc149fe7e2c4c (patch)
treec41afa38ce4b6f8d19fa1e010dc004558320dbda /android/Android.mk
parent400c1e8b5748ae2ad360aa558ad3552ce4e0227c (diff)
downloadgps-877b2e40c3c062435142b135994cc149fe7e2c4c.tar.gz
Build dummy QMAA HAL to unblock framework
Build dummy QMAA HAL to unblock framework when BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE flag is not defined. Change-Id: I62f71d7964e916619f0157e69a57cd83a62bba54 CRs-Fixed: 2378795
Diffstat (limited to 'android/Android.mk')
-rw-r--r--android/Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/android/Android.mk b/android/Android.mk
index 11d5889..bff117e 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -1,9 +1,10 @@
-ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
LOCAL_PATH := $(call my-dir)
+ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
ifeq ($(GNSS_HIDL_VERSION),1.1)
include $(LOCAL_PATH)/1.1/Android.mk
else
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 #BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE