Lines Matching full:binary
18 def __init__(self, binary: Binary, platform: Platform): argument
19 self.binary = binary
24 return (f"Could not find binary '{self.binary}' on {self.platform}. "
25 f"Please install {self.binary.name} or use the "
26 f"--bin-{self.binary.name} "
32 def __init__(self, binary: Binary, platform: Platform, expected: str): argument
34 super().__init__(binary, platform)
37 return (f"Could not find binary '{self.binary}' on {self.platform}. "
44 class Binary: class
45 """A binary abstraction for multiple platforms.
47 For platform-specific binaries use subclasses of Binary."""
66 raise ValueError("At least one platform binary must be provided")
75 raise ValueError("Got unexpected empty string as binary path")
84 raise ValueError(f"Windows binary {path} should have '.exe' suffix")
99 for binary in self.platform_path(platform):
100 binary_path = platform.path(binary)
130 class PosixBinary(Binary):
140 class MacOsBinary(Binary):
150 class LinuxBinary(Binary):
160 class AndroidBinary(Binary):
170 class WinBinary(Binary):
182 FFMPEG = Binary("ffmpeg", posix="ffmpeg")
183 GCERTSTATUS = Binary("gcertstatus", posix="gcertstatus")
184 GO = Binary("go", posix="go")
185 GSUTIL = Binary("gsutil", posix="gsutil")
187 MONTAGE = Binary("montage", posix="montage")
191 PYTHON3 = Binary("python3", default="python3", win="python3.exe")
200 FIREFOX_STABLE = Binary(
205 FIREFOX_DEV = Binary(
210 FIREFOX_NIGHTLY = Binary(