summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parente5656f07c7a65b1d143684671cd8235af099a84c (diff)
downloadmesa-f03421702cc35059e4ead86839906ddfcf05bdc7.tar.gz
mesa-f03421702cc35059e4ead86839906ddfcf05bdc7.tar.bz2
mesa-f03421702cc35059e4ead86839906ddfcf05bdc7.zip
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 'bin')
-rw-r--r--bin/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/meson.build b/bin/meson.build
index 1b7301585f9..a70f83bbf8b 100644
--- a/bin/meson.build
+++ b/bin/meson.build
@@ -20,5 +20,10 @@
git_sha1_gen_py = files('git_sha1_gen.py')
gen_vs_module_defs_py = files('gen_vs_module_defs.py')
+gen_vs_module_defs_normal_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()
+]
symbols_check = find_program('symbols-check.py')
install_megadrivers_py = find_program('install_megadrivers.py')