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 := armv7a-neon
      8 else ifeq ($(ARCH_ARM_HAVE_ARMV7A),true)
      9 libvpx_target := armv7a
     10 else
     11 libvpx_target := generic
     12 endif
     13 
     14 libvpx_config_dir_arm := $(LOCAL_PATH)/$(libvpx_target)
     15 libvpx_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).
     18 libvpx_codec_srcs_c_arm := $(addprefix libvpx/, $(filter-out vpx_config.c, \
     19     $(filter %.c, $(libvpx_codec_srcs)))) \
     20     $(libvpx_target)/vpx_config.c
     21 
     22 libvpx_codec_srcs_asm_arm := $(filter %.asm.s, $(libvpx_codec_srcs))
     23