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