summaryrefslogtreecommitdiff
path: root/android/2.0
diff options
context:
space:
mode:
authorqctecmdr <qctecmdr@localhost>2019-10-10 16:15:55 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-10-10 16:15:55 -0700
commit3d053a57fcb40b90a2be2403fc50ffe671e6befb (patch)
tree34ec119c0ab86e1b934a8dda724e555b3d40e884 /android/2.0
parentb19214e27d2da52996b6772073da7845b9acc9c8 (diff)
parent73f69ef469c45e329a483a1f39f2757affb34ba3 (diff)
downloadgps-3d053a57fcb40b90a2be2403fc50ffe671e6befb.tar.gz
Merge "Enable Android sanitizers"
Diffstat (limited to 'android/2.0')
-rw-r--r--android/2.0/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/2.0/Android.mk b/android/2.0/Android.mk
index 7c55504..d9ac77c 100644
--- a/android/2.0/Android.mk
+++ b/android/2.0/Android.mk
@@ -2,6 +2,9 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.gnss@2.0-impl-qti
+LOCAL_SANITIZE += $(GNSS_SANITIZE)
+# activate the following line for debug purposes only, comment out for production
+#LOCAL_SANITIZE_DIAG += $(GNSS_SANITIZE_DIAG)
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := \
@@ -70,6 +73,9 @@ include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.gnss@2.0-service-qti
+LOCAL_SANITIZE += $(GNSS_SANITIZE)
+# activate the following line for debug purposes only, comment out for production
+#LOCAL_SANITIZE_DIAG += $(GNSS_SANITIZE_DIAG)
LOCAL_VINTF_FRAGMENTS := android.hardware.gnss@2.0-service-qti.xml
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := hw