display: libdisplaydebug fixes
* Remove kernel includes * Fix warning/info/debug tags Change-Id: Ibdf18b15bdf025fbbab4b2c3ba2670b253f2edb7
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
3e6ef5f637
commit
0efa976f97
@@ -4,11 +4,9 @@ include $(CLEAR_VARS)
|
|||||||
LOCAL_MODULE := libdisplaydebug
|
LOCAL_MODULE := libdisplaydebug
|
||||||
LOCAL_VENDOR_MODULE := true
|
LOCAL_VENDOR_MODULE := true
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
LOCAL_C_INCLUDES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
|
|
||||||
LOCAL_SHARED_LIBRARIES := libdl
|
LOCAL_SHARED_LIBRARIES := libdl
|
||||||
LOCAL_CFLAGS := -DLOG_TAG=\"SDM\" -Wall -std=c++11 -Werror -fno-operator-names
|
LOCAL_CFLAGS := -DLOG_TAG=\"SDM\" -Wall -std=c++11 -Werror -fno-operator-names
|
||||||
LOCAL_CLANG := true
|
LOCAL_CLANG := true
|
||||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
|
|
||||||
LOCAL_SRC_FILES := debug_handler.cpp
|
LOCAL_SRC_FILES := debug_handler.cpp
|
||||||
LOCAL_COPY_HEADERS_TO := qcom/display
|
LOCAL_COPY_HEADERS_TO := qcom/display
|
||||||
LOCAL_COPY_HEADERS := debug_handler.h
|
LOCAL_COPY_HEADERS := debug_handler.h
|
||||||
|
|||||||
@@ -47,9 +47,9 @@
|
|||||||
#define DLOGV_IF(tag, format, ...) DLOG_IF(tag, Verbose, format, ##__VA_ARGS__)
|
#define DLOGV_IF(tag, format, ...) DLOG_IF(tag, Verbose, format, ##__VA_ARGS__)
|
||||||
|
|
||||||
#define DLOGE(format, ...) DLOG(Error, format, ##__VA_ARGS__)
|
#define DLOGE(format, ...) DLOG(Error, format, ##__VA_ARGS__)
|
||||||
#define DLOGD(format, ...) DLOG(Warning, format, ##__VA_ARGS__)
|
#define DLOGD(format, ...) DLOG(Debug, format, ##__VA_ARGS__)
|
||||||
#define DLOGW(format, ...) DLOG(Info, format, ##__VA_ARGS__)
|
#define DLOGW(format, ...) DLOG(Warning, format, ##__VA_ARGS__)
|
||||||
#define DLOGI(format, ...) DLOG(Debug, format, ##__VA_ARGS__)
|
#define DLOGI(format, ...) DLOG(Info, format, ##__VA_ARGS__)
|
||||||
#define DLOGV(format, ...) DLOG(Verbose, format, ##__VA_ARGS__)
|
#define DLOGV(format, ...) DLOG(Verbose, format, ##__VA_ARGS__)
|
||||||
|
|
||||||
#define DTRACE_BEGIN(custom_string) display::DebugHandler::Get()->BeginTrace( \
|
#define DTRACE_BEGIN(custom_string) display::DebugHandler::Get()->BeginTrace( \
|
||||||
|
|||||||
Reference in New Issue
Block a user