freedreno/fdperf: add dependency on generated headers
authorRob Clark <robdclark@chromium.org>
Mon, 18 May 2020 17:14:21 +0000 (10:14 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 18 May 2020 17:53:45 +0000 (17:53 +0000)
To fix an issue reported here:
https://bugs.chromium.org/p/chromium/issues/detail?id=1083815

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5088>

src/freedreno/perfcntrs/meson.build

index 27f3b7c99f5d27a7a99d046f5f5c03d0310a4973..66ab1de44ade13cce3610cad755147cc86a81336 100644 (file)
@@ -42,7 +42,7 @@ dep_ncurses = dependency('ncurses', required : false)
 if dep_libconfig.found() and dep_ncurses.found()
   fdperf = executable(
     'fdperf',
-    'fdperf.c',
+    ['fdperf.c', freedreno_xml_header_files],
     include_directories : [
       inc_freedreno,
       inc_include,