diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-10-04 12:50:09 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-16 08:51:11 -0700 |
| commit | 94f925404b9a1edaf98c46be0c22e04231c5ac77 (patch) | |
| tree | 1eb99ab9a4c568a11332eae6cfbd496f1081bc49 /mesonbuild/backend | |
| parent | 41a8d31b8a25884501b8ab071915e6b24a648add (diff) | |
| download | meson-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')
| -rw-r--r-- | mesonbuild/backend/backends.py | 2 |
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) |
