gjs: add profiler support
Necessary to be able to use Sysprof for profiling GJS apps such as GNOME Shell:
105c0a44b1/doc/Profiling.md
https://blogs.gnome.org/chergert/2020/03/15/how-to-use-sysprof-to-part-ii/
This commit is contained in:
parent
850f0993e5
commit
20390cad8a
1 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
||||||
, pango
|
, pango
|
||||||
, cairo
|
, cairo
|
||||||
, readline
|
, readline
|
||||||
|
, libsysprof-capture
|
||||||
, glib
|
, glib
|
||||||
, libxml2
|
, libxml2
|
||||||
, dbus
|
, dbus
|
||||||
|
@ -60,6 +61,7 @@ in stdenv.mkDerivation rec {
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
cairo
|
cairo
|
||||||
readline
|
readline
|
||||||
|
libsysprof-capture
|
||||||
spidermonkey_91
|
spidermonkey_91
|
||||||
dbus # for dbus-run-session
|
dbus # for dbus-run-session
|
||||||
];
|
];
|
||||||
|
@ -73,7 +75,6 @@ in stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dprofiler=disabled"
|
|
||||||
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
|
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue