'util/u_debug_image.h',
'util/u_debug_refcnt.c',
'util/u_debug_refcnt.h',
- 'util/u_debug_stack.c',
'util/u_debug_stack.h',
'util/u_debug_symbol.c',
'util/u_debug_symbol.h',
'nir/nir_draw_helpers.h',
)
+if with_platform_android
+ files_libgallium += files(
+ 'util/u_debug_stack_android.cpp',
+ )
+else
+ files_libgallium += files(
+ 'util/u_debug_stack.c',
+ )
+endif
+
if dep_libdrm.found()
files_libgallium += files(
'renderonly/renderonly.c',