aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-12-06 13:02:47 -0800
committerEli Schwartz <eschwartz93@gmail.com>2022-01-18 21:58:24 -0500
commit26722f8e44292d87e5a42874132df1c6c37f68b9 (patch)
tree3d98fca67973463382f37263886e7fcb18d69735
parent0dd720a014b2fb70b4899ca23ebe55684b736b77 (diff)
downloadmeson-26722f8e44292d87e5a42874132df1c6c37f68b9.zip
meson-26722f8e44292d87e5a42874132df1c6c37f68b9.tar.gz
meson-26722f8e44292d87e5a42874132df1c6c37f68b9.tar.bz2
modules/gnome: fix _get_build_args type annotations
-rw-r--r--mesonbuild/modules/gnome.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index 44f5f07..c335617 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -1437,7 +1437,8 @@ class GnomeModule(ExtensionModule):
def _get_build_args(self, c_args: T.List[str], inc_dirs: T.List[T.Union[str, build.IncludeDirs]],
deps: T.List[T.Union[Dependency, build.SharedLibrary, build.StaticLibrary]],
- state: 'ModuleState', depends: T.List[build.BuildTarget]) -> T.List[str]:
+ state: 'ModuleState',
+ depends: T.Sequence[T.Union[build.BuildTarget, 'build.GeneratedTypes']]) -> T.List[str]:
args: T.List[str] = []
cflags = c_args.copy()
deps_cflags, internal_ldflags, external_ldflags, *_ = \