diff options
author | Mike Cailean <mcailean@codeaurora.org> | 2019-09-24 14:15:57 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-10-07 15:32:50 -0700 |
commit | 73f69ef469c45e329a483a1f39f2757affb34ba3 (patch) | |
tree | d53fc244d60dc16c8de047ab5438ed5505aa1891 /android/1.1 | |
parent | fa7f9e3f087ef2168f716159015ed36decae8450 (diff) | |
download | gps-73f69ef469c45e329a483a1f39f2757affb34ba3.tar.gz |
Enable Android sanitizers
Change-Id: I6724d0e171e42f779e8eed6aea126f3f69496f6d
CRs-fixed: 2534375
Diffstat (limited to 'android/1.1')
-rw-r--r-- | android/1.1/Android.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android/1.1/Android.mk b/android/1.1/Android.mk index fb72de1..132c1e1 100644 --- a/android/1.1/Android.mk +++ b/android/1.1/Android.mk @@ -2,6 +2,9 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := android.hardware.gnss@1.1-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 := \ @@ -58,6 +61,9 @@ include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := android.hardware.gnss@1.1-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@1.1-service-qti.xml LOCAL_VENDOR_MODULE := true LOCAL_MODULE_RELATIVE_PATH := hw |