freedreno: Add valgrind dependency.

Fix a build error.

In file included from ../src/util/u_queue.h:38,
                 from ../src/freedreno/drm/freedreno_ringbuffer.h:33,
                 from ../src/freedreno/ds/fd_pps_driver.h:13,
                 from ../src/freedreno/ds/fd_pps_driver.cc:7:
../src/util/simple_mtx.h:35:12: fatal error: valgrind.h: No such file or directory
   35 | #  include <valgrind.h>
      |            ^~~~~~~~~~~~

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13280>
This commit is contained in:
Vinson Lee 2021-10-10 15:46:21 -07:00 committed by Marge Bot
parent 0b75b88651
commit c30fb8ee4d
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ pps_freedreno_lib = static_library(
dependencies: [
dep_libdrm,
dep_perfetto,
dep_valgrind,
],
cpp_args: '-std=c++17'
)