summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dan Austin <danielaustin@google.com> 2015-09-09 14:39:25 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-09-09 14:39:25 +0000
commitbf04509ff42fc1e179b518caada5d0b663f2a8ee (patch)
tree4f3758c69230fa548dc514cb52e4fb3ec82f3d22
parent477b1e873a894a4331535bf1a59d76ec0cdd809a (diff)
parentacc5c6209e0ab2032961b55432e3c4e579403ea7 (diff)
Merge "Enable fsanitize integer in binder"
-rw-r--r--libs/binder/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/binder/Android.mk b/libs/binder/Android.mk
index 79decfe21f..d612061705 100644
--- a/libs/binder/Android.mk
+++ b/libs/binder/Android.mk
@@ -41,6 +41,9 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libbinder
LOCAL_SHARED_LIBRARIES := liblog libcutils libutils
+
+LOCAL_CLANG := true
+LOCAL_SANITIZE := integer
LOCAL_SRC_FILES := $(sources)
ifneq ($(TARGET_USES_64_BIT_BINDER),true)
ifneq ($(TARGET_IS_64_BIT),true)