From: Dylan Baker Date: Tue, 23 Jan 2018 17:37:03 +0000 (-0800) Subject: meson: use depend_files to track extra file dependencies X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b03969a5adeffaceec7ff722e90205c4284b1f1e;p=mesa.git meson: use depend_files to track extra file dependencies cc: Jason Ekstrand Fixes: f93994080993bda ("anv: Split anv_extensions.py into two files") Signed-off-by: Dylan Baker Reviewed-by: Samuel Iglesias Gonsálvez --- diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build index d0712f318c7..3f1a2de9fd3 100644 --- a/src/intel/vulkan/meson.build +++ b/src/intel/vulkan/meson.build @@ -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(