1 LOCAL_PATH:= $(call my-dir) 2 3 ifeq ($(HOST_OS),linux) 4 5 include $(CLEAR_VARS) 6 LOCAL_CLANG := true 7 LOCAL_SANITIZE := integer 8 LOCAL_MODULE := fec_test_read 9 LOCAL_SRC_FILES := test_read.cpp 10 LOCAL_MODULE_TAGS := optional 11 LOCAL_STATIC_LIBRARIES := \ 12 libfec_host \ 13 libfec_rs_host \ 14 libcrypto_static \ 15 libext4_utils_host \ 16 libsquashfs_utils_host \ 17 libbase 18 LOCAL_CFLAGS := -Wall -Werror -D_GNU_SOURCE 19 include $(BUILD_HOST_EXECUTABLE) 20 21 include $(CLEAR_VARS) 22 LOCAL_CLANG := true 23 LOCAL_SANITIZE := integer 24 LOCAL_MODULE := fec_test_rs 25 LOCAL_SRC_FILES := test_rs.c 26 LOCAL_MODULE_TAGS := optional 27 LOCAL_STATIC_LIBRARIES := libfec_rs_host 28 LOCAL_CFLAGS := -Wall -Werror -D_GNU_SOURCE 29 LOCAL_C_INCLUDES += external/fec 30 include $(BUILD_HOST_EXECUTABLE) 31 32 endif # HOST_OS == linux 33