libhwjpeg: resolve compilation errors
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos.git] / libswconverter / Android.mk
1 LOCAL_PATH := $(call my-dir)
2
3 include $(CLEAR_VARS)
4
5 LOCAL_MODULE_TAGS := optional
6
7 LOCAL_SRC_FILES := \
8 swconvertor.c
9
10 ifeq ($(VOTT), v7)
11 LOCAL_CFLAGS += -DNEON_SUPPORT
12 LOCAL_SRC_FILES += \
13 csc_interleave_memcpy_neon.s \
14 csc_BGRA8888_to_YUV420SP_NEON.s \
15 csc_RGBA8888_to_YUV420SP_NEON.s \
16 csc_BGRA8888_to_RGBA8888_NEON.s
17
18 ifeq ($(BOARD_USE_NV12T_128X64), true)
19 LOCAL_SRC_FILES += \
20 csc_linear_to_tiled_crop_neon.s \
21 csc_linear_to_tiled_interleave_crop_neon.s \
22 csc_tiled_to_linear_crop_neon.s \
23 csc_tiled_to_linear_deinterleave_crop_neon.s
24 LOCAL_CFLAGS += -DUSE_NV12T_128X64
25 else
26 LOCAL_SRC_FILES += \
27 csc_tiled_to_linear_y_neon.s \
28 csc_tiled_to_linear_uv_neon.s \
29 csc_tiled_to_linear_uv_deinterleave_neon.s
30 endif
31
32 LOCAL_CFLAGS += -Werror
33 endif
34
35 LOCAL_C_INCLUDES := \
36 $(LOCAL_PATH)/../include \
37 $(TOP)/hardware/samsung_slsi/exynos/include
38
39 LOCAL_MODULE := libswconverter
40
41 LOCAL_PRELINK_MODULE := false
42
43 LOCAL_ARM_MODE := arm
44
45 LOCAL_STATIC_LIBRARIES :=
46 LOCAL_SHARED_LIBRARIES := liblog
47
48 include $(BUILD_STATIC_LIBRARY)