util: Move u_debug to utils
authorDylan Baker <dylan@pnwbakers.com>
Mon, 1 Oct 2018 18:55:27 +0000 (11:55 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 30 Oct 2018 21:32:52 +0000 (14:32 -0700)
Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/meson.build
src/gallium/auxiliary/util/u_cpu_detect.c
src/gallium/auxiliary/util/u_debug_stack.c
src/gallium/auxiliary/util/u_debug_symbol.c
src/gallium/auxiliary/util/u_format_zs.c
src/gallium/auxiliary/util/u_log.h
src/util/Makefile.sources
src/util/meson.build
src/util/u_debug.c [moved from src/gallium/auxiliary/util/u_debug.c with 100% similarity]
src/util/u_debug.h [moved from src/gallium/auxiliary/util/u_debug.h with 100% similarity]

index 75df7d0..72cf2ec 100644 (file)
@@ -224,8 +224,6 @@ C_SOURCES := \
        util/u_cache.h \
        util/u_cpu_detect.c \
        util/u_cpu_detect.h \
-       util/u_debug.c \
-       util/u_debug.h \
        util/u_debug_gallium.h \
        util/u_debug_gallium.c \
        util/u_debug_describe.c \
index 9c158b6..1b5eb4d 100644 (file)
@@ -244,8 +244,6 @@ files_libgallium = files(
   'util/u_cache.h',
   'util/u_cpu_detect.c',
   'util/u_cpu_detect.h',
-  'util/u_debug.c',
-  'util/u_debug.h',
   'util/u_debug_gallium.h',
   'util/u_debug_gallium.c',
   'util/u_debug_describe.c',
index 751443f..4dbb4d8 100644 (file)
@@ -34,7 +34,7 @@
 
 #include "pipe/p_config.h"
 
-#include "u_debug.h"
+#include "util/u_debug.h"
 #include "u_cpu_detect.h"
 #include "c11/threads.h"
 
index b1d4cfe..235e116 100644 (file)
@@ -32,7 +32,7 @@
  * @author Jose Fonseca <jfonseca@vmware.com>
  */
 
-#include "u_debug.h"
+#include "util/u_debug.h"
 #include "u_debug_symbol.h"
 #include "u_debug_stack.h"
 
index 8476043..22e6c8c 100644 (file)
@@ -36,7 +36,7 @@
 #include "os/os_thread.h"
 #include "util/u_string.h"
 
-#include "u_debug.h"
+#include "util/u_debug.h"
 #include "u_debug_symbol.h"
 #include "u_hash_table.h"
 
index 4b801d2..ff58476 100644 (file)
@@ -26,7 +26,6 @@
  **************************************************************************/
 
 
-#include "u_debug.h"
 #include "u_format_zs.h"
 #include "util/u_math.h"
 
index 09c47ca..90f5d0f 100644 (file)
@@ -47,7 +47,7 @@
 
 #include <stdio.h>
 
-#include "u_debug.h"
+#include "util/u_debug.h"
 
 struct u_log_page;
 struct u_log_auto_logger;
index b1dad51..af2ad85 100644 (file)
@@ -68,6 +68,8 @@ MESA_UTIL_FILES := \
        u_thread.h \
        u_vector.c \
        u_vector.h \
+       u_debug.c \
+       u_debug.h \
        vma.c \
        vma.h
 
index cf173ee..3b84f41 100644 (file)
@@ -92,6 +92,8 @@ files_mesa_util = files(
   'u_vector.h',
   'u_math.c',
   'u_math.h',
+  'u_debug.c',
+  'u_debug.h',
   'vma.c',
   'vma.h',
 )