1# Output variables:
2# libvpx_config_dir_x86
3# libvpx_codec_srcs_c_x86
4# libvpx_codec_srcs_asm_x86
5
6libvpx_target := x86
7
8libvpx_config_dir_x86 := $(LOCAL_PATH)/$(libvpx_target)
9libvpx_codec_srcs := $(sort $(shell cat $(libvpx_config_dir_x86)/libvpx_srcs.txt))
10
11# vpx_config.c is an auto-generated file in $(libvpx_target).
12libvpx_codec_srcs_c_x86 := $(addprefix libvpx/, $(filter-out vpx_config.c, \
13    $(filter %.c, $(libvpx_codec_srcs)))) \
14    $(libvpx_target)/vpx_config.c
15
16# X86 asm files are processed by the system and sent to yasm
17libvpx_codec_srcs_c_x86 += $(addprefix libvpx/, $(filter %.asm, $(libvpx_codec_srcs)))
18