mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
parent
d65dc6c730
commit
fdcb1d92c5
14
meson.build
14
meson.build
@ -642,23 +642,9 @@ if not get_option('sysprof').disabled()
|
||||
],
|
||||
)
|
||||
cdata.set('HAVE_SYSPROF', libsysprof_capture_dep.found())
|
||||
libsysprof_dep = dependency('sysprof-4',
|
||||
required: false,
|
||||
default_options: [
|
||||
'agent=false',
|
||||
'examples=false',
|
||||
'gtk=false',
|
||||
'tests=false',
|
||||
'tools=false',
|
||||
'libsysprof=true',
|
||||
'sysprofd=none',
|
||||
'help=false',
|
||||
],
|
||||
)
|
||||
profiler_enabled = true
|
||||
else
|
||||
libsysprof_capture_dep = disabler()
|
||||
libsysprof_dep = disabler()
|
||||
profiler_enabled = false
|
||||
endif
|
||||
|
||||
|
@ -146,10 +146,3 @@ foreach t: gtk_tests
|
||||
dependencies: [libgtk_dep, libm],
|
||||
)
|
||||
endforeach
|
||||
|
||||
if libsysprof_dep.found()
|
||||
executable('testperf',
|
||||
sources: 'testperf.c',
|
||||
dependencies: [libsysprof_dep, platform_gio_dep, libm],
|
||||
)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user