libsysprof-gtk: start on GTK widgetry library

This is ultimately to replace libsysprof-ui, and will focus on the display
of capture files. Recording will be left to the sysprof application in
terms of UI, and other applications like IDEs will use the
libsysprof-profile API directly along with libsysprof-gtk for visualizing.
This commit is contained in:
Christian Hergert
2023-06-08 17:38:15 -07:00
parent ca0cff6446
commit 6570087c7c
12 changed files with 954 additions and 0 deletions

View File

@ -0,0 +1,31 @@
libsysprof_gtk_test_env = [
'G_DEBUG=gc-friendly',
'GSETTINGS_BACKEND=memory',
'MALLOC_CHECK_=2',
]
libsysprof_gtk_testsuite_c_args = [
'-DG_LOG_DOMAIN="libdex"',
'-DG_ENABLE_DEBUG',
'-UG_DISABLE_ASSERT',
'-UG_DISABLE_CAST_CHECKS',
]
libsysprof_gtk_testsuite = {
'test-callgraph' : {'skip': true},
}
libsysprof_gtk_testsuite_deps = [
libsysprof_analyze_static_dep,
libsysprof_gtk_static_dep,
]
foreach test, params: libsysprof_gtk_testsuite
test_exe = executable(test, '@0@.c'.format(test),
c_args: libsysprof_gtk_testsuite_c_args,
dependencies: libsysprof_gtk_testsuite_deps,
)
if not params.get('skip', false)
test(test, test_exe, env: libsysprof_gtk_test_env)
endif
endforeach