meson_exe: Remove two unused functions

pull/7672/head
Christoph Reiter 4 years ago committed by Jussi Pakkanen
parent efaa752009
commit da1b6d0a9f
  1. 9
      mesonbuild/scripts/meson_exe.py

@ -16,7 +16,6 @@ import os
import sys import sys
import argparse import argparse
import pickle import pickle
import platform
import subprocess import subprocess
from .. import mesonlib from .. import mesonlib
@ -30,14 +29,6 @@ def buildparser():
parser.add_argument('--capture') parser.add_argument('--capture')
return parser return parser
def is_windows():
platname = platform.system().lower()
return platname == 'windows' or 'mingw' in platname
def is_cygwin():
platname = platform.system().lower()
return 'cygwin' in platname
def run_exe(exe): def run_exe(exe):
if exe.exe_runner: if exe.exe_runner:
if not exe.exe_runner.found(): if not exe.exe_runner.found():

Loading…
Cancel
Save