[Common] Logger TIZEN_DEBUG_ENABLE moved to GYP
authorRafal Galka <r.galka@samsung.com>
Mon, 2 Feb 2015 13:16:17 +0000 (14:16 +0100)
committerRafal Galka <r.galka@samsung.com>
Tue, 3 Feb 2015 09:36:35 +0000 (18:36 +0900)
extension_build_type == "Debug" is set by default in spec

Change-Id: I06e34c1cee50932163d3ae5e7cd6ff3bec19c8c9

src/common/common.gypi
src/common/logger.h

index 7110579..f77923b 100644 (file)
@@ -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"', {
index ead9829..63bad08 100644 (file)
@@ -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 <dlog.h>
 
 #undef LOGGER_TAG