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
@@ -36,9 +36,7 @@ gles1_def = custom_target(
'gles1.def',
input: 'gles1.def.in',
output : 'gles1.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,
)
libglesv1_cm = shared_library(
+1 -3
View File
@@ -36,9 +36,7 @@ gles2_def = custom_target(
'gles2.def',
input: 'gles2.def.in',
output : 'gles2.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,
)
libgles2 = shared_library(