From: Dylan Baker Date: Tue, 23 Jan 2018 17:39:25 +0000 (-0800) Subject: meson: use depend_files for adding extra file dependencies X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e617c04f16563381b3d9bd1ddd092e32e38a843;p=mesa.git meson: use depend_files for adding extra file dependencies cc: Jason Ekstrand Fixes: dd088d4bec74f37ffe4 ("anv/extensions: Generate a header file with extension tables") 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 3f1a2de9fd3..1be389b67e3 100644 --- a/src/intel/vulkan/meson.build +++ b/src/intel/vulkan/meson.build @@ -42,13 +42,13 @@ anv_extensions_c = custom_target( anv_extensions_h = custom_target( 'anv_extensions.h', - 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.h', command : [ prog_python2, '@INPUT0@', '--xml', '@INPUT1@', '--xml', '@INPUT2@', '--out-h', '@OUTPUT@', ], + depend_files : files('anv_extensions.py'), ) intel_icd = custom_target(