meson: Only require libexpat when a part of the build needs it.
authorEric Anholt <eric@anholt.net>
Mon, 19 Oct 2020 19:28:17 +0000 (12:28 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 20 Oct 2020 18:16:26 +0000 (18:16 +0000)
commit81a0f1eca24b8605b9f2506122ff90db7129c39e
treefee1564fdeb96412d60c9c5f299865f1a8849718
parent442a7696004c5998d84a3df07d37fa9064dba214
meson: Only require libexpat when a part of the build needs it.

Now that xmlconfig can be built without libexpat on Android, we can make
android builds not require the presence of libexpat for many drivers.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7223>
meson.build
src/meson.build