Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | # This is the Android makefile for libyuv for both platform and NDK. |
michael@0 | 2 | LOCAL_PATH:= $(call my-dir) |
michael@0 | 3 | |
michael@0 | 4 | include $(CLEAR_VARS) |
michael@0 | 5 | |
michael@0 | 6 | LOCAL_CPP_EXTENSION := .cc |
michael@0 | 7 | |
michael@0 | 8 | LOCAL_SRC_FILES := \ |
michael@0 | 9 | source/compare.cc \ |
michael@0 | 10 | source/compare_common.cc \ |
michael@0 | 11 | source/compare_posix.cc \ |
michael@0 | 12 | source/convert.cc \ |
michael@0 | 13 | source/convert_argb.cc \ |
michael@0 | 14 | source/convert_from.cc \ |
michael@0 | 15 | source/convert_from_argb.cc \ |
michael@0 | 16 | source/convert_to_argb.cc \ |
michael@0 | 17 | source/convert_to_i420.cc \ |
michael@0 | 18 | source/cpu_id.cc \ |
michael@0 | 19 | source/format_conversion.cc \ |
michael@0 | 20 | source/planar_functions.cc \ |
michael@0 | 21 | source/rotate.cc \ |
michael@0 | 22 | source/rotate_argb.cc \ |
michael@0 | 23 | source/rotate_mips.cc \ |
michael@0 | 24 | source/row_any.cc \ |
michael@0 | 25 | source/row_common.cc \ |
michael@0 | 26 | source/row_mips.cc \ |
michael@0 | 27 | source/row_posix.cc \ |
michael@0 | 28 | source/scale.cc \ |
michael@0 | 29 | source/scale_argb.cc \ |
michael@0 | 30 | source/scale_common.cc \ |
michael@0 | 31 | source/scale_mips.cc \ |
michael@0 | 32 | source/scale_posix.cc \ |
michael@0 | 33 | source/video_common.cc |
michael@0 | 34 | |
michael@0 | 35 | # TODO(fbarchard): Enable mjpeg encoder. |
michael@0 | 36 | # source/mjpeg_decoder.cc |
michael@0 | 37 | # source/convert_jpeg.cc |
michael@0 | 38 | # source/mjpeg_validate.cc |
michael@0 | 39 | |
michael@0 | 40 | ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) |
michael@0 | 41 | LOCAL_CFLAGS += -DLIBYUV_NEON |
michael@0 | 42 | LOCAL_SRC_FILES += \ |
michael@0 | 43 | source/compare_neon.cc.neon \ |
michael@0 | 44 | source/rotate_neon.cc.neon \ |
michael@0 | 45 | source/row_neon.cc.neon \ |
michael@0 | 46 | source/scale_neon.cc.neon |
michael@0 | 47 | endif |
michael@0 | 48 | |
michael@0 | 49 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include |
michael@0 | 50 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/include |
michael@0 | 51 | |
michael@0 | 52 | LOCAL_MODULE := libyuv_static |
michael@0 | 53 | LOCAL_MODULE_TAGS := optional |
michael@0 | 54 | |
michael@0 | 55 | include $(BUILD_STATIC_LIBRARY) |
michael@0 | 56 |