Files
sysprof/src/sysprof-agent/meson.build
Christian Hergert 1fba250444 build: drop legacy v2 service and simplify build system
This removes -Dagent and just uses -Dtools as it only affects sysprof-cli
and sysprof-agent. We still need to patch sysprof-cli for recent changes
as we did for sysprof-agent though.

Additionally, we haven't used the v2 service in forever, so drop that as
I can't imagine anyone has been using it.
2023-07-17 15:11:10 -07:00

30 lines
684 B
Meson

ipc_agent_src = gnome.gdbus_codegen('ipc-agent',
sources: 'org.gnome.Sysprof.Agent.xml',
interface_prefix: 'org.gnome.Sysprof.',
namespace: 'Ipc',
)
sysprof_agent_sources = [
'sysprof-agent.c',
ipc_agent_src,
]
sysprof_agent_c_args = [
]
sysprof_agent_deps = [
libsysprof_analyze_static_dep,
libsysprof_profile_static_dep,
]
sysprof_agent = executable('sysprof-agent', sysprof_agent_sources,
dependencies: sysprof_agent_deps,
c_args: release_flags + sysprof_agent_c_args,
install_dir: get_option('bindir'),
install: true,
)
install_data(['org.gnome.Sysprof.Agent.xml'],
install_dir: join_paths(datadir, 'dbus-1/interfaces'),
)