From: DoHyun Pyun Date: Fri, 3 Apr 2015 11:57:06 +0000 (+0900) Subject: Remove dependency of msg service X-Git-Tag: accepted/tizen/common/20150407.101855^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0.2015.q2_common;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git Remove dependency of msg service Change-Id: Ic624d2d0e3d2637ea57436c86f36dde13c55ff84 Signed-off-by: DoHyun Pyun --- diff --git a/map-agent/CMakeLists.txt b/map-agent/CMakeLists.txt index 932bee4..fe1c6ed 100644 --- a/map-agent/CMakeLists.txt +++ b/map-agent/CMakeLists.txt @@ -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}) diff --git a/map-agent/bluetooth_map_agent.c b/map-agent/bluetooth_map_agent.c index ab1af4d..32baac5 100644 --- a/map-agent/bluetooth_map_agent.c +++ b/map-agent/bluetooth_map_agent.c @@ -17,6 +17,8 @@ * */ +#if 0 + #include #include #include @@ -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; } + diff --git a/map-agent/map_bmessage.c b/map-agent/map_bmessage.c index febfe03..31e729c 100644 --- a/map-agent/map_bmessage.c +++ b/map-agent/map_bmessage.c @@ -17,6 +17,8 @@ * */ +#if 0 + #include #include #include @@ -518,3 +520,4 @@ parse_fail: return NULL; } +#endif