scripts/unit-test(meson): Enforce stricter build requirements

Since meson allows us to easily provide stricter warning levels and
treating warnings as errors as build options, we should require that our
builds meet those requirements. This does tighter verification on the
meson build file itself and enables -Wall -Wpedantic -Werror on C / C++
builds.

This is only done for meson since it has almost no adoption yet, making
it easy to enforce early.

Tested:
    Ran against meson enabled projects and they still build as expected.

Change-Id: I5ecbeedeb753a6b855cceabe45238e95deed98db
Signed-off-by: William A. Kennington III <wak@google.com>
1 file changed