diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-01-14 14:57:35 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-01-29 09:11:24 -0800 |
commit | 32240d4276cd47172f250579b2560fd1438479f2 (patch) | |
tree | b0ac5b635a27f9b13f4267856731c08efc261e0f | |
parent | 4fc71e05c40e00f2939db6f5ffc0cc6d7af32a55 (diff) | |
download | meson-32240d4276cd47172f250579b2560fd1438479f2.zip meson-32240d4276cd47172f250579b2560fd1438479f2.tar.gz meson-32240d4276cd47172f250579b2560fd1438479f2.tar.bz2 |
dependencies: Add comment to the packages dict
-rw-r--r-- | mesonbuild/dependencies/__init__.py | 5 |
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, |