1
1
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:
Yu Watanabe 2021-01-04 20:41:37 +09:00
parent f98df767e1
commit 0275e918af
4 changed files with 20 additions and 14 deletions

View File

@ -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,

View File

@ -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']],
]

View File

@ -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']],
]

View 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']],
]