diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-02-02 18:05:31 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-03 08:53:12 -0700 |
| commit | a20aca34bbd913056998a64c17ab5bf8523a4a55 (patch) | |
| tree | 2d8cb6f2aace09055f0f040a56ad6a707e1a39c2 | |
| parent | a9146b2517e34e59328bc5b9bbffae1f3407ec04 (diff) | |
| download | meson-a20aca34bbd913056998a64c17ab5bf8523a4a55.tar.gz | |
build: Add a property for depend_files to CustomTargetIndex
So that it can meet it's interface requirements.
| -rw-r--r-- | mesonbuild/build.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 2a69eef36..677027201 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -3254,6 +3254,10 @@ class CustomTargetIndex(CustomTargetBase, HoldableObject): def name(self) -> str: return f'{self.target.name}[{self.output}]' + @property + def depend_files(self) -> T.List[File]: + return self.target.depend_files + def __repr__(self): return '<CustomTargetIndex: {!r}[{}]>'.format(self.target, self.output) |
