From: Rafal Galka Date: Mon, 2 Feb 2015 13:16:17 +0000 (+0100) Subject: [Common] Logger TIZEN_DEBUG_ENABLE moved to GYP X-Git-Tag: submit/tizen_tv/20150603.064601~1^2~498 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf0bfdf96d51c76f3c7f2056001a937b30703e63;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Common] Logger TIZEN_DEBUG_ENABLE moved to GYP extension_build_type == "Debug" is set by default in spec Change-Id: I06e34c1cee50932163d3ae5e7cd6ff3bec19c8c9 --- 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