diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-10-04 14:18:24 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-16 08:51:11 -0700 |
| commit | 3979531f160f32453365781200302066bc2f40f9 (patch) | |
| tree | 31d01430a36bba9cc56626fd156578060e4fbe32 /mesonbuild/msetup.py | |
| parent | 94f925404b9a1edaf98c46be0c22e04231c5ac77 (diff) | |
| download | meson-3979531f160f32453365781200302066bc2f40f9.tar.gz | |
build, backend: store build_def_files in Build
The interpreter's build_def_files are the only remaining piece
of interpreter state used by the backend. Compute it once
and store it in build, using a property to ensure that it's initialized
and accessed correctly.
This also removes one of the cases in which introspection uses the
interpreter object.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/msetup.py')
| -rw-r--r-- | mesonbuild/msetup.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/msetup.py b/mesonbuild/msetup.py index f1fa777d1..0e579f0d9 100644 --- a/mesonbuild/msetup.py +++ b/mesonbuild/msetup.py @@ -340,6 +340,7 @@ class MesonApp: b.devenv.append(intr.backend.get_devenv()) for mod in intr.modules.values(): mod.postconf_hook(b) + b.def_files = intr.get_build_def_files() def run_genvslite_setup(options: CMDOptions) -> None: # With --genvslite, we essentially want to invoke multiple 'setup' iterations. I.e. - |
