mirror of https://gitlab.freedesktop.org/mesa/mesa
I've re-written this in bash a couple times over the years, and then I realised python is much more portable and already required by Mesa, so we might as well make use of it. I decided to still use the build system's NM instead of re-implementing symbols extraction, to offload the complexity of keeping it compatible with many systems (Linux, Unix, BSD, MacOS, etc.), especially when cross-building. This new script checks not only that nothing is exported when it shouldn't be, but also that everything that should be exported is. Sometimes, some symbols _can_ be exported but don't have to be, in which case they can be prefixed with `(optional)`. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> |
||
---|---|---|
.. | ||
.editorconfig | ||
bugzilla_mesa.sh | ||
get-extra-pick-list.sh | ||
get-pick-list.sh | ||
git_sha1_gen.py | ||
install_megadrivers.py | ||
meson-cmd-extract.py | ||
meson-options.py | ||
meson.build | ||
meson_get_version.py | ||
perf-annotate-jit.py | ||
shortlog_mesa.sh | ||
symbols-check.py |