summaryrefslogtreecommitdiff
path: root/android/1.0/Android.mk
diff options
context:
space:
mode:
authorSaurabh Srivastava <ssrivast@codeaurora.org>2019-02-21 17:01:13 +0530
committerSaurabh Srivastava <ssrivast@codeaurora.org>2019-03-21 01:20:22 +0530
commit8bd22760a63799075005c8f8de217cf4cc38b589 (patch)
treebad36e791ebce1a8a7e41b6095f394bd12886b6a /android/1.0/Android.mk
parent7d34cea4ca6de95a464ed0df0da46628b27de107 (diff)
downloadgps-8bd22760a63799075005c8f8de217cf4cc38b589.tar.gz
Unified Vendor - Launch only android.hardware.gnss
Launch android.hardware.gnss HIDL service for both vendor enhanced and non-enhanced platforms Change-Id: Ia9cb9ef52d42c788bcaa73bc1001ed8d90f7c755 CRs-Fixed: 2402833
Diffstat (limited to 'android/1.0/Android.mk')
-rw-r--r--android/1.0/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/1.0/Android.mk b/android/1.0/Android.mk
index 434b432..122ff8d 100644
--- a/android/1.0/Android.mk
+++ b/android/1.0/Android.mk
@@ -81,4 +81,9 @@ LOCAL_SHARED_LIBRARIES += \
android.hardware.gnss@1.0 \
LOCAL_CFLAGS += $(GNSS_CFLAGS)
+
+ifneq ($(LOC_HIDL_VERSION),)
+LOCAL_CFLAGS += -DLOC_HIDL_VERSION='"$(LOC_HIDL_VERSION)"'
+endif
+
include $(BUILD_EXECUTABLE)