aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-01-14 14:57:35 -0800
committerDylan Baker <dylan@pnwbakers.com>2020-01-29 09:11:24 -0800
commit32240d4276cd47172f250579b2560fd1438479f2 (patch)
treeb0ac5b635a27f9b13f4267856731c08efc261e0f
parent4fc71e05c40e00f2939db6f5ffc0cc6d7af32a55 (diff)
downloadmeson-32240d4276cd47172f250579b2560fd1438479f2.zip
meson-32240d4276cd47172f250579b2560fd1438479f2.tar.gz
meson-32240d4276cd47172f250579b2560fd1438479f2.tar.bz2
dependencies: Add comment to the packages dict
-rw-r--r--mesonbuild/dependencies/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/__init__.py b/mesonbuild/dependencies/__init__.py
index c8143b9..d961117 100644
--- a/mesonbuild/dependencies/__init__.py
+++ b/mesonbuild/dependencies/__init__.py
@@ -33,6 +33,11 @@ from .platform import AppleFrameworks
from .ui import GnuStepDependency, Qt4Dependency, Qt5Dependency, WxDependency, gl_factory, sdl2_factory, vulkan_factory
+# This is a dict where the keys should be strings, and the values must be one
+# of:
+# - An ExternalDependency subclass
+# - A DependencyFactory object
+# - A callable with a signature of (Environment, MachineChoice, Dict[str, Any]) -> List[Callable[[], DependencyType]]
packages.update({
# From dev:
'gtest': gtest_factory,