diff options
author | Dan Albert <danalbert@google.com> | 2015-03-16 17:39:40 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-03-16 17:39:40 -0700 |
commit | a5113a15009d5501e6ce5d14e781e0e691d80864 (patch) | |
tree | 9a1197e89499bbbfcce2980453f46881851e82eb /tools | |
parent | 3812cf58cbf4e97006c172152de6aca209d185e9 (diff) | |
download | android_external_sepolicy-a5113a15009d5501e6ce5d14e781e0e691d80864.tar.gz android_external_sepolicy-a5113a15009d5501e6ce5d14e781e0e691d80864.tar.bz2 android_external_sepolicy-a5113a15009d5501e6ce5d14e781e0e691d80864.zip |
Don't use address sanitizer for selinux tools.
Address sanitizer requires using libc++ (apparently). We removed
libc++ from these projects since they were C and the SDK/CTS was not
able to find libc++.
If we're interested in continuing to use ASAN on these tools
(probably), we should turn libc++ back on once we're sure CTS won't
die.
Bug: 19778891
Change-Id: I3c1913171a15396ead73277ec1186fead730f66d
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Android.mk | 3 | ||||
-rw-r--r-- | tools/sepolicy-analyze/Android.mk | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/Android.mk b/tools/Android.mk index b9e3533..96e29a3 100644 --- a/tools/Android.mk +++ b/tools/Android.mk @@ -9,6 +9,7 @@ LOCAL_CFLAGS := -DLINK_SEPOL_STATIC -Wall -Werror LOCAL_SRC_FILES := check_seapp.c LOCAL_STATIC_LIBRARIES := libsepol LOCAL_CXX_STL := none +LOCAL_ADDRESS_SANITIZER := false include $(BUILD_HOST_EXECUTABLE) @@ -23,6 +24,7 @@ LOCAL_CFLAGS := -Wall -Werror LOCAL_SRC_FILES := checkfc.c LOCAL_STATIC_LIBRARIES := libsepol libselinux LOCAL_CXX_STL := none +LOCAL_ADDRESS_SANITIZER := false include $(BUILD_HOST_EXECUTABLE) @@ -46,6 +48,7 @@ LOCAL_CFLAGS := -Wall -Werror LOCAL_SRC_FILES := sepolicy-check.c LOCAL_STATIC_LIBRARIES := libsepol LOCAL_CXX_STL := none +LOCAL_ADDRESS_SANITIZER := false include $(BUILD_HOST_EXECUTABLE) diff --git a/tools/sepolicy-analyze/Android.mk b/tools/sepolicy-analyze/Android.mk index b9ce0f4..f13fbba 100644 --- a/tools/sepolicy-analyze/Android.mk +++ b/tools/sepolicy-analyze/Android.mk @@ -10,5 +10,6 @@ LOCAL_CFLAGS := -Wall -Werror LOCAL_SRC_FILES := sepolicy-analyze.c dups.c neverallow.c perm.c typecmp.c booleans.c attribute.c utils.c LOCAL_STATIC_LIBRARIES := libsepol LOCAL_CXX_STL := none +LOCAL_ADDRESS_SANITIZER := false include $(BUILD_HOST_EXECUTABLE) |