summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-11-08 20:32:07 +0800
committerMarge Bot <emma+marge@anholt.net>2022-11-11 05:38:19 +0000
commitf03421702cc35059e4ead86839906ddfcf05bdc7 (patch)
tree2353a9fffdd350992213de82df9ce6b17e5df10e /src/mapi
parente5656f07c7a65b1d143684671cd8235af099a84c (diff)
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>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/es1api/meson.build4
-rw-r--r--src/mapi/es2api/meson.build4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/mapi/es1api/meson.build b/src/mapi/es1api/meson.build
index 733002339a4..d0d89b46447 100644
--- a/src/mapi/es1api/meson.build
+++ b/src/mapi/es1api/meson.build
@@ -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(
diff --git a/src/mapi/es2api/meson.build b/src/mapi/es2api/meson.build
index d8f54eb64f4..1156ee92e42 100644
--- a/src/mapi/es2api/meson.build
+++ b/src/mapi/es2api/meson.build
@@ -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(