summaryrefslogtreecommitdiff
path: root/mesonbuild/programs.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2022-12-09 15:26:06 +0200
committerGitHub <noreply@github.com>2022-12-09 15:26:06 +0200
commit2ec3fe7a4af5bd4d8a83947d675f9233805f3dfd (patch)
tree57c5fa9c668d8488042a6b71282c1035996cce0e /mesonbuild/programs.py
parent7b2c47eb45e7a5b4787e89a6b6f98a8753868d1a (diff)
parent09cbc53f57f63709c952333fe7d7950926dff7b7 (diff)
downloadmeson-2ec3fe7a4af5bd4d8a83947d675f9233805f3dfd.tar.gz
Merge pull request #10990 from xclaesse/devenv
devenv: various improvements
Diffstat (limited to 'mesonbuild/programs.py')
-rw-r--r--mesonbuild/programs.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/mesonbuild/programs.py b/mesonbuild/programs.py
index 458fabac9..1d616aaf9 100644
--- a/mesonbuild/programs.py
+++ b/mesonbuild/programs.py
@@ -345,25 +345,6 @@ class NonExistingExternalProgram(ExternalProgram): # lgtm [py/missing-call-to-i
return False
-class EmptyExternalProgram(ExternalProgram): # lgtm [py/missing-call-to-init]
- '''
- A program object that returns an empty list of commands. Used for cases
- such as a cross file exe_wrapper to represent that it's not required.
- '''
-
- def __init__(self) -> None:
- self.name = None
- self.command = []
- self.path = None
-
- def __repr__(self) -> str:
- r = '<{} {!r} -> {!r}>'
- return r.format(self.__class__.__name__, self.name, self.command)
-
- def found(self) -> bool:
- return True
-
-
class OverrideProgram(ExternalProgram):
"""A script overriding a program."""