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