aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
blob: 9b2d6dad112c70372d0528a054c26fe9c9589bf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
LOCAL_PATH:= $(call my-dir)

common_src_files := \
	encode_rs_char.c \
	decode_rs_char.c \
	init_rs_char.c

include $(CLEAR_VARS)
LOCAL_MODULE := libfec_rs
LOCAL_CLANG := true
LOCAL_CFLAGS := -Wall -O3
LOCAL_SANITIZE := integer
LOCAL_SRC_FILES := $(common_src_files)
include $(BUILD_STATIC_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := libfec_rs
LOCAL_CLANG := true
LOCAL_CFLAGS := -Wall -O3
ifeq ($(HOST_OS),linux)
LOCAL_SANITIZE := integer
endif
LOCAL_SRC_FILES := $(common_src_files)
include $(BUILD_HOST_STATIC_LIBRARY)