1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_MODULE := libfec_rs 5 LOCAL_CLANG := true 6 LOCAL_CFLAGS := -Wall -O3 7 LOCAL_SANITIZE := integer 8 LOCAL_SRC_FILES := \ 9 encode_rs_char.c \ 10 decode_rs_char.c \ 11 init_rs_char.c 12 include $(BUILD_STATIC_LIBRARY) 13 14 include $(CLEAR_VARS) 15 LOCAL_MODULE := libfec_rs_host 16 LOCAL_CLANG := true 17 LOCAL_CFLAGS := -Wall -O3 18 ifeq ($(HOST_OS),linux) 19 LOCAL_SANITIZE := integer 20 endif 21 LOCAL_SRC_FILES := \ 22 encode_rs_char.c \ 23 decode_rs_char.c \ 24 init_rs_char.c 25 include $(BUILD_HOST_STATIC_LIBRARY) 26