mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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.
30 lines
684 B
Meson
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'),
|
|
)
|