diff options
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/machinefile.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mesonbuild/machinefile.py b/mesonbuild/machinefile.py new file mode 100644 index 0000000..18162ef --- /dev/null +++ b/mesonbuild/machinefile.py @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2013-2024 Contributors to the The Meson project + +from . import mlog + +class MachineFile: + def __init__(self, fname): + with open(fname, encoding='utf-8') as f: + pass + self.stuff = None + +class MachineFileStore: + def __init__(self, native_files, cross_files): + self.native = [MachineFile(x) for x in native_files] + self.cross = [MachineFile(x) for x in cross_files] |