1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4libmpeg2d_source_dir := $(LOCAL_PATH) 5 6## Arch-common settings 7LOCAL_MODULE := libmpeg2dec 8#LOCAL_32_BIT_ONLY := true 9 10LOCAL_MODULE_CLASS := STATIC_LIBRARIES 11 12LOCAL_CFLAGS += -D_LIB -DMULTICORE -fPIC 13LOCAL_CFLAGS += -O3 -DANDROID 14 15LOCAL_C_INCLUDES := $(LOCAL_PATH)/decoder $(LOCAL_PATH)/common 16 17libmpeg2d_srcs_c += common/impeg2_buf_mgr.c 18libmpeg2d_srcs_c += common/impeg2_disp_mgr.c 19libmpeg2d_srcs_c += common/impeg2_format_conv.c 20libmpeg2d_srcs_c += common/impeg2_globals.c 21libmpeg2d_srcs_c += common/impeg2_idct.c 22libmpeg2d_srcs_c += common/impeg2_inter_pred.c 23libmpeg2d_srcs_c += common/impeg2_job_queue.c 24libmpeg2d_srcs_c += common/impeg2_mem_func.c 25 26libmpeg2d_srcs_c += common/ithread.c 27 28libmpeg2d_srcs_c += decoder/impeg2d_api_main.c 29libmpeg2d_srcs_c += decoder/impeg2d_bitstream.c 30libmpeg2d_srcs_c += decoder/impeg2d_debug.c 31libmpeg2d_srcs_c += decoder/impeg2d_dec_hdr.c 32libmpeg2d_srcs_c += decoder/impeg2d_decoder.c 33libmpeg2d_srcs_c += decoder/impeg2d_d_pic.c 34libmpeg2d_srcs_c += decoder/impeg2d_function_selector_generic.c 35libmpeg2d_srcs_c += decoder/impeg2d_globals.c 36libmpeg2d_srcs_c += decoder/impeg2d_i_pic.c 37libmpeg2d_srcs_c += decoder/impeg2d_mc.c 38libmpeg2d_srcs_c += decoder/impeg2d_mv_dec.c 39libmpeg2d_srcs_c += decoder/impeg2d_pic_proc.c 40libmpeg2d_srcs_c += decoder/impeg2d_pnb_pic.c 41libmpeg2d_srcs_c += decoder/impeg2d_vld.c 42libmpeg2d_srcs_c += decoder/impeg2d_vld_tables.c 43libmpeg2d_srcs_c += decoder/impeg2d_deinterlace.c 44 45libmpeg2d_srcs_c += common/icv_sad.c 46libmpeg2d_srcs_c += common/icv_variance.c 47libmpeg2d_srcs_c += common/ideint.c 48libmpeg2d_srcs_c += common/ideint_cac.c 49libmpeg2d_srcs_c += common/ideint_debug.c 50libmpeg2d_srcs_c += common/ideint_function_selector_generic.c 51libmpeg2d_srcs_c += common/ideint_utils.c 52 53LOCAL_SRC_FILES := $(libmpeg2d_srcs_c) $(libmpeg2d_srcs_asm) 54 55 56# Load the arch-specific settings 57include $(LOCAL_PATH)/decoder.arm.mk 58include $(LOCAL_PATH)/decoder.arm64.mk 59include $(LOCAL_PATH)/decoder.x86.mk 60include $(LOCAL_PATH)/decoder.x86_64.mk 61include $(LOCAL_PATH)/decoder.mips.mk 62include $(LOCAL_PATH)/decoder.mips64.mk 63 64include $(BUILD_STATIC_LIBRARY) 65