diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-05-04 11:34:50 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-05-19 23:28:17 +0300 |
commit | 189545c2a82621641d1c239c4066c132d2035f1a (patch) | |
tree | c053dc3c19f8773940f993d5e744b937b073a1e4 | |
parent | 0fd907a8cc729d75dfb85820dc8b84c41a5bb8be (diff) | |
download | meson-189545c2a82621641d1c239c4066c132d2035f1a.zip meson-189545c2a82621641d1c239c4066c132d2035f1a.tar.gz meson-189545c2a82621641d1c239c4066c132d2035f1a.tar.bz2 |
build: annotate can_compile_remove_sources
-rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 82f3a13..3a7716f 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -695,7 +695,7 @@ class BuildTarget(Target): self.generated.append(s) @staticmethod - def can_compile_remove_sources(compiler, sources): + def can_compile_remove_sources(compiler: 'Compiler', sources: T.List['FileOrString']) -> bool: removed = False for s in sources[:]: if compiler.can_compile(s): |