summaryrefslogtreecommitdiffstats
path: root/media/libyuv/Android.mk
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /media/libyuv/Android.mk
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'media/libyuv/Android.mk')
-rw-r--r--media/libyuv/Android.mk63
1 files changed, 63 insertions, 0 deletions
diff --git a/media/libyuv/Android.mk b/media/libyuv/Android.mk
new file mode 100644
index 000000000..4d2092acf
--- /dev/null
+++ b/media/libyuv/Android.mk
@@ -0,0 +1,63 @@
+# This is the Android makefile for libyuv for both platform and NDK.
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_CPP_EXTENSION := .cc
+
+LOCAL_SRC_FILES := \
+ source/compare.cc \
+ source/compare_common.cc \
+ source/compare_neon64.cc \
+ source/compare_gcc.cc \
+ source/convert.cc \
+ source/convert_argb.cc \
+ source/convert_from.cc \
+ source/convert_from_argb.cc \
+ source/convert_to_argb.cc \
+ source/convert_to_i420.cc \
+ source/cpu_id.cc \
+ source/planar_functions.cc \
+ source/rotate.cc \
+ source/rotate_any.cc \
+ source/rotate_argb.cc \
+ source/rotate_common.cc \
+ source/rotate_mips.cc \
+ source/rotate_neon64.cc \
+ source/rotate_gcc.cc \
+ source/row_any.cc \
+ source/row_common.cc \
+ source/row_mips.cc \
+ source/row_neon64.cc \
+ source/row_gcc.cc \
+ source/scale.cc \
+ source/scale_any.cc \
+ source/scale_argb.cc \
+ source/scale_common.cc \
+ source/scale_mips.cc \
+ source/scale_neon64.cc \
+ source/scale_gcc.cc \
+ source/video_common.cc
+
+# TODO(fbarchard): Enable mjpeg encoder.
+# source/mjpeg_decoder.cc
+# source/convert_jpeg.cc
+# source/mjpeg_validate.cc
+
+ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
+ LOCAL_CFLAGS += -DLIBYUV_NEON
+ LOCAL_SRC_FILES += \
+ source/compare_neon.cc.neon \
+ source/rotate_neon.cc.neon \
+ source/row_neon.cc.neon \
+ source/scale_neon.cc.neon
+endif
+
+LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
+LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
+
+LOCAL_MODULE := libyuv_static
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_STATIC_LIBRARY)
+