Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7909ea99 authored by Dan Albert's avatar Dan Albert
Browse files

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
parent dfa2f8a6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
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.
+2 −0
Original line number Diff line number Diff line
@@ -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)