1libmpeg2d_cflags_arm64 += -DARMV8 2libmpeg2d_cflags_arm64 += -DDISABLE_NEONINTR -DARM -DARMGCC 3 4libmpeg2d_inc_dir_arm64 += $(LOCAL_PATH)/decoder/arm 5libmpeg2d_inc_dir_arm64 += $(LOCAL_PATH)/common/armv8 6 7libmpeg2d_srcs_c_arm64 += decoder/arm/impeg2d_function_selector.c 8 9ifeq ($(ARCH_ARM_HAVE_NEON),true) 10libmpeg2d_srcs_c_arm64 += decoder/arm/impeg2d_function_selector_av8.c 11 12libmpeg2d_srcs_asm_arm64 += common/armv8/impeg2_neon_macros.s 13libmpeg2d_srcs_asm_arm64 += common/armv8/impeg2_format_conv.s 14libmpeg2d_srcs_asm_arm64 += common/armv8/impeg2_idct.s 15libmpeg2d_srcs_asm_arm64 += common/armv8/impeg2_inter_pred.s 16libmpeg2d_srcs_asm_arm64 += common/armv8/impeg2_mem_func.s 17libmpeg2d_cflags_arm += -DDEFAULT_ARCH=D_ARCH_ARMV8_GENERIC 18else 19libmpeg2d_cflags_arm64 += -DDISABLE_NEON -DDEFAULT_ARCH=D_ARCH_ARM_NONEON 20endif 21 22 23 24 25LOCAL_SRC_FILES_arm64 += $(libmpeg2d_srcs_c_arm64) $(libmpeg2d_srcs_asm_arm64) 26LOCAL_C_INCLUDES_arm64 += $(libmpeg2d_inc_dir_arm64) 27LOCAL_CFLAGS_arm64 += $(libmpeg2d_cflags_arm64) 28 29# CLANG WORKAROUNDS 30LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as 31LOCAL_CLANG_ASFLAGS_arm64 += $(addprefix -Wa$(comma)-I,$(libmpeg2d_inc_dir_arm64)) 32