summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-11-08 20:32:07 +0800
committerEric Engestrom <eric@engestrom.ch>2022-11-17 14:05:02 +0000
commit7db1912a2a809c99e8ced2acc083a732c75392a8 (patch)
treece6029db4936c4635455d08eb3c2bf3b4dda39a2 /bin
parentf68e25315f5b139fd7a6c6fb86517c003bb4e2e1 (diff)
downloadmesa-7db1912a2a809c99e8ced2acc083a732c75392a8.tar.gz
mesa-7db1912a2a809c99e8ced2acc083a732c75392a8.tar.bz2
mesa-7db1912a2a809c99e8ced2acc083a732c75392a8.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> (cherry picked from commit f03421702cc35059e4ead86839906ddfcf05bdc7)
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')