mirror of
				https://git.proxmox.com/git/fwupd
				synced 2025-11-04 15:35:40 +00:00 
			
		
		
		
	This causes problems in the self tests when not lazy-loading symbols. Also use g_build_filename() for the paths to be more portable and readable.
		
			
				
	
	
		
			49 lines
		
	
	
		
			790 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			790 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
cargs = ['-DG_LOG_DOMAIN="FuPluginTest"']
 | 
						|
 | 
						|
install_dummy = false
 | 
						|
if get_option('plugin_dummy')
 | 
						|
  install_dummy = true
 | 
						|
endif
 | 
						|
 | 
						|
shared_module('fu_plugin_test',
 | 
						|
  fu_hash,
 | 
						|
  sources : [
 | 
						|
    'fu-plugin-test.c',
 | 
						|
  ],
 | 
						|
  include_directories : [
 | 
						|
    root_incdir,
 | 
						|
    fwupd_incdir,
 | 
						|
    fwupdplugin_incdir,
 | 
						|
  ],
 | 
						|
  install : install_dummy,
 | 
						|
  install_dir: plugin_dir,
 | 
						|
  link_with : [
 | 
						|
    fwupd,
 | 
						|
    fwupdplugin,
 | 
						|
  ],
 | 
						|
  c_args : cargs,
 | 
						|
  dependencies : [
 | 
						|
    plugin_deps,
 | 
						|
  ],
 | 
						|
)
 | 
						|
 | 
						|
shared_module('fu_plugin_invalid',
 | 
						|
  sources : [
 | 
						|
    'fu-plugin-invalid.c',
 | 
						|
  ],
 | 
						|
  include_directories : [
 | 
						|
    root_incdir,
 | 
						|
    fwupd_incdir,
 | 
						|
    fwupdplugin_incdir,
 | 
						|
  ],
 | 
						|
  install : install_dummy,
 | 
						|
  install_dir: plugin_dir,
 | 
						|
  link_with : [
 | 
						|
    fwupdplugin,
 | 
						|
  ],
 | 
						|
  c_args : cargs,
 | 
						|
  dependencies : [
 | 
						|
    plugin_deps,
 | 
						|
  ],
 | 
						|
)
 |