summaryrefslogtreecommitdiff
path: root/libdebug
diff options
context:
space:
mode:
authorNaseer Ahmed <naseer@codeaurora.org>2018-04-12 12:59:32 -0400
committerDileep Marchya <dmarchya@codeaurora.org>2018-04-18 21:25:01 +0530
commit3938c6c929756add9184438b1a3d38aa37e51bb7 (patch)
tree4aa895f6981c7994e55fb3af86a5de4daa47ae41 /libdebug
parent2d5864428b46a99daed9dd596ae7f37ec50ebda1 (diff)
display: libdisplaydebug fixes
* Remove kernel includes * Fix warning/info/debug tags Change-Id: Ibdf18b15bdf025fbbab4b2c3ba2670b253f2edb7
Diffstat (limited to 'libdebug')
-rw-r--r--libdebug/Android.mk2
-rw-r--r--libdebug/debug_handler.h6
2 files changed, 3 insertions, 5 deletions
diff --git a/libdebug/Android.mk b/libdebug/Android.mk
index 3e7ce25d..e975a22a 100644
--- a/libdebug/Android.mk
+++ b/libdebug/Android.mk
@@ -4,11 +4,9 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libdisplaydebug
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_TAGS := optional
-LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
LOCAL_SHARED_LIBRARIES := libdl
LOCAL_CFLAGS := -DLOG_TAG=\"SDM\" -Wall -std=c++11 -Werror -fno-operator-names
LOCAL_CLANG := true
-LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
LOCAL_SRC_FILES := debug_handler.cpp
LOCAL_COPY_HEADERS_TO := qcom/display
LOCAL_COPY_HEADERS := debug_handler.h
diff --git a/libdebug/debug_handler.h b/libdebug/debug_handler.h
index 0ae5c284..0b059f7f 100644
--- a/libdebug/debug_handler.h
+++ b/libdebug/debug_handler.h
@@ -47,9 +47,9 @@
#define DLOGV_IF(tag, format, ...) DLOG_IF(tag, Verbose, format, ##__VA_ARGS__)
#define DLOGE(format, ...) DLOG(Error, format, ##__VA_ARGS__)
-#define DLOGD(format, ...) DLOG(Warning, format, ##__VA_ARGS__)
-#define DLOGW(format, ...) DLOG(Info, format, ##__VA_ARGS__)
-#define DLOGI(format, ...) DLOG(Debug, format, ##__VA_ARGS__)
+#define DLOGD(format, ...) DLOG(Debug, format, ##__VA_ARGS__)
+#define DLOGW(format, ...) DLOG(Warning, format, ##__VA_ARGS__)
+#define DLOGI(format, ...) DLOG(Info, format, ##__VA_ARGS__)
#define DLOGV(format, ...) DLOG(Verbose, format, ##__VA_ARGS__)
#define DTRACE_BEGIN(custom_string) display::DebugHandler::Get()->BeginTrace( \