mirror of
				https://git.proxmox.com/git/fwupd
				synced 2025-11-04 03:33:24 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Meson
		
	
	
	
	
	
cargs = ['-DG_LOG_DOMAIN="FuPluginLogitechHidPp"']
 | 
						|
 | 
						|
install_data([
 | 
						|
  'logitech-hidpp.quirk',
 | 
						|
  ],
 | 
						|
  install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
 | 
						|
)
 | 
						|
 | 
						|
 | 
						|
shared_module('fu_plugin_logitech_hidpp',
 | 
						|
  fu_hash,
 | 
						|
  sources : [
 | 
						|
    'fu-plugin-logitech-hidpp.c',
 | 
						|
    'fu-logitech-hidpp-bootloader.c',
 | 
						|
    'fu-logitech-hidpp-bootloader-nordic.c',
 | 
						|
    'fu-logitech-hidpp-bootloader-texas.c',
 | 
						|
    'fu-logitech-hidpp-common.c',
 | 
						|
    'fu-logitech-hidpp-hidpp.c',
 | 
						|
    'fu-logitech-hidpp-hidpp-msg.c',
 | 
						|
    'fu-logitech-hidpp-peripheral.c',
 | 
						|
    'fu-logitech-hidpp-runtime.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(
 | 
						|
    'logitech-hidpp-self-test',
 | 
						|
    fu_hash,
 | 
						|
    sources : [
 | 
						|
      'fu-logitech-hidpp-self-test.c',
 | 
						|
      'fu-logitech-hidpp-common.c',
 | 
						|
    ],
 | 
						|
    include_directories : [
 | 
						|
      root_incdir,
 | 
						|
      fwupd_incdir,
 | 
						|
      fwupdplugin_incdir,
 | 
						|
    ],
 | 
						|
    dependencies : [
 | 
						|
      plugin_deps,
 | 
						|
    ],
 | 
						|
    link_with : [
 | 
						|
      fwupd,
 | 
						|
      fwupdplugin,
 | 
						|
    ],
 | 
						|
    c_args : cargs,
 | 
						|
  )
 | 
						|
  test('logitech-hidpp-self-test', e)
 | 
						|
endif
 |