enlightenment_info: not support dump_buffers emulator 43/67143/1 accepted/tizen/common/20160426.143021 accepted/tizen/ivi/20160425.231701 accepted/tizen/mobile/20160425.231531 accepted/tizen/tv/20160425.231639 accepted/tizen/wearable/20160425.231604 submit/tizen/20160425.065136
authorJunkyeong Kim <jk0430.kim@samsung.com>
Mon, 25 Apr 2016 09:20:18 +0000 (18:20 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Mon, 25 Apr 2016 09:20:41 +0000 (18:20 +0900)
Change-Id: Ifba41dc69b2e769423208207480edb41a7bef4ef
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/bin/e_info_server.c

index 46741858107d695a58d4eb4519bfeb3f91410919..e7e6a7c441338ac052dfe26b4dd43199cb1f7fa4 100644 (file)
@@ -909,7 +909,7 @@ _e_info_server_cb_buffer_change(void *data, int type, void *event)
 
    return ECORE_CALLBACK_PASS_ON;
 }
-
+#ifdef HAVE_HWC
 static char *
 _e_info_server_dump_directory_make(void)
 {
@@ -951,7 +951,7 @@ _e_info_server_dump_directory_make(void)
 
    return fullpath;
 }
-
+#endif
 static Eldbus_Message *
 _e_info_server_cb_buffer_dump(const Eldbus_Service_Interface *iface EINA_UNUSED, const Eldbus_Message *msg)
 {
@@ -963,7 +963,7 @@ _e_info_server_cb_buffer_dump(const Eldbus_Service_Interface *iface EINA_UNUSED,
         ERR("Error getting arguments.");
         return reply;
      }
-
+#ifdef HAVE_HWC
    if (start == 1)
      {
         if (e_info_dump_running == 1)
@@ -999,6 +999,7 @@ _e_info_server_cb_buffer_dump(const Eldbus_Service_Interface *iface EINA_UNUSED,
         e_info_dump_count = 0;
         e_info_dump_running = 0;
      }
+#endif
    return reply;
 }
 
@@ -1096,7 +1097,7 @@ e_info_server_shutdown(void)
         eina_list_free(e_info_transform_list);
         e_info_transform_list = NULL;
      }
-
+#ifdef HAVE_HWC
    if (e_info_dump_running == 1)
      tdm_helper_dump_stop();
    if (e_info_dump_hdlrs)
@@ -1111,7 +1112,7 @@ e_info_server_shutdown(void)
      }
    e_info_dump_count = 0;
    e_info_dump_running = 0;
-
+#endif
    eldbus_shutdown();
 
    return 1;