From cf0bfdf96d51c76f3c7f2056001a937b30703e63 Mon Sep 17 00:00:00 2001 From: Rafal Galka Date: Mon, 2 Feb 2015 14:16:17 +0100 Subject: [PATCH] [Common] Logger TIZEN_DEBUG_ENABLE moved to GYP extension_build_type == "Debug" is set by default in spec Change-Id: I06e34c1cee50932163d3ae5e7cd6ff3bec19c8c9 --- src/common/common.gypi | 2 +- src/common/logger.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/common.gypi b/src/common/common.gypi index 7110579e..f77923b7 100644 --- a/src/common/common.gypi +++ b/src/common/common.gypi @@ -39,7 +39,7 @@ ['extension_host_os == "ivi"', { 'defines': ['TIZEN_IVI'] } ], ['extension_host_os == "desktop"', { 'defines': ['GENERIC_DESKTOP'] } ], ['extension_build_type== "Debug"', { - 'defines': ['_DEBUG', ], + 'defines': ['_DEBUG', 'TIZEN_DEBUG_ENABLE', ], 'cflags': [ '-O0', '-g', ], }], ['extension_build_type == "Release"', { diff --git a/src/common/logger.h b/src/common/logger.h index ead9829d..63bad08d 100644 --- a/src/common/logger.h +++ b/src/common/logger.h @@ -5,9 +5,6 @@ #ifndef COMMON_LOGGER_H_ #define COMMON_LOGGER_H_ -// TODO(wonyoung.choi): this define should be handled by .spec file. -#define TIZEN_DEBUG_ENABLE - #include #undef LOGGER_TAG -- 2.34.1