michael@0: # This is the Android makefile for libyuv for both platform and NDK. michael@0: LOCAL_PATH:= $(call my-dir) michael@0: michael@0: include $(CLEAR_VARS) michael@0: michael@0: LOCAL_CPP_EXTENSION := .cc michael@0: michael@0: LOCAL_SRC_FILES := \ michael@0: source/compare.cc \ michael@0: source/compare_common.cc \ michael@0: source/compare_posix.cc \ michael@0: source/convert.cc \ michael@0: source/convert_argb.cc \ michael@0: source/convert_from.cc \ michael@0: source/convert_from_argb.cc \ michael@0: source/convert_to_argb.cc \ michael@0: source/convert_to_i420.cc \ michael@0: source/cpu_id.cc \ michael@0: source/format_conversion.cc \ michael@0: source/planar_functions.cc \ michael@0: source/rotate.cc \ michael@0: source/rotate_argb.cc \ michael@0: source/rotate_mips.cc \ michael@0: source/row_any.cc \ michael@0: source/row_common.cc \ michael@0: source/row_mips.cc \ michael@0: source/row_posix.cc \ michael@0: source/scale.cc \ michael@0: source/scale_argb.cc \ michael@0: source/scale_common.cc \ michael@0: source/scale_mips.cc \ michael@0: source/scale_posix.cc \ michael@0: source/video_common.cc michael@0: michael@0: # TODO(fbarchard): Enable mjpeg encoder. michael@0: # source/mjpeg_decoder.cc michael@0: # source/convert_jpeg.cc michael@0: # source/mjpeg_validate.cc michael@0: michael@0: ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) michael@0: LOCAL_CFLAGS += -DLIBYUV_NEON michael@0: LOCAL_SRC_FILES += \ michael@0: source/compare_neon.cc.neon \ michael@0: source/rotate_neon.cc.neon \ michael@0: source/row_neon.cc.neon \ michael@0: source/scale_neon.cc.neon michael@0: endif michael@0: michael@0: LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include michael@0: LOCAL_C_INCLUDES += $(LOCAL_PATH)/include michael@0: michael@0: LOCAL_MODULE := libyuv_static michael@0: LOCAL_MODULE_TAGS := optional michael@0: michael@0: include $(BUILD_STATIC_LIBRARY) michael@0: