aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-05-04 11:34:50 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2021-05-19 23:28:17 +0300
commit189545c2a82621641d1c239c4066c132d2035f1a (patch)
treec053dc3c19f8773940f993d5e744b937b073a1e4 /mesonbuild
parent0fd907a8cc729d75dfb85820dc8b84c41a5bb8be (diff)
downloadmeson-189545c2a82621641d1c239c4066c132d2035f1a.zip
meson-189545c2a82621641d1c239c4066c132d2035f1a.tar.gz
meson-189545c2a82621641d1c239c4066c132d2035f1a.tar.bz2
build: annotate can_compile_remove_sources
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/build.py2
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):