aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-12-04 21:28:09 -0800
committerEli Schwartz <eschwartz93@gmail.com>2022-01-18 21:58:24 -0500
commitfcf78ceb7b33c6ae32cd3e5a3aae4cc048d14ea9 (patch)
tree7a81721cdfc3926f0675115f0e3d537da72987cc /mesonbuild/modules/gnome.py
parentf85629e374ac8ba19a4993077e5a99165de2f5e2 (diff)
downloadmeson-fcf78ceb7b33c6ae32cd3e5a3aae4cc048d14ea9.zip
meson-fcf78ceb7b33c6ae32cd3e5a3aae4cc048d14ea9.tar.gz
meson-fcf78ceb7b33c6ae32cd3e5a3aae4cc048d14ea9.tar.bz2
modules/gnome: fix declared type of list
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r--mesonbuild/modules/gnome.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index f5de07d..1932695 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -1958,7 +1958,7 @@ class GnomeModule(ExtensionModule):
KwargInfo('packages', ContainerTypeInfo(list, (str, InternalDependency)), listify=True, default=[]),
)
def generate_vapi(self, state: 'ModuleState', args: T.Tuple[str], kwargs: 'GenerateVapi') -> ModuleReturnValue:
- created_values: T.List[Dependency] = []
+ created_values: T.List[T.Union[Dependency, build.Data]] = []
library = args[0]
build_dir = os.path.join(state.environment.get_build_dir(), state.subdir)
source_dir = os.path.join(state.environment.get_source_dir(), state.subdir)