[ITC][tts][non-ACR] Remove unused EFL dependencies 13/268813/4
authorwn.jang <wn.jang@samsung.com>
Mon, 3 Jan 2022 08:42:11 +0000 (17:42 +0900)
committerJihun Park <jihun87.park@samsung.com>
Thu, 24 Feb 2022 02:51:08 +0000 (02:51 +0000)
Change-Id: Id4530b704f0c209e6856cd989486a17efcc10294

packaging/itc/native-tts-itc.spec
packaging/itc/native-tts-itc.xml
src/itc/tts/CMakeLists.txt
src/itc/tts/tct-tts-native.c

index f0f1a579d11f316e6516f0ec12351f6cebeedb9d..06944168deb719429a7a4f1450e829b11cdb74cd 100755 (executable)
@@ -8,14 +8,13 @@ Group:      Development/Tools
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires: pkgconfig(%{MODULE_LIBNAME})
-BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-appfw-service-application)
 BuildRequires: pkgconfig(dlog)
 BuildRequires: pkgconfig(glib-2.0)
 BuildRequires: pkgconfig(gobject-2.0)
 BuildRequires: pkgconfig(ecore)
 BuildRequires: pkgconfig(bundle)
 BuildRequires: pkgconfig(capi-system-info)
-BuildRequires: pkgconfig(elementary)
 BuildRequires: cmake
 
 %description
index 1c1940bd8c60e2bd938909c83814aefea51fcf0d..99a89f080d22d73e0ecfa64be107804871e8acc5 100755 (executable)
@@ -3,12 +3,12 @@
     <label>NativePlayerTest</label>
     <author email="mymail@tizentest.com" href="www.tizentest.com">test</author>
     <description>Native API test Application</description>
-    <ui-application appid="native.tts-itc" exec="/usr/apps/native-tts-itc/bin/tct-tts-native" nodisplay="false" multiple="false" type="capp" taskmanage="true">
+    <service-application appid="native.tts-itc" exec="/usr/apps/native-tts-itc/bin/tct-tts-native" nodisplay="false" multiple="false" type="capp" taskmanage="true">
     <background-category value="background-network"/>
        <background-category value="download"/>
        <background-category value="iot-communication"/>
        <background-category value="location"/>
        <background-category value="media"/>
        <background-category value="sensor"/>
-    </ui-application>
+    </service-application>
 </manifest>
index 4a32ed3aadee177b9fd634c57c341905d393f168..904e23864cfba232e3cc9b37197e3a0b8e0072d3 100755 (executable)
@@ -12,7 +12,7 @@ SET(TC_SOURCES
 
 PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED
     ${CAPI_LIB}
-       capi-appfw-application
+       capi-appfw-service-application
     glib-2.0
     bundle
     ecore
index 6b794afae12d27d1dcbbf095996fb9e04055a562..ff2dfbdb32e2e73cf694cfb268d1c78e88b1ebef 100755 (executable)
@@ -45,7 +45,7 @@
 #include <glib.h>
 #include <stdbool.h>
 
-#include <app.h>
+#include <service_app.h>
 #include <dlog.h>
 
 #include <sys/socket.h>
@@ -116,7 +116,7 @@ int run_testcases()
 
                        if (0 == strncmp(func_name, "ITc_tts_set_unset_engine_changed_cb_p", strlen(func_name)) || 0 == strncmp("ITc_ttse_", func_name, strlen("ITc_ttse_"))) {
                                dlog_print(DLOG_INFO, "NativeTCT", "%s must be exited", func_name);
-                               ui_app_exit();
+                               service_app_exit();
                        }
                        return result;
         }
@@ -179,7 +179,7 @@ static void app_control(app_control_h app_control, void *data)
 
                        if (0 == strncmp(func_name, "ITc_tts_set_unset_engine_changed_cb_p", strlen(func_name)) || 0 == strncmp("ITc_ttse_", func_name, strlen("ITc_ttse_"))) {
                                dlog_print(DLOG_INFO, "NativeTCT", "%s must be exited", func_name);
-                               ui_app_exit();
+                               service_app_exit();
                        }
                        FREE_MEMORY_TC(func_name);
                        return;
@@ -205,7 +205,7 @@ int main(int argc, char *argv[])
        g_argc = argc;
        g_argv = argv;
 
-       ui_app_lifecycle_callback_s event_callback = {0,};
+       service_app_lifecycle_callback_s event_callback = {0,};
        event_callback.create = app_create;
        event_callback.terminate = app_terminate;
        event_callback.app_control = app_control;
@@ -214,10 +214,10 @@ int main(int argc, char *argv[])
        setenv("GCOV_PREFIX","/tmp",1);
        dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Coverage *.gcda File location set to /tmp/home/abuild/rpmbuild/BUILD/ ", __FUNCTION__, __LINE__);
 
-       ret = ui_app_main(argc, argv, &event_callback, NULL);
+       ret = service_app_main(argc, argv, &event_callback, NULL);
        if (ret != APP_ERROR_NONE)
        {
-               printf("\n[Line No : %d]Unable to execute test cases: ui_app_main API call gets failed\n", __LINE__);
+               printf("\n[Line No : %d]Unable to execute test cases: service_app_main API call gets failed\n", __LINE__);
        }
        return ret;
 }