mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Revert "Enable ASan (Address Sanitizer) for native host test"
This reverts commit af2673f17d89c0ea8d61266ce92e55a77218b494 because of build failure in tapas build. Change-Id: Ib02931116181c98b35ce938e42d2376225e9b255
This commit is contained in:
parent
af2673f17d
commit
b9dc32ffd5
@ -26,10 +26,8 @@ include $(LOCAL_PATH)/NativeFileList.mk
|
|||||||
#################### Host library for unit test
|
#################### Host library for unit test
|
||||||
# TODO: Remove -std=c++11 once it is set by default on host build.
|
# TODO: Remove -std=c++11 once it is set by default on host build.
|
||||||
LATIN_IME_SRC_DIR := src
|
LATIN_IME_SRC_DIR := src
|
||||||
LOCAL_ADDRESS_SANITIZER := true
|
|
||||||
LOCAL_CFLAGS += -std=c++11 -Wno-unused-parameter -Wno-unused-function
|
LOCAL_CFLAGS += -std=c++11 -Wno-unused-parameter -Wno-unused-function
|
||||||
LOCAL_CLANG := true
|
LOCAL_CLANG := true
|
||||||
LOCAL_CXX_STL := libc++
|
|
||||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR)
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR)
|
||||||
LOCAL_MODULE := liblatinime_host_static_for_unittests
|
LOCAL_MODULE := liblatinime_host_static_for_unittests
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
@ -40,10 +38,8 @@ include $(BUILD_HOST_STATIC_LIBRARY)
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LATIN_IME_TEST_SRC_DIR := tests
|
LATIN_IME_TEST_SRC_DIR := tests
|
||||||
# TODO: Remove -std=c++11 once it is set by default on host build.
|
# TODO: Remove -std=c++11 once it is set by default on host build.
|
||||||
LOCAL_ADDRESS_SANITIZER := true
|
|
||||||
LOCAL_CFLAGS += -std=c++11 -Wno-unused-parameter -Wno-unused-function
|
LOCAL_CFLAGS += -std=c++11 -Wno-unused-parameter -Wno-unused-function
|
||||||
LOCAL_CLANG := true
|
LOCAL_CLANG := true
|
||||||
LOCAL_CXX_STL := libc++
|
|
||||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR)
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR)
|
||||||
LOCAL_MODULE := liblatinime_host_unittests
|
LOCAL_MODULE := liblatinime_host_unittests
|
||||||
LOCAL_MODULE_TAGS := tests
|
LOCAL_MODULE_TAGS := tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user