mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
Rename the profiler option
We don't support any profilers other than sysprof, so name the option accordingly. While we are at it, change it to a meson feature option, so -Dprofiler=true becomes -Dsysprof=enabled
This commit is contained in:
parent
81e88c1d9e
commit
e915a1aa7f
@ -74,7 +74,7 @@ fedora-x86_64:
|
||||
script:
|
||||
- meson subprojects update
|
||||
- meson ${COMMON_MESON_FLAGS} ${EXTRA_MESON_FLAGS} ${BACKEND_FLAGS} ${FEATURE_FLAGS}
|
||||
-Dprofiler=true
|
||||
-Dsysprof=enabled
|
||||
_build
|
||||
- ninja -C _build
|
||||
- .gitlab-ci/run-tests.sh _build x11
|
||||
|
@ -701,7 +701,7 @@ if cloudproviders_enabled
|
||||
endif
|
||||
endif
|
||||
|
||||
profiler_enabled = get_option('profiler')
|
||||
profiler_enabled = get_option('sysprof').enabled()
|
||||
if profiler_enabled
|
||||
# libsysprof-capture support
|
||||
libsysprof_capture_dep = dependency('sysprof-capture-4',
|
||||
@ -891,7 +891,7 @@ summary('Print backends', print_backends)
|
||||
summary('Media backends', media_backends)
|
||||
summary('Vulkan support', have_vulkan)
|
||||
summary('Cloud support', get_option('cloudproviders'))
|
||||
summary('Profiler', get_option('profiler'))
|
||||
summary('Sysprof support', get_option('sysprof').enabled())
|
||||
summary('Colord support', get_option('colord'))
|
||||
|
||||
# Build
|
||||
|
@ -23,8 +23,12 @@ option('xinerama', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto
|
||||
description : 'Enable support for the Xinerama extension')
|
||||
option('cloudproviders', type: 'boolean', value: false,
|
||||
description : 'Enable the cloudproviders support')
|
||||
option('profiler', type: 'boolean', value: false,
|
||||
description : 'Enable profiler support')
|
||||
|
||||
option('sysprof',
|
||||
type: 'feature',
|
||||
value: 'disabled',
|
||||
description : 'include tracing support for sysprof')
|
||||
|
||||
option('tracker3', type: 'boolean', value: false,
|
||||
description : 'Enable Tracker3 filechooser search')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user