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:
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user