Fix Build errors
[platform/framework/web/wrt-installer.git] / src / jobs / widget_install / task_process_config.cpp
index 57958eb..f84e32e 100755 (executable)
 #include <widget_install/widget_install_context.h>
 #include <widget_install/widget_install_errors.h>
 #include <widget_parser.h>
+#ifdef LIVEBOX
 #include <web_provider_plugin_info.h>
 #include <web_provider_livebox_info.h>
+#endif // LIVEBOX
 #include <manifest.h>
 
 #include <installer_log.h>
@@ -475,6 +477,7 @@ void TaskProcessConfig::StepVerifyFeatures()
 
 void TaskProcessConfig::StepVerifyLivebox()
 {
+#ifdef LIVEBOX
     using namespace WrtDB;
     ConfigParserData &data = m_installContext.widgetConfig.configInfo;
     ConfigParserData::LiveboxList liveBoxList = data.m_livebox;
@@ -522,6 +525,7 @@ void TaskProcessConfig::StepVerifyLivebox()
             ThrowMsg(Exceptions::WidgetConfigFileInvalid, "Invalid boxSize");
         }
     }
+#endif // LIVEBOX
 }
 
 bool TaskProcessConfig::isFeatureAllowed(WrtDB::AppType appType,