From: Dohyun Pyun Date: Thu, 31 Mar 2022 23:37:48 +0000 (+0900) Subject: [UTC/ITC][ua][Non-ACR][Remove Elementary dependency] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=535f6d18fd7d3e94be08076da545d51bcc0a8d5d;p=test%2Ftct%2Fnative%2Fapi.git [UTC/ITC][ua][Non-ACR][Remove Elementary dependency] Change-Id: I484ddac1a8037b671406b63547a64a6a5a723d50 --- diff --git a/src/itc/capi-network-ua/CMakeLists.txt b/src/itc/capi-network-ua/CMakeLists.txt index 36ec8f7c1..4f05626aa 100755 --- a/src/itc/capi-network-ua/CMakeLists.txt +++ b/src/itc/capi-network-ua/CMakeLists.txt @@ -20,7 +20,6 @@ PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED bundle capi-system-info dlog - elementary ) INCLUDE_DIRECTORIES( diff --git a/src/itc/capi-network-ua/tct-capi-network-ua-native.c b/src/itc/capi-network-ua/tct-capi-network-ua-native.c index 82737418f..fb18a208a 100755 --- a/src/itc/capi-network-ua/tct-capi-network-ua-native.c +++ b/src/itc/capi-network-ua/tct-capi-network-ua-native.c @@ -48,14 +48,6 @@ #include #include -#include - -typedef struct appdata { - Evas_Object *win; - Evas_Object *conform; - Evas_Object *label; -} appdata_s; - static bool app_create(void *data) { return true; @@ -117,7 +109,6 @@ static void app_terminate(void *data) int main(int argc, char *argv[]) { int ret = 0; - appdata_s ad = {0,}; ui_app_lifecycle_callback_s event_callback = {0,}; event_callback.create = app_create; @@ -129,7 +120,7 @@ int main(int argc, char *argv[]) dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Coverage *.gcda File location set to /tmp/home/abuild/rpmbuild/BUILD/ ", __FUNCTION__, __LINE__); dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Main Function is Invoked", __FUNCTION__, __LINE__); - ret = ui_app_main(argc, argv, &event_callback, &ad); + ret = ui_app_main(argc, argv, &event_callback, NULL); if (ret != APP_ERROR_NONE) { dlog_print(DLOG_ERROR, "NativeTCT", "Application ui_app_main call gets failed. err = %d", ret); diff --git a/src/utc/ua/CMakeLists.txt b/src/utc/ua/CMakeLists.txt index b234288ca..86ec5f906 100755 --- a/src/utc/ua/CMakeLists.txt +++ b/src/utc/ua/CMakeLists.txt @@ -22,7 +22,6 @@ PKG_CHECK_MODULES(${CAPI_LIB} REQUIRED glib-2.0 bundle dlog - elementary ) INCLUDE_DIRECTORIES( diff --git a/src/utc/ua/tct-ua-core.c b/src/utc/ua/tct-ua-core.c index 60ce05387..237e9a477 100755 --- a/src/utc/ua/tct-ua-core.c +++ b/src/utc/ua/tct-ua-core.c @@ -45,14 +45,6 @@ #include #include -#include - -typedef struct appdata { - Evas_Object *win; - Evas_Object *conform; - Evas_Object *label; -} appdata_s; - static bool app_create(void *data) { return true; @@ -116,7 +108,6 @@ static void app_terminate(void *data) int main(int argc, char *argv[]) { int ret = 0; - appdata_s ad = {0,}; ui_app_lifecycle_callback_s event_callback = {0,}; event_callback.create = app_create; @@ -128,7 +119,7 @@ int main(int argc, char *argv[]) dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Coverage *.gcda File location set to /tmp/home/abuild/rpmbuild/BUILD/ ", __FUNCTION__, __LINE__); dlog_print(DLOG_INFO, "NativeTCT", "[%s:%d] Application Main Function is Invoked", __FUNCTION__, __LINE__); - ret = ui_app_main(argc, argv, &event_callback, &ad); + ret = ui_app_main(argc, argv, &event_callback, NULL); if (ret != APP_ERROR_NONE) { dlog_print(DLOG_ERROR, "NativeTCT", "Application ui_app_main call gets failed. err = %d", ret);