mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
meson: move source file list for systemd-xdg-autostart-generator and its tests
This commit is contained in:
parent
f98df767e1
commit
0275e918af
@ -1738,6 +1738,7 @@ subdir('src/timesync')
|
||||
subdir('src/tmpfiles')
|
||||
subdir('src/vconsole')
|
||||
subdir('src/boot/efi')
|
||||
subdir('src/xdg-autostart-generator')
|
||||
|
||||
subdir('src/test')
|
||||
subdir('src/fuzz')
|
||||
@ -2400,8 +2401,7 @@ endif
|
||||
if conf.get('ENABLE_XDG_AUTOSTART') == 1
|
||||
executable(
|
||||
'systemd-xdg-autostart-generator',
|
||||
'src/xdg-autostart-generator/xdg-autostart-generator.c',
|
||||
'src/xdg-autostart-generator/xdg-autostart-service.c',
|
||||
systemd_xdg_autostart_generator_sources,
|
||||
include_directories : includes,
|
||||
link_with : [libshared],
|
||||
install_rpath : rootlibexecdir,
|
||||
|
@ -109,9 +109,5 @@ fuzzers += [
|
||||
|
||||
[['src/fuzz/fuzz-time-util.c']],
|
||||
|
||||
[['src/xdg-autostart-generator/fuzz-xdg-desktop.c',
|
||||
'src/xdg-autostart-generator/xdg-autostart-service.h',
|
||||
'src/xdg-autostart-generator/xdg-autostart-service.c']],
|
||||
|
||||
[['src/udev/fuzz-udev-rule-parse-value.c']],
|
||||
]
|
||||
|
@ -871,11 +871,3 @@ tests += [
|
||||
libshared],
|
||||
[threads]],
|
||||
]
|
||||
|
||||
############################################################
|
||||
|
||||
tests += [
|
||||
[['src/xdg-autostart-generator/test-xdg-autostart.c',
|
||||
'src/xdg-autostart-generator/xdg-autostart-service.c',
|
||||
'src/xdg-autostart-generator/xdg-autostart-service.h']],
|
||||
]
|
||||
|
18
src/xdg-autostart-generator/meson.build
Normal file
18
src/xdg-autostart-generator/meson.build
Normal file
@ -0,0 +1,18 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
systemd_xdg_autostart_generator_sources = files(
|
||||
'xdg-autostart-generator.c',
|
||||
'xdg-autostart-service.c',
|
||||
'xdg-autostart-service.h')
|
||||
|
||||
tests += [
|
||||
[['src/xdg-autostart-generator/test-xdg-autostart.c',
|
||||
'src/xdg-autostart-generator/xdg-autostart-service.c',
|
||||
'src/xdg-autostart-generator/xdg-autostart-service.h']],
|
||||
]
|
||||
|
||||
fuzzers += [
|
||||
[['src/xdg-autostart-generator/fuzz-xdg-desktop.c',
|
||||
'src/xdg-autostart-generator/xdg-autostart-service.c',
|
||||
'src/xdg-autostart-generator/xdg-autostart-service.h']],
|
||||
]
|
Loading…
Reference in New Issue
Block a user