mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:38 +00:00
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Link: https://lore.kernel.org/qemu-devel/87cy2uat5e.fsf@draig.linaro.org Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
40 lines
665 B
Meson
40 lines
665 B
Meson
contrib_plugins = [
|
|
'bbv.c',
|
|
'cache.c',
|
|
'cflow.c',
|
|
'drcov.c',
|
|
'execlog.c',
|
|
'hotblocks.c',
|
|
'hotpages.c',
|
|
'howvec.c',
|
|
'hwprofile.c',
|
|
'ips.c',
|
|
'stoptrigger.c',
|
|
'traps.c',
|
|
'uftrace.c',
|
|
]
|
|
|
|
if host_os != 'windows'
|
|
# lockstep uses socket.h
|
|
contrib_plugins += 'lockstep.c'
|
|
endif
|
|
|
|
if 'cpp' in all_languages
|
|
contrib_plugins += 'cpp.cpp'
|
|
endif
|
|
|
|
t = []
|
|
if get_option('plugins')
|
|
foreach i : contrib_plugins
|
|
t += shared_module(fs.stem(i), files(i),
|
|
dependencies: plugins_deps)
|
|
endforeach
|
|
endif
|
|
if t.length() > 0
|
|
alias_target('contrib-plugins', t)
|
|
else
|
|
run_target('contrib-plugins', command: [python, '-c', ''])
|
|
endif
|
|
|
|
plugin_modules += t
|