Remove dependency of msg service 63/37763/1 tizen_3.0.2015.q2_common accepted/tizen/common/20150407.101855 accepted/tizen/common/20150407.122341 accepted/tizen/mobile/20150405.124258 accepted/tizen/tv/20150405.122421 accepted/tizen/wearable/20150405.123624 submit/tizen/20150403.115951 submit/tizen/20150407.101929
authorDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 3 Apr 2015 11:57:06 +0000 (20:57 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 3 Apr 2015 11:57:06 +0000 (20:57 +0900)
Change-Id: Ic624d2d0e3d2637ea57436c86f36dde13c55ff84
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
map-agent/CMakeLists.txt
map-agent/bluetooth_map_agent.c
map-agent/map_bmessage.c

index 932bee4..fe1c6ed 100644 (file)
@@ -16,12 +16,12 @@ ENDFOREACH(flag)
 
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
 
-FIND_PROGRAM(DBUS_BINDING_TOOL NAMES dbus-binding-tool)
-EXEC_PROGRAM("${DBUS_BINDING_TOOL}"
-               ARGS "--prefix=bluetooth_map \\
-               ${CMAKE_CURRENT_SOURCE_DIR}/bluetooth_map_agent.xml \\
-               --mode=glib-server \\
-               --output=${CMAKE_CURRENT_SOURCE_DIR}/bluetooth_map_agent_glue.h")
+#FIND_PROGRAM(DBUS_BINDING_TOOL NAMES dbus-binding-tool)
+#EXEC_PROGRAM("${DBUS_BINDING_TOOL}"
+#              ARGS "--prefix=bluetooth_map \\
+#              ${CMAKE_CURRENT_SOURCE_DIR}/bluetooth_map_agent.xml \\
+#              --mode=glib-server \\
+#              --output=${CMAKE_CURRENT_SOURCE_DIR}/bluetooth_map_agent_glue.h")
 
 ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_map_agent_LDFLAGS})
index ab1af4d..32baac5 100644 (file)
@@ -17,6 +17,8 @@
  *
  */
 
+#if 0
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -2085,8 +2087,12 @@ static gboolean bluetooth_map_noti_registration(BluetoothMapAgent *agent,
        return TRUE;
 }
 
+#endif
+
+
 int main(int argc, char **argv)
 {
+#if 0
        BluetoothMapAgent *bluetooth_map_obj = NULL;
        DBusGProxy *bus_proxy = NULL;
        guint result = 0;
@@ -2169,4 +2175,7 @@ int main(int argc, char **argv)
 
        __bluetooth_map_stop_service();
        return EXIT_FAILURE;
+#endif
+       return 0;
 }
+
index febfe03..31e729c 100644 (file)
@@ -17,6 +17,8 @@
  *
  */
 
+#if 0
+
 #include <stdio.h>
 #include <string.h>
 #include <glib.h>
@@ -518,3 +520,4 @@ parse_fail:
        return NULL;
 }
 
+#endif