fwupd/plugins/linux-swap/meson.build
Richard Hughes d744fe8b67 linux-swap: Rename the plugin as it is Linux specific
We'll be adding other linux-foo plugins in the future, so it makes sense to get
the namespace correct now.
2020-05-07 12:42:34 +01:00

49 lines
817 B
Meson

cargs = ['-DG_LOG_DOMAIN="FuPluginLinuxSwap"']
shared_module('fu_plugin_linux_swap',
fu_hash,
sources : [
'fu-plugin-linux-swap.c',
'fu-linux-swap.c',
],
include_directories : [
root_incdir,
fwupd_incdir,
fwupdplugin_incdir,
],
install : true,
install_dir: plugin_dir,
link_with : [
fwupd,
fwupdplugin,
],
c_args : cargs,
dependencies : [
plugin_deps,
],
)
if get_option('tests')
e = executable(
'linux-swap-self-test',
fu_hash,
sources : [
'fu-self-test.c',
'fu-linux-swap.c',
],
include_directories : [
root_incdir,
fwupd_incdir,
fwupdplugin_incdir,
],
dependencies : [
plugin_deps,
],
link_with : [
fwupd,
fwupdplugin,
],
)
test('linux-swap-self-test', e)
endif