aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-11-30 14:56:33 -0500
committerEli Schwartz <eschwartz@archlinux.org>2021-12-07 19:47:12 -0500
commit1e5d7f212246e967f3473a55f632f6f5eda87b65 (patch)
treee1d93ad13f61bd4a0495c76a948e034297128131 /mesonbuild/backend/backends.py
parentd9c73a6a7b397d85f2efd84cdcfb82f66a94ef79 (diff)
downloadmeson-1e5d7f212246e967f3473a55f632f6f5eda87b65.zip
meson-1e5d7f212246e967f3473a55f632f6f5eda87b65.tar.gz
meson-1e5d7f212246e967f3473a55f632f6f5eda87b65.tar.bz2
custom_target: catch and reject input files that do not exist
Currently there is a try/except around the function that detects and rejects this, which instead of rejecting it, spawns a warning and continue. This warning exists because of 'test cases/vala/9 gir/' which passes a vala generated output that isn't a return value (!!!) using string joining with the meson.current_build_dir() function (also !!!) because we officially document this (!!! for a third time) as the only way to make a vala shared library generate a typelib with a custom_command from the automatically generated gir: https://mesonbuild.com/Vala.html#gobject-introspection-and-language-bindings In #3061 we converted strings to Files, but only if none of them were this vala hack. Due to the precise implementation, we also failed to convert strings to Files if any other error occurred, but since we only want to ignore errors for generated vala outputs, tighten that check and specifically call out generated files in the warning. Fixes #8635
Diffstat (limited to 'mesonbuild/backend/backends.py')
0 files changed, 0 insertions, 0 deletions