]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
dbus: glib is only used in the test suite
authorRoss Burton <ross.burton@arm.com>
Mon, 4 Aug 2025 19:54:25 +0000 (20:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Aug 2025 09:43:42 +0000 (10:43 +0100)
commitf8908b147d888426811356d7ccd7547f3519fe29
tree613bb61b3d45b6dd4c16e8e328a5dbc66f313a60
parentf7417aa1629b5f2276e39a382485b9ff25b0fe4a
dbus: glib is only used in the test suite

The glib/gio libraries are only used in a few of the tests:

$ grep use_glib
meson.build:use_glib = glib.found() and gio.found()
test/meson.build:if use_glib
test/meson.build:if message_bus and tools and platform_unix and use_glib
test/meson.build:if use_glib
test/meson.build:if message_bus and tools and platform_unix and use_glib

So there's no need to depend on glib if we're not building the tests.
Explicitly enable/disable the modular tests option to ensure that when
the tests are not being installed we don't still need glib to build them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus_1.16.2.bb