summaryrefslogtreecommitdiffstats
path: root/sdcard
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2016-05-05 16:01:49 -0400
committerDaniel Micay <danielmicay@gmail.com>2016-05-05 16:03:32 -0400
commit83c0c7b2ab573b0e69848cee8047420dbaabc795 (patch)
tree1f0ff9b149ec9d1d1c6999a4f66423b6253c2e50 /sdcard
parent09167c2f5cfbc75441d34372a1f0cb1b82c32aa2 (diff)
downloadsystem_core-83c0c7b2ab573b0e69848cee8047420dbaabc795.tar.gz
system_core-83c0c7b2ab573b0e69848cee8047420dbaabc795.tar.bz2
system_core-83c0c7b2ab573b0e69848cee8047420dbaabc795.zip
enable integer sanitizer for sdcard service
The previous false positive fix (df9c4a01) is enough to pass tests, and it doesn't appear that there are any remaining issues. Change-Id: Ib9812f1201ff0cd2ae8c8371737754fc328765b5
Diffstat (limited to 'sdcard')
-rw-r--r--sdcard/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/sdcard/Android.mk b/sdcard/Android.mk
index 2d04a7f46..ac5faa795 100644
--- a/sdcard/Android.mk
+++ b/sdcard/Android.mk
@@ -7,4 +7,7 @@ LOCAL_MODULE := sdcard
LOCAL_CFLAGS := -Wall -Wno-unused-parameter -Werror
LOCAL_SHARED_LIBRARIES := liblog libcutils libpackagelistparser
+LOCAL_SANITIZE := integer
+LOCAL_CLANG := true
+
include $(BUILD_EXECUTABLE)