Move it to reduce module circular dependency.
Change-Id: Iffed47db7a38950afe961ea4ebdc9b5fd643e57f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
#include <string>
#include <vector>
-#include "wgt/wgt_backend_data.h"
+#include "wgt/utils/wgt_backend_data.h"
namespace hybrid {
#include <vector>
#include "wgt/step/configuration/step_parse.h"
-#include "wgt/wgt_backend_data.h"
+#include "wgt/utils/wgt_backend_data.h"
#define ASSERT_CSTR_EQ(STR1, STR2) \
ASSERT_EQ(strcmp(STR1, STR2), 0) \
#include <common/pkgmgr_interface.h>
#include <cerrno>
-#include "wgt/wgt_app_query_interface.h"
+#include "wgt/utils/wgt_app_query_interface.h"
#include "wgt/wgt_installer.h"
namespace ci = common_installer;
#include "hybrid/hybrid_installer.h"
#include "wgt/wgt_installer.h"
-#include "wgt/wgt_app_query_interface.h"
+#include "wgt/utils/wgt_app_query_interface.h"
namespace smoke_test {
AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/step/filesystem WGT_STEP_FILESYSTEM_SRCS)
AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/step/pkgmgr WGT_STEP_PKGMGR_SRCS)
AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/step/security WGT_STEP_SECURITY_SRCS)
+AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/utils WGT_UTILS_SRCS)
# Target - definition
ADD_LIBRARY(${TARGET_LIBNAME_WGT} STATIC
${WGT_STEP_ENCRYPTION_SRCS}
${WGT_STEP_FILESYSTEM_SRCS}
${WGT_STEP_PKGMGR_SRCS}
- ${WGT_STEP_SECURITY_SRCS})
+ ${WGT_STEP_SECURITY_SRCS}
+ ${WGT_UTILS_SRCS})
# Target - includes
TARGET_INCLUDE_DIRECTORIES(${TARGET_LIBNAME_WGT} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../")
# Target - deps
#include <common/installer_context.h>
#include <common/step/step.h>
-#include <wgt/wgt_backend_data.h>
+#include <wgt/utils/wgt_backend_data.h>
#include <wgt_manifest_handlers/w3c_pc_utils.h>
#include <wgt_manifest_handlers/content_handler.h>
#include <manifest_parser/utils/logging.h>
-#include <wgt/wgt_backend_data.h>
+#include <wgt/utils/wgt_backend_data.h>
#include <type_traits>
#include <cassert>
#include <vector>
#include <utility>
-#include "wgt/wgt_backend_data.h"
+#include "wgt/utils/wgt_backend_data.h"
namespace bf = boost::filesystem;
namespace ci = common_installer;
#include <common/step/step.h>
#include <manifest_parser/utils/logging.h>
-#include "wgt/wgt_backend_data.h"
+#include "wgt/utils/wgt_backend_data.h"
namespace wgt {
namespace encryption {
#include <string>
-#include "wgt/wgt_backend_data.h"
+#include "wgt/utils/wgt_backend_data.h"
namespace bf = boost::filesystem;
namespace ci = common_installer;
#include <cstring>
#include <string>
-#include "wgt/wgt_backend_data.h"
+#include "wgt/utils/wgt_backend_data.h"
namespace bs = boost::system;
namespace bf = boost::filesystem;
#include <string>
#include <memory>
-#include "wgt/extension_config_parser.h"
+#include "wgt/utils/extension_config_parser.h"
namespace {
#include <map>
-#include "wgt/wgt_backend_data.h"
+#include "wgt/utils/wgt_backend_data.h"
namespace wgt {
namespace security {
#include <common/installer_context.h>
#include <wgt_manifest_handlers/setting_handler.h>
-#include "wgt/wgt_backend_data.h"
+#include "wgt/utils/wgt_backend_data.h"
namespace {
// Use of this source code is governed by a apache 2.0 license that can be
// found in the LICENSE file.
-#include "wgt/extension_config_parser.h"
+#include "wgt/utils/extension_config_parser.h"
#include <manifest_parser/utils/string_util.h>
#include <manifest_parser/manifest_handler.h>
// Use of this source code is governed by an apache 2.0 license that can be
// found in the LICENSE file.
-#include "wgt/wgt_app_query_interface.h"
+#include "wgt/utils/wgt_app_query_interface.h"
#include <unistd.h>
#include <sys/types.h>
#include <wgt_manifest_handlers/widget_config_parser.h>
-#include "wgt/shared_dirs.h"
+#include "wgt/utils/shared_dirs.h"
#include "wgt/step/configuration/step_check_rds_manifest.h"
#include "wgt/step/configuration/step_check_start_files.h"
#include "wgt/step/configuration/step_parse.h"
#include <cerrno>
#include "hybrid/hybrid_installer.h"
-#include "wgt/wgt_app_query_interface.h"
+#include "wgt/utils/wgt_app_query_interface.h"
#include "wgt/wgt_installer.h"
namespace ci = common_installer;