

def get_target_filename(self, target):
    targetdir = self.get_target_dir(target)
    fname = target.get_filename()
    if isinstance(fname, list):
        fname = fname[0]
    filename = os.path.join(targetdir, fname)
    return filename

dataset/ETHPy150Open mesonbuild/meson/mesonbuild/backend/backends.py Backend.get_target_filename/original