meson: use depend_files to track extra file dependencies

cc: Jason Ekstrand <jason.ekstrand@intel.com>
Fixes: f939940809 ("anv: Split anv_extensions.py into two files")
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
Dylan Baker 2018-01-23 09:37:03 -08:00
parent 384bff13e0
commit b03969a5ad
1 changed files with 2 additions and 2 deletions

View File

@ -31,13 +31,13 @@ anv_entrypoints = custom_target(
anv_extensions_c = custom_target(
'anv_extensions.c',
input : ['anv_extensions_gen.py', vk_api_xml, vk_android_native_buffer_xml,
'anv_extensions.py'],
input : ['anv_extensions_gen.py', vk_api_xml, vk_android_native_buffer_xml],
output : 'anv_extensions.c',
command : [
prog_python2, '@INPUT0@', '--xml', '@INPUT1@', '--xml', '@INPUT2@',
'--out-c', '@OUTPUT@',
],
depend_files : files('anv_extensions.py'),
)
anv_extensions_h = custom_target(