diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2023-05-04 00:50:34 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-06-26 13:10:33 -0400 |
| commit | a71846d7494f3035677bee5f38b3fc94fb18938b (patch) | |
| tree | f195949ff9183f7ca4e5e64685cab36f06b83f19 /mesonbuild/modules/__init__.py | |
| parent | a1ef957e349583f9affdce5b5a4f094860e91037 (diff) | |
| download | meson-a71846d7494f3035677bee5f38b3fc94fb18938b.tar.gz | |
Revert "modules: move gnome targets into gnome module"
This reverts commit a2def550c586aeba4269588e79a1a308467f2582.
This results in a 2k line file being unconditionally imported at
startup, and transitively loading two more (for a total cost of 2759
lines of code), and it's not clear it was ever needed to begin with...
Diffstat (limited to 'mesonbuild/modules/__init__.py')
| -rw-r--r-- | mesonbuild/modules/__init__.py | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/mesonbuild/modules/__init__.py b/mesonbuild/modules/__init__.py index 98ac18aee..daac9edb6 100644 --- a/mesonbuild/modules/__init__.py +++ b/mesonbuild/modules/__init__.py @@ -18,14 +18,13 @@ from __future__ import annotations import dataclasses import typing as T -from .. import mesonlib +from .. import build, mesonlib from ..build import IncludeDirs from ..interpreterbase.decorators import noKwargs, noPosargs from ..mesonlib import relpath, HoldableObject, MachineChoice from ..programs import ExternalProgram if T.TYPE_CHECKING: - from .. import build from ..interpreter import Interpreter from ..interpreter.interpreterobjects import MachineHolder from ..interpreterbase import TYPE_var, TYPE_kwargs @@ -261,3 +260,18 @@ class ModuleReturnValue: self.return_value = return_value assert isinstance(new_objects, list) self.new_objects: T.List[T.Union['TYPE_var', 'build.ExecutableSerialisation']] = new_objects + +class GResourceTarget(build.CustomTarget): + pass + +class GResourceHeaderTarget(build.CustomTarget): + pass + +class GirTarget(build.CustomTarget): + pass + +class TypelibTarget(build.CustomTarget): + pass + +class VapiTarget(build.CustomTarget): + pass |
