Change the chromium header from ewk_chromium.h to EWebKit.h/Ewebkit_internal.h
[platform/framework/web/crosswalk-tizen.git] / runtime / browser / runtime_process.cc
index bd1e201..4d5cb50 100755 (executable)
@@ -14,7 +14,8 @@
  *    limitations under the License.
  */
 
-#include <ewk_chromium.h>
+#include <EWebKit.h>
+#include <EWebKit_internal.h>
 
 #include <Elementary.h>
 
@@ -116,8 +117,9 @@ int real_main(int argc, char* argv[]) {
 #ifdef WATCH_FACE_FEATURE_SUPPORT
   } else {
     if (appdata->app_type() == common::ApplicationData::WATCH) {
-      ecore_wl_shutdown();
-      ecore_wl_init(NULL);
+      // Below code will be enabled after testing
+      //ecore_wl_shutdown();
+      //ecore_wl_init(NULL);
     }
 #endif  // WATCH_FACE_FEATURE_SUPPORT
   }
@@ -136,9 +138,11 @@ int real_main(int argc, char* argv[]) {
   return EXIT_SUCCESS;
 }
 
+__attribute__((visibility("default")))
 int main(int argc, char* argv[]) {
   if (strcmp(argv[0], "/usr/bin/wrt-loader") == 0) {
     elm_init(argc, argv);
+    elm_config_cache_flush_enabled_set(EINA_TRUE);
     auto preload = [argv](void) {
       g_prelaunch = true;
       ewk_init();