Change-Id: I7a5310f6f1588b89ece3e4fa0727192aa1c27252
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
+## for LCOV
+#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror -fprofile-arcs -ftest-coverage")
+#SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror -fprofile-arcs -ftest-coverage")
## voice control library ##
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
return ret;
}
-//LCOV_EXCL_STOP
static void __start_tts_streaming_thread(void* data, Ecore_Thread* thread)
{
return 0;
}
+//LCOV_EXCL_STOP
%build
+## for LCOV
+#export CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
+#export CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
+#export LDFLAGS="$LDFLAGS -lgcov"
+
%if "%{tizen_profile_name}" == "tv"
export CFLAGS="$CFLAGS -DTV_PRODUCT"
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DLIBDIR=%{_libdir} -DBINDIR=%{_bindir} -DINCLUDEDIR=%{_includedir} \