gamemode/common/meson.build
Christian Kellner 5398dd1d19 common: add pidfd related methods
Add functions to open pidfds, i.e. file descriptors representing
processes, for process ids and vice versa. Both functions work
an array of fds/pids, stop on error and return the number of
successfully handled items.
2019-10-18 13:19:30 +02:00

22 lines
497 B
Meson

# Convenience library for the duplicated logging functionality
common_sources = [
'common-logging.c',
'common-governors.c',
'common-external.c',
'common-helpers.c',
'common-gpu.c',
'common-pidfds.c',
]
daemon_common = static_library(
'daemon-common',
sources: common_sources,
install: false,
include_directories: [config_h_dir]
)
link_daemon_common = declare_dependency(
link_with: daemon_common,
include_directories: [include_directories('.')]
)