Ying Wang | 08af198 | 2014-03-12 17:49:58 -0700 | [diff] [blame] | 1 | # Output variables: |
| 2 | # libvpx_config_dir_x86 |
| 3 | # libvpx_codec_srcs_c_x86 |
Ying Wang | 08af198 | 2014-03-12 17:49:58 -0700 | [diff] [blame] | 4 | |
Vignesh Venkatasubramanian | da49e34 | 2015-08-25 11:05:01 -0700 | [diff] [blame] | 5 | libvpx_target := config/x86 |
Ying Wang | 08af198 | 2014-03-12 17:49:58 -0700 | [diff] [blame] | 6 | |
| 7 | libvpx_config_dir_x86 := $(LOCAL_PATH)/$(libvpx_target) |
| 8 | libvpx_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). |
| 11 | libvpx_codec_srcs_c_x86 := $(addprefix libvpx/, $(filter-out vpx_config.c, \ |
| 12 | $(filter %.c, $(libvpx_codec_srcs)))) \ |
| 13 | $(libvpx_target)/vpx_config.c |
| 14 | |
Johann | afecaee | 2014-06-16 11:10:07 -0700 | [diff] [blame] | 15 | # X86 asm files are processed by the system and sent to yasm |
| 16 | libvpx_codec_srcs_c_x86 += $(addprefix libvpx/, $(filter %.asm, $(libvpx_codec_srcs))) |