diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-06-29 12:41:50 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-07-11 11:53:39 +0300 |
| commit | 8e3f609e730645ca37dcb2a4291bd6514ccea2f3 (patch) | |
| tree | 4d983ae6943164b18b8976bf0917185e030567d4 /mesonbuild/utils/universal.py | |
| parent | 1a458aacb407e3893b7e832a7a3f75e581c5e3f4 (diff) | |
| download | meson-8e3f609e730645ca37dcb2a4291bd6514ccea2f3.tar.gz | |
Move project option detection into OptionStore.
Diffstat (limited to 'mesonbuild/utils/universal.py')
| -rw-r--r-- | mesonbuild/utils/universal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/utils/universal.py b/mesonbuild/utils/universal.py index 21173f5df..080f2a76d 100644 --- a/mesonbuild/utils/universal.py +++ b/mesonbuild/utils/universal.py @@ -2399,8 +2399,8 @@ class OptionKey: """Convenience method to check if this is a builtin option.""" return self.type is OptionType.COMPILER - def is_project(self) -> bool: - """Convenience method to check if this is a project option.""" + def is_project_hack_for_optionsview(self) -> bool: + """This method will be removed once we can delete OptionsView.""" return self.type is OptionType.PROJECT def is_base(self) -> bool: |
