From: Hyuk Lee Date: Wed, 27 Apr 2016 06:39:52 +0000 (+0900) Subject: Fix the wearable emul build error X-Git-Tag: submit/tizen/20160427.064236^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1321249c9f8ace138077fab1dc9f5014a3d744e7;p=platform%2Fcore%2Fapi%2Fbluetooth.git Fix the wearable emul build error Change-Id: Icf7aa79314f4e3ac4f0cae4a8a9c7347066f4f69 Signed-off-by: Hyuk Lee --- diff --git a/include/wearable/bluetooth_type.h b/include/wearable/bluetooth_type.h index a9f089e..e655b5f 100644 --- a/include/wearable/bluetooth_type.h +++ b/include/wearable/bluetooth_type.h @@ -193,6 +193,7 @@ typedef enum { BT_PROFILE_AG = 0x20, /**< Audio Gateway Profile */ BT_PROFILE_GATT = 0x40, /**< Generic Attribute Profile */ BT_PROFILE_NAP_SERVER = 0x80, /**< NAP server Profile */ + BT_PROFILE_A2DP_SINK = 0x100, /**< Advanced Audio Distribution Profile Sink role */ } bt_profile_e; /** diff --git a/packaging/capi-network-bluetooth.spec b/packaging/capi-network-bluetooth.spec index 75e1272..7c09912 100644 --- a/packaging/capi-network-bluetooth.spec +++ b/packaging/capi-network-bluetooth.spec @@ -54,6 +54,13 @@ cp %{SOURCE1001} %{SOURCE1002} . export CFLAGS="$CFLAGS -DTIZEN_BT_DISABLE" export CXXFLAGS="$CXXFLAGS -DTIZEN_BT_DISABLE" export FFLAGS="$FFLAGS -DTIZEN_BT_DISABLE" + +%if "%{?profile}" == "wearable" +export CFLAGS="$CFLAGS -DTIZEN_WEARABLE" +export CXXFLAGS="$CXXFLAGS -DTIZEN_WEARABLE" +export FFLAGS="$FFLAGS -DTIZEN_WEARABLE" +%endif + %else # _with_emulator export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DTIZEN_ENGINEER_MODE" export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE -DTIZEN_ENGINEER_MODE"