From 0efa976f976f8b28a163cd8f9013dcece92621bb Mon Sep 17 00:00:00 2001 From: Naseer Ahmed Date: Thu, 12 Apr 2018 12:59:32 -0400 Subject: [PATCH] display: libdisplaydebug fixes * Remove kernel includes * Fix warning/info/debug tags Change-Id: Ibdf18b15bdf025fbbab4b2c3ba2670b253f2edb7 --- libdebug/Android.mk | 2 -- libdebug/debug_handler.h | 6 +++--- 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( \