Add cpi-network-bluetooth package in buildscript 33/69133/2
authorSeok Hong <seok85.hong@samsung.com>
Thu, 12 May 2016 01:22:48 +0000 (10:22 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Thu, 12 May 2016 02:46:11 +0000 (19:46 -0700)
Add cpi-network-bluetooth package to use the bluetooth internal APIs in Bluetooth Policy

Change-Id: I9c2da6371798a9616a8e4b5a00eab0a552a9f2f9
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
packaging/device-policy-manager.spec
server/CMakeLists.txt
server/bluetooth.cpp

index 7ff9e20..862aef6 100644 (file)
@@ -29,6 +29,7 @@ BuildRequires: pkgconfig(capi-base-common)
 BuildRequires: pkgconfig(capi-system-info)
 BuildRequires: pkgconfig(capi-network-wifi)
 BuildRequires: pkgconfig(capi-network-connection)
+BuildRequires: pkgconfig(capi-network-bluetooth)
 BuildRequires: pkgconfig(capi-location-manager)
 BuildRequires: pkgconfig(capi-system-system-settings)
 
index 4e05f6e..5334d74 100644 (file)
@@ -60,6 +60,7 @@ PKG_CHECK_MODULES(SERVER_DEPS
                                  capi-location-manager
                                  capi-system-system-settings
                                  capi-network-connection
+                                 capi-network-bluetooth
 )
 
 INCLUDE_DIRECTORIES(SYSTEM ${SERVER_DEPS_INCLUDE_DIRS} ${DPM_COMMON} ${DPM_POLICY} ${DPM_SERVER})
index 1d68103..a6d6024 100644 (file)
  *  limitations under the License
  */
 
+#include <bluetooth.h>
+#include <bluetooth_internal.h>
+#include <bluetooth-api.h>
+
 #include "bluetooth.hxx"
 
 #include "policy-helper.h"