1 # This is the Android makefile for libyuv for both platform and NDK.
2 LOCAL_PATH
:= $(call my-dir
)
6 LOCAL_CPP_EXTENSION
:= .
cc
10 source
/compare_common.
cc \
11 source
/compare_posix.
cc \
13 source
/convert_argb.
cc \
14 source
/convert_from.
cc \
15 source
/convert_from_argb.
cc \
16 source
/convert_to_argb.
cc \
17 source
/convert_to_i420.
cc \
19 source
/format_conversion.
cc \
20 source
/planar_functions.
cc \
22 source
/rotate_argb.
cc \
23 source
/rotate_mips.
cc \
25 source
/row_common.
cc \
29 source
/scale_argb.
cc \
30 source
/scale_common.
cc \
31 source
/scale_mips.
cc \
32 source
/scale_posix.
cc \
33 source
/video_common.
cc
35 # TODO(fbarchard): Enable mjpeg encoder.
36 # source/mjpeg_decoder.cc
37 # source/convert_jpeg.cc
38 # source/mjpeg_validate.cc
40 ifeq ($(TARGET_ARCH_ABI
),armeabi-v7a
)
41 LOCAL_CFLAGS
+= -DLIBYUV_NEON
43 source
/compare_neon.
cc.neon \
44 source
/rotate_neon.
cc.neon \
45 source
/row_neon.
cc.neon \
46 source
/scale_neon.
cc.neon
49 LOCAL_EXPORT_C_INCLUDES
:= $(LOCAL_PATH
)/include
50 LOCAL_C_INCLUDES
+= $(LOCAL_PATH
)/include
52 LOCAL_MODULE
:= libyuv_static
53 LOCAL_MODULE_TAGS
:= optional
55 include $(BUILD_STATIC_LIBRARY
)