summaryrefslogtreecommitdiff
path: root/mesonbuild/programs.py
diff options
context:
space:
mode:
authorXavier Claessens <xclaessens@netflix.com>2025-10-12 10:20:47 -0400
committerXavier Claessens <xclaesse@gmail.com>2025-10-15 12:15:39 -0400
commitbd33265b04ca609afe6bb895453c5757bbbbb27d (patch)
tree03b87a92694d2f7821612f6405540cc0e044ab6d /mesonbuild/programs.py
parent4795475595ef6b87074df9e38d09a3dff2690396 (diff)
downloadmeson-bd33265b04ca609afe6bb895453c5757bbbbb27d.tar.gz
Replace OverrideExecutable and OverrideProgram with LocalProgram
Diffstat (limited to 'mesonbuild/programs.py')
-rw-r--r--mesonbuild/programs.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/mesonbuild/programs.py b/mesonbuild/programs.py
index 0abf09720..80acb98c8 100644
--- a/mesonbuild/programs.py
+++ b/mesonbuild/programs.py
@@ -357,17 +357,6 @@ class NonExistingExternalProgram(ExternalProgram): # lgtm [py/missing-call-to-i
return False
-class OverrideProgram(ExternalProgram):
-
- """A script overriding a program."""
-
- def __init__(self, name: str, version: str, command: T.Optional[T.List[str]] = None,
- silent: bool = False, search_dirs: T.Optional[T.List[T.Optional[str]]] = None,
- exclude_paths: T.Optional[T.List[str]] = None):
- super().__init__(name, command=command, silent=silent,
- search_dirs=search_dirs, exclude_paths=exclude_paths)
- self.cached_version = version
-
def find_external_program(env: 'Environment', for_machine: MachineChoice, name: str,
display_name: str, default_names: T.List[str],
allow_default_for_cross: bool = True,