1libmpeg2d_inc_dir_arm += $(LOCAL_PATH)/decoder/arm 2libmpeg2d_inc_dir_arm += $(LOCAL_PATH)/common/arm 3 4libmpeg2d_srcs_c_arm += decoder/arm/impeg2d_function_selector.c 5libmpeg2d_srcs_c_arm += common/arm/ideint_function_selector.c 6libmpeg2d_cflags_arm += -DDISABLE_NEONINTR -DARM -DARMGCC 7 8LOCAL_ARM_MODE := arm 9 10ifeq ($(ARCH_ARM_HAVE_NEON),true) 11libmpeg2d_srcs_c_arm += decoder/arm/impeg2d_function_selector_a9q.c 12libmpeg2d_srcs_c_arm += common/arm/ideint_function_selector_a9.c 13libmpeg2d_srcs_asm_arm += common/arm/icv_sad_a9.s 14libmpeg2d_srcs_asm_arm += common/arm/icv_variance_a9.s 15libmpeg2d_srcs_asm_arm += common/arm/ideint_spatial_filter_a9.s 16libmpeg2d_srcs_asm_arm += common/arm/ideint_cac_a9.s 17libmpeg2d_srcs_asm_arm += common/arm/impeg2_format_conv.s 18libmpeg2d_srcs_asm_arm += common/arm/impeg2_idct.s 19libmpeg2d_srcs_asm_arm += common/arm/impeg2_inter_pred.s 20libmpeg2d_srcs_asm_arm += common/arm/impeg2_mem_func.s 21libmpeg2d_cflags_arm += -DDEFAULT_ARCH=D_ARCH_ARM_A9Q 22else 23libmpeg2d_cflags_arm += -DDISABLE_NEON -DDEFAULT_ARCH=D_ARCH_ARM_NONEON 24endif 25 26LOCAL_SRC_FILES_arm += $(libmpeg2d_srcs_c_arm) $(libmpeg2d_srcs_asm_arm) 27LOCAL_C_INCLUDES_arm += $(libmpeg2d_inc_dir_arm) 28LOCAL_CFLAGS_arm += $(libmpeg2d_cflags_arm) 29 30# CLANG WORKAROUNDS 31LOCAL_CLANG_ASFLAGS_arm += -no-integrated-as 32LOCAL_CLANG_ASFLAGS_arm += $(addprefix -Wa$(comma)-I,$(libmpeg2d_inc_dir_arm)) 33