blob: 3ebb313bed9673053348843d44e3dec08ef8c27f [file] [log] [blame]
Ying Wang08af1982014-03-12 17:49:58 -07001# Output variables:
2# libvpx_config_dir_x86
3# libvpx_codec_srcs_c_x86
Ying Wang08af1982014-03-12 17:49:58 -07004
Vignesh Venkatasubramanianda49e342015-08-25 11:05:01 -07005libvpx_target := config/x86
Ying Wang08af1982014-03-12 17:49:58 -07006
7libvpx_config_dir_x86 := $(LOCAL_PATH)/$(libvpx_target)
8libvpx_codec_srcs := $(sort $(shell cat $(libvpx_config_dir_x86)/libvpx_srcs.txt))
9
10# vpx_config.c is an auto-generated file in $(libvpx_target).
11libvpx_codec_srcs_c_x86 := $(addprefix libvpx/, $(filter-out vpx_config.c, \
12 $(filter %.c, $(libvpx_codec_srcs)))) \
13 $(libvpx_target)/vpx_config.c
14
Johannafecaee2014-06-16 11:10:07 -070015# X86 asm files are processed by the system and sent to yasm
16libvpx_codec_srcs_c_x86 += $(addprefix libvpx/, $(filter %.asm, $(libvpx_codec_srcs)))