From a20aca34bbd913056998a64c17ab5bf8523a4a55 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Sun, 2 Feb 2025 18:05:31 -0800 Subject: build: Add a property for depend_files to CustomTargetIndex So that it can meet it's interface requirements. --- mesonbuild/build.py | 4 ++++ 1 file changed, 4 insertions(+) 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 ''.format(self.target, self.output) -- cgit v1.2.3