diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-10-05 16:40:09 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-10-28 13:06:52 +0300 |
commit | 2fe3271f773cb4207967271b4a8fb8daa131e4c8 (patch) | |
tree | 6f37a4f1719be7df24a85be119a1792f766692eb /unittests/linuxliketests.py | |
parent | e68fcac919b332c7f9469672a243d2aab1bfea0a (diff) | |
download | meson-2fe3271f773cb4207967271b4a8fb8daa131e4c8.zip meson-2fe3271f773cb4207967271b4a8fb8daa131e4c8.tar.gz meson-2fe3271f773cb4207967271b4a8fb8daa131e4c8.tar.bz2 |
gnome: allow custom targets as gdbus-codegen inputs
Custom targets as sources to `gnome.gdbus_codegen` worked until version 0.60
of Meson, but broke in 0.61 because of the conversion to typed_pos_args
and typed_kwargs. Reinstate this by adding custom targets to the
decorators and annotations.
While generators also used to work, they are a bit tricky because
gdbus_codegen desugars to two custom_targets and therefore the generator
is invoked twice. This should not be a problem, but be explicit and
leave that to a separate commit to highlight the problem.
Fixes: 53a187ba2 ("modules/gnome: use typed_pos_args for gdbus_codegen", 2021-11-01)
Fixes: ef52e6093 ("modules/gnome: use typed_kwargs for gdbus_codegen", 2021-11-08)
Diffstat (limited to 'unittests/linuxliketests.py')
0 files changed, 0 insertions, 0 deletions