TTrace enable always in tizen 51/272751/3
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 23 Mar 2022 14:14:07 +0000 (23:14 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 28 Mar 2022 03:18:29 +0000 (12:18 +0900)
Make ttrace enable always in tizen. Other platform keep current policy

Change-Id: I30eb7ffdefd10cbe863d158df6fbf6b6a34cb234
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
build/tizen/CMakeLists.txt
packaging/com.samsung.dali-demo.spec

index 54ceab9..5f20ac9 100644 (file)
@@ -17,6 +17,7 @@ endif()
 # Define options to CMake
 OPTION(ENABLE_EXPORTALL          "Enable Export all symbols" OFF)
 OPTION(ENABLE_DEBUG              "Enable Debug" OFF)
+OPTION(ENABLE_TRACE              "Enable Trace" OFF)
 OPTION(ENABLE_PKG_CONFIGURE      "Use pkgconfig" ON)
 OPTION(INTERNATIONALIZATION      "Internationalization demo string names" ON)
 
@@ -352,6 +353,10 @@ IF( ENABLE_DEBUG )
   SET(DALI_DEMO_CFLAGS "${DALI_DEMO_CFLAGS} -DDEBUG_ENABLED")
 ENDIF()
 
+IF( ENABLE_TRACE )
+  SET(DALI_DEMO_CFLAGS "${DALI_DEMO_CFLAGS} -DTRACE_ENABLED")
+ENDIF()
+
 IF( ENABLE_SCENE_LOADER )
   SET(DALI_DEMO_CFLAGS "${DALI_DEMO_CFLAGS} -DDALI_SCENE_LOADER_AVAILABLE")
 ENDIF()
index 484fb2c..573c4ed 100755 (executable)
@@ -92,6 +92,7 @@ cmake -DDALI_APP_DIR=%{dali_app_ro_dir}/bin \
 %if 0%{?enable_debug}
       -DCMAKE_BUILD_TYPE=Debug \
 %endif
+      -DENABLE_TRACE:BOOL=ON \
       -DLOCAL_STYLE_DIR=%{local_style_dir} \
       -DINTERNATIONALIZATION:BOOL=OFF \
       -DTIZEN:BOOL=ON \