meson: avoid using deprecated build_root() method
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 25 Jan 2023 14:53:18 +0000 (15:53 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 27 Jan 2023 11:35:50 +0000 (11:35 +0000)
commitd54c8a47c677c39e8616d44896c17c36f72089f6
tree517312bb9baac12cc8d4cdb24ae091dc0ce397e3
parentb2d5a653f45fe89f4c5fef413177bda398150ce6
meson: avoid using deprecated build_root() method

The meson.build_root() method has been deprecated, so let's switch to
meson.project_build_root(), which usually means the same thing. The case
where it doesn't do the same thing is if Mesa is a subproject to some
other project, but in that case I believe we want the build root of Mesa,
not of the parent project anyway.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20907>
src/amd/compiler/tests/meson.build