meson: Refactoring shared gen_vs_module_defs_normal_command out

Cc: mesa-stable

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19610>
This commit is contained in:
Yonggang Luo
2022-11-08 20:32:07 +08:00
committed by Marge Bot
parent e5656f07c7
commit f03421702c
10 changed files with 14 additions and 27 deletions
+1 -3
View File
@@ -30,9 +30,7 @@ vulkan_api_def = custom_target(
'vulkan_api.def',
input: 'vulkan_api.def.in',
output : 'vulkan_api.def',
command : [prog_python, gen_vs_module_defs_py,
'--in_file', '@INPUT@', '--out_file', '@OUTPUT@',
'--compiler_id', cc.get_argument_syntax(), '--cpu_family', host_machine.cpu_family()]
command : gen_vs_module_defs_normal_command,
)
if with_platform_x11