blob: 3ebb313bed9673053348843d44e3dec08ef8c27f [file] [log] [blame]
# Output variables:
# libvpx_config_dir_x86
# libvpx_codec_srcs_c_x86
libvpx_target := config/x86
libvpx_config_dir_x86 := $(LOCAL_PATH)/$(libvpx_target)
libvpx_codec_srcs := $(sort $(shell cat $(libvpx_config_dir_x86)/libvpx_srcs.txt))
# vpx_config.c is an auto-generated file in $(libvpx_target).
libvpx_codec_srcs_c_x86 := $(addprefix libvpx/, $(filter-out vpx_config.c, \
$(filter %.c, $(libvpx_codec_srcs)))) \
$(libvpx_target)/vpx_config.c
# X86 asm files are processed by the system and sent to yasm
libvpx_codec_srcs_c_x86 += $(addprefix libvpx/, $(filter %.asm, $(libvpx_codec_srcs)))