mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-03 20:47:54 +00:00

tristate features will automatically disable if dependencies marked as required are missing. Packagers can manually override using `auto_features`. Link: https://mesonbuild.com/Build-options.html#features
33 lines
610 B
Meson
33 lines
610 B
Meson
if gusb.found()
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginCrosEc"']
|
|
|
|
install_data(['cros-ec.quirk'],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_cros_ec',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-plugin-cros-ec.c',
|
|
'fu-cros-ec-usb-device.c',
|
|
'fu-cros-ec-common.c', # fuzzing
|
|
'fu-cros-ec-firmware.c', # fuzzing
|
|
],
|
|
include_directories : [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
link_with : [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
c_args : cargs,
|
|
dependencies : [
|
|
plugin_deps,
|
|
],
|
|
)
|
|
endif
|