From 4e9a2e479969973bf3063c740ceff149036b3af4 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 30 Sep 2020 01:21:23 +0200 Subject: [PATCH] build: Do not provide built sources as libmutter_dep sources This is essentially a revert of https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/326. This commit had the unintended side effect that the built sources are actually rebuilt for every individual user of libmutter_dep. With there being more tests and generated files, the number of targets to build is increasing squarely. Not doing this reduces the number of targets from 2044 to 874, thus saving man hours and CI burnt cycles in the long run. There's the slight risk of reintroducing the random build breaks, but mutter is essentially doing as suggested at https://github.com/mesonbuild/meson/issues/1084 (the only difference being addressed in the previous commit), so meson ought to behave as expected. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1458 --- src/meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 8fe484ec2..e7c99caee 100644 --- a/src/meson.build +++ b/src/meson.build @@ -955,7 +955,6 @@ libmutter = shared_library(libmutter_name, libmutter_dep = declare_dependency( link_with: libmutter, include_directories: mutter_includes, - sources: mutter_built_sources, dependencies: [ libmutter_cogl_dep, libmutter_clutter_dep,