1# Output variables:
2# libvpx_config_dir_arm
3# libvpx_codec_srcs_c_arm
4# libvpx_codec_srcs_asm_arm
5
6ifeq ($(ARCH_ARM_HAVE_NEON),true)
7libvpx_target := armv7a-neon
8else ifeq ($(ARCH_ARM_HAVE_ARMV7A),true)
9libvpx_target := armv7a
10else
11libvpx_target := generic
12endif
13
14libvpx_config_dir_arm := $(LOCAL_PATH)/$(libvpx_target)
15libvpx_codec_srcs := $(sort $(shell cat $(libvpx_config_dir_arm)/libvpx_srcs.txt))
16
17# vpx_config.c is an auto-generated file in $(libvpx_target).
18libvpx_codec_srcs_c_arm := $(addprefix libvpx/, $(filter-out vpx_config.c, \
19    $(filter %.c, $(libvpx_codec_srcs)))) \
20    $(libvpx_target)/vpx_config.c
21
22libvpx_codec_srcs_asm_arm := $(filter %.asm.s, $(libvpx_codec_srcs))
23