

def flatten_object_list(self, target, proj_dir_to_build_root=''):
    obj_list = []
    for obj in target.get_objects():
        if isinstance(obj, str):
            o = os.path.join(proj_dir_to_build_root, self.build_to_src, target.get_subdir(), obj)
            obj_list.append(o)
        elif isinstance(obj, build.ExtractedObjects):
            obj_list += self.determine_ext_objs(obj, proj_dir_to_build_root)
        else:
            raise MesonException('Unknown data type in object list.')
    return self

dataset/ETHPy150Open mesonbuild/meson/mesonbuild/backend/backends.py Backend.flatten_object_list/VarMisuse@110/166 `obj_list`->`self`