aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/ui.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-07-02 18:44:36 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-07-02 19:52:53 +0530
commita1d9adba096589122aefc50fb9429ec0ce0432b9 (patch)
tree65711916a354df107ab4022a200855938bacd3a2 /mesonbuild/dependencies/ui.py
parent5714ba253467d84b9cd1003b99e6596b5d86f20a (diff)
downloadmeson-a1d9adba096589122aefc50fb9429ec0ce0432b9.zip
meson-a1d9adba096589122aefc50fb9429ec0ce0432b9.tar.gz
meson-a1d9adba096589122aefc50fb9429ec0ce0432b9.tar.bz2
FeatureNew: Make all checks subproject-specific
We now pass the current subproject to every FeatureNew and FeatureDeprecated call. This requires a bunch of rework to: 1. Ensure that we have access to the subproject in the list of arguments when used as a decorator (see _get_callee_args). 2. Pass the subproject to .use() when it's called manually. 3. We also can't do feature checks for new features in meson_options.txt because that's parsed before we know the meson_version from project()
Diffstat (limited to 'mesonbuild/dependencies/ui.py')
-rw-r--r--mesonbuild/dependencies/ui.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py
index 324f9fa..197d22c 100644
--- a/mesonbuild/dependencies/ui.py
+++ b/mesonbuild/dependencies/ui.py
@@ -33,7 +33,6 @@ from .base import ExternalDependency, ExternalProgram
from .base import ExtraFrameworkDependency, PkgConfigDependency
from .base import ConfigToolDependency
-from ..interpreterbase import FeatureNew
class GLDependency(ExternalDependency):
def __init__(self, environment, kwargs):
@@ -516,7 +515,6 @@ class WxDependency(ConfigToolDependency):
class VulkanDependency(ExternalDependency):
- @FeatureNew('Vulkan Dependency', '0.42.0')
def __init__(self, environment, kwargs):
super().__init__('vulkan', environment, None, kwargs)