Never use ASAN for acp.

Since acp is needed to build the ASAN libs, we can't use ASAN to
instrument it. Since libhost is included statically in acp, we can't
instrument that either.

Change-Id: Idb389df945380b6ef447fc3d3ead8be27ec09011
This commit is contained in:
Dan Albert 2014-10-31 16:30:26 -07:00
parent dfa2f8a6e3
commit 7909ea9922
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_SRC_FILES:= \
CopyFile.c
@ -20,6 +21,8 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
# acp to install libhost.
LOCAL_ACP_UNAVAILABLE:= true
LOCAL_ADDRESS_SANITIZER := false
include $(BUILD_HOST_STATIC_LIBRARY)
# Include toolchain prebuilt modules if they exist.

View File

@ -4,6 +4,7 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_SRC_FILES := \
acp.c
@ -22,5 +23,6 @@ LOCAL_C_INCLUDES := build/libs/host/include
LOCAL_MODULE := acp
LOCAL_ACP_UNAVAILABLE := true
LOCAL_CXX_STL := none
LOCAL_ADDRESS_SANITIZER := false
include $(BUILD_HOST_EXECUTABLE)