Fix the wearable emul build error 22/67522/1 accepted/tizen/common/20160427.144039 accepted/tizen/ivi/20160428.002413 accepted/tizen/mobile/20160428.004507 accepted/tizen/tv/20160428.002303 accepted/tizen/wearable/20160428.002458 submit/tizen/20160427.064236
authorHyuk Lee <hyuk0512.lee@samsung.com>
Wed, 27 Apr 2016 06:39:52 +0000 (15:39 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Wed, 27 Apr 2016 06:39:52 +0000 (15:39 +0900)
Change-Id: Icf7aa79314f4e3ac4f0cae4a8a9c7347066f4f69
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
include/wearable/bluetooth_type.h
packaging/capi-network-bluetooth.spec

index a9f089e4d292b991c407cc0bec2f19c3504f7d60..e655b5f53b1c660f219eef6e028916143691c975 100644 (file)
@@ -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;
 
 /**
index 75e1272c8f97aa71ae7723879c0c4ddbd38213dd..7c09912a163b9b91addb8c2a575f48cdcf3017ab 100644 (file)
@@ -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"