mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +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())
|
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
|
profiler_enabled = true
|
||||||
else
|
else
|
||||||
libsysprof_capture_dep = disabler()
|
libsysprof_capture_dep = disabler()
|
||||||
libsysprof_dep = disabler()
|
|
||||||
profiler_enabled = false
|
profiler_enabled = false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -146,10 +146,3 @@ foreach t: gtk_tests
|
|||||||
dependencies: [libgtk_dep, libm],
|
dependencies: [libgtk_dep, libm],
|
||||||
)
|
)
|
||||||
endforeach
|
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