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 \ 13 libfec_rs \ 14 libcrypto_utils \ 15 libcrypto \ 16 libext4_utils \ 17 libsquashfs_utils \ 18 libbase 19LOCAL_CFLAGS := -Wall -Werror -D_GNU_SOURCE 20include $(BUILD_HOST_EXECUTABLE) 21 22include $(CLEAR_VARS) 23LOCAL_CLANG := true 24LOCAL_SANITIZE := integer 25LOCAL_MODULE := fec_test_rs 26LOCAL_SRC_FILES := test_rs.c 27LOCAL_MODULE_TAGS := optional 28LOCAL_STATIC_LIBRARIES := libfec_rs 29LOCAL_CFLAGS := -Wall -Werror -D_GNU_SOURCE 30LOCAL_C_INCLUDES += external/fec 31include $(BUILD_HOST_EXECUTABLE) 32 33endif # HOST_OS == linux 34