diff options
author | Taejin Woo <tt.woo@samsung.com> | 2016-09-05 11:21:24 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-11-09 18:02:14 +0900 |
commit | de6d8cbb398d679d6fa1d8fe8d062728babb95e7 (patch) | |
tree | 989ea1650380759e5c7e47e0cf8d50a977b87548 | |
parent | 769fc30d54f98f09076c57467fd1f47895297b15 (diff) | |
download | bluez-de6d8cbb398d679d6fa1d8fe8d062728babb95e7.tar.gz bluez-de6d8cbb398d679d6fa1d8fe8d062728babb95e7.tar.bz2 bluez-de6d8cbb398d679d6fa1d8fe8d062728babb95e7.zip |
Activate Proximity profile
This patch enables proximity profile with
Reporter/Monitor roles.
Change-Id: I84e43c4df9a64258596db79623cdc17fda11606f
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
-rw-r--r-- | Makefile.plugins | 16 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | packaging/bluez.spec | 1 |
3 files changed, 14 insertions, 7 deletions
diff --git a/Makefile.plugins b/Makefile.plugins index 5b138129..4a1e0543 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -115,13 +115,7 @@ builtin_sources += profiles/deviceinfo/deviceinfo.c endif if EXPERIMENTAL -if TIZEN_UNUSED_PLUGIN -builtin_modules += alert -builtin_sources += profiles/alert/server.c - -builtin_modules += time -builtin_sources += profiles/time/server.c - +if TIZEN_PROXIMITY_PLUGIN builtin_modules += proximity builtin_sources += profiles/proximity/main.c profiles/proximity/manager.h \ profiles/proximity/manager.c \ @@ -133,6 +127,14 @@ builtin_sources += profiles/proximity/main.c profiles/proximity/manager.h \ profiles/proximity/linkloss.c \ profiles/proximity/immalert.h \ profiles/proximity/immalert.c +endif + +if TIZEN_UNUSED_PLUGIN +builtin_modules += alert +builtin_sources += profiles/alert/server.c + +builtin_modules += time +builtin_sources += profiles/time/server.c builtin_modules += thermometer builtin_sources += profiles/thermometer/thermometer.c diff --git a/configure.ac b/configure.ac index ea33a000..f337c64c 100644 --- a/configure.ac +++ b/configure.ac @@ -253,6 +253,10 @@ AM_CONDITIONAL(TIZEN_HID_PLUGIN, test "${enable_hid}" = "yes") AM_CONDITIONAL(TIZEN_HEALTH_PLUGIN, test "${enable_health}" = "yes") +AC_ARG_ENABLE(proximity, AC_HELP_STRING([--enable-proximity], + [Enable PROXIMITY Plugin]), [enable_proximity=${enableval}]) +AM_CONDITIONAL(TIZEN_PROXIMITY_PLUGIN, test "${enable_proximity}" = "yes") + AC_ARG_ENABLE(tizenunusedplugin, AC_HELP_STRING([--enable-tizenunusedplugin], [Enable Unused Plugin]), [enable_tizenunusedplugin=${enableval}]) AM_CONDITIONAL(TIZEN_UNUSED_PLUGIN, test "${enable_tizenunusedplugin}" = "yes") diff --git a/packaging/bluez.spec b/packaging/bluez.spec index 19cd218d..2c4365bc 100644 --- a/packaging/bluez.spec +++ b/packaging/bluez.spec @@ -126,6 +126,7 @@ export CFLAGS+=" -DPBAP_SIM_ENABLE -DSUPPORT_AVRCP_TARGET" --disable-dfutool \ --disable-cups \ --enable-health=yes \ + --enable-proximity=yes \ --enable-dbusoob \ --enable-test \ --with-telephony=tizen \ |