[mutter/wip/carlosg/libmutter-dep-sources: 6/6] build: Do not provide built sources as libmutter_dep sources




commit 4e9a2e479969973bf3063c740ceff149036b3af4
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Sep 30 01:21:23 2020 +0200

    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 8fe484ec2d..e7c99caeed 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]