diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-06-02 16:05:49 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-06-08 23:19:09 +0300 |
commit | f235b814c3a60095e2a086ef5e8b1d775318415d (patch) | |
tree | 9ea31fd1aa368e43528e31c098eb0c8db4c2bacb /mesonbuild/build.py | |
parent | d0a0e04c987ea92473073f9c3017fe648fc59f04 (diff) | |
download | meson-f235b814c3a60095e2a086ef5e8b1d775318415d.zip meson-f235b814c3a60095e2a086ef5e8b1d775318415d.tar.gz meson-f235b814c3a60095e2a086ef5e8b1d775318415d.tar.bz2 |
build: Fix annotations for CustomTarget
and fix a bug in the backend that the correct annotations uncover
Diffstat (limited to 'mesonbuild/build.py')
-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 7b8966b..05a3cea 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -2529,7 +2529,7 @@ class CustomTarget(Target, CommandBase): def get_filename(self) -> str: return self.outputs[0] - def get_sources(self) -> T.List[T.Union[str, File, 'CustomTarget', 'CustomTargetIndex', 'GeneratedList', 'ExtractedObjects']]: + def get_sources(self) -> T.List[T.Union[str, File, BuildTarget, GeneratedTypes, ExtractedObjects, programs.ExternalProgram]]: return self.sources def get_generated_lists(self) -> T.List[GeneratedList]: |