libsysprof-profile: stub out libsysprof-profile library

This does the same thing as we did for libsysprof-analyze, but to contain
the profiler bits that will be used from applications/etc.
This commit is contained in:
Christian Hergert
2023-05-25 15:43:53 -07:00
parent a4b5ea6160
commit 24b876f437
5 changed files with 105 additions and 2 deletions

View File

@ -41,6 +41,11 @@ need_glib = (need_gtk or
get_option('sysprofd') != 'none' or
get_option('agent'))
# Determine what libraries to build
need_libsysprof_capture = true
need_libsysprof_profile = get_option('libsysprof') or get_option('agent')
need_libsysprof_analyze = get_option('libsysprof') or get_option('agent')
glib_req = '2.76.0'
gtk_req = '4.10'
polkit_req = '0.105'