meson: Simplify the use of built tools
commit3c03cc8f68b5d81c7b47423b1a3be3b8c9197d1c
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Jul 2017 09:54:28 +0000 (17 10:54 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 17 Jul 2017 10:05:07 +0000 (17 11:05 +0100)
tree179d9c3604a096c82864cd879413b48d6aad4de0
parent7ee050dc4bf5187842f656889017414aa1c9a729
meson: Simplify the use of built tools

The Meson build has fallen a bit behind the Autotools one, when it comes
to the internally built tools like glib-mkenums and glib-genmarshals.

We don't need to generate gmarshal.strings any more, and since the
glib-genmarshal tool is now written in Python it can also be used when
cross-compiling, and without indirection, just like we use glib-mkenums.

We can also coalesce various rules into a simple array iteration, with
minimal changes to glib-mkenums, thus making the build a bit more
resilient and without unnecessary duplication.
gobject/glib-mkenums.in
gobject/gmarshal-list-to-strings.py [deleted file]
gobject/meson.build
gobject/tests/gobject_test_marshal.py [deleted file]
gobject/tests/meson.build
meson.build
tests/gobject/meson.build