mesa3d/meson_to_hermetic
setup-venv.sh
file to automatically create a python3 venv and install dependencies.lint.sh
to automatically lint all of the python scripts.meson_to_hermetic
directory.generate_python_build.py: reads meson.build files (following subdir() commands) and uses meson2python to transform the meson into python.
meson2python.py: passes meson.build input and the meson grammar to python lark to perform lexing and parsing; then transforms the parse tree into valid python. The result is one large python script.
meson_android.py defines the meson API entry points and emits Android.bp build constructs. A config file is read to determine some build parameters such as cpu_family
(similar to meson's cross file).
Meson build options must be set by modifying the defaults in meson_options.txt.