summaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-10-04 12:50:09 +0200
committerDylan Baker <dylan@pnwbakers.com>2025-10-16 08:51:11 -0700
commit94f925404b9a1edaf98c46be0c22e04231c5ac77 (patch)
tree1eb99ab9a4c568a11332eae6cfbd496f1081bc49 /mesonbuild/backend/backends.py
parent41a8d31b8a25884501b8ab071915e6b24a648add (diff)
downloadmeson-94f925404b9a1edaf98c46be0c22e04231c5ac77.tar.gz
build: do not pass Interpreter to Generator.process_files
All that is needed is the subdir, pass it explicitly (and make it an optional argument so that the backend does not have to pass it). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index b2d4e5a00..31082ddc6 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -2038,7 +2038,7 @@ class Backend:
exe, args + commands.to_native(),
[output_templ], depfile='@PLAINNAME@.d',
depends=depends)
- return generator.process_files(sources, self.interpreter)
+ return generator.process_files(sources)
def compile_target_to_generator(self, target: build.CompileTarget) -> build.GeneratedList:
all_sources = T.cast('_ALL_SOURCES_TYPE', target.sources) + T.cast('_ALL_SOURCES_TYPE', target.generated)