diff options
author | 2014-10-23 16:07:37 +0000 | |
---|---|---|
committer | 2014-10-23 16:07:39 +0000 | |
commit | 69402dc9921f134d15a780c66c4930845919d419 (patch) | |
tree | 8f922b6fb495d629c7ad33f7060f5af4e435f2a7 /native | |
parent | 989699a69003e1af89309692eb88b7611ebe071f (diff) | |
parent | 5c4bec31d1688f9822c15ae51e2d1f3f768e0931 (diff) | |
download | latinime-69402dc9921f134d15a780c66c4930845919d419.tar.gz latinime-69402dc9921f134d15a780c66c4930845919d419.tar.xz latinime-69402dc9921f134d15a780c66c4930845919d419.zip |
Merge "Enable Address Sanitizer for native host test 2nd try"
Diffstat (limited to 'native')
-rw-r--r-- | native/jni/HostUnitTests.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/native/jni/HostUnitTests.mk b/native/jni/HostUnitTests.mk index 40ec2558e..e30d50a2e 100644 --- a/native/jni/HostUnitTests.mk +++ b/native/jni/HostUnitTests.mk @@ -29,8 +29,10 @@ include $(LOCAL_PATH)/NativeFileList.mk #################### Host library for unit test # TODO: Remove -std=c++11 once it is set by default on host build. LATIN_IME_SRC_DIR := src +LOCAL_ADDRESS_SANITIZER := true LOCAL_CFLAGS += -std=c++11 -Wno-unused-parameter -Wno-unused-function LOCAL_CLANG := true +LOCAL_CXX_STL := libc++ LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR) LOCAL_MODULE := liblatinime_host_static_for_unittests LOCAL_MODULE_TAGS := optional @@ -40,9 +42,11 @@ include $(BUILD_HOST_STATIC_LIBRARY) #################### Host native tests include $(CLEAR_VARS) LATIN_IME_TEST_SRC_DIR := tests +LOCAL_ADDRESS_SANITIZER := true # TODO: Remove -std=c++11 once it is set by default on host build. LOCAL_CFLAGS += -std=c++11 -Wno-unused-parameter -Wno-unused-function LOCAL_CLANG := true +LOCAL_CXX_STL := libc++ LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR) LOCAL_MODULE := liblatinime_host_unittests LOCAL_MODULE_TAGS := tests |