summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiran Kelageri <kkelageri@codeaurora.org>2014-12-11 18:02:07 -0800
committerKiran Kelageri <kkelageri@codeaurora.org>2014-12-12 16:53:47 -0800
commit1e7be98630b3106b31d9543c4eeb5607fb285279 (patch)
tree8b15b9db3317a1e20e9a1247b171e7aa489351d1
parent2a735e3137d1bc354b349050101241d30af1efb9 (diff)
downloadandroid_packages_apps_BluetoothExt-1e7be98630b3106b31d9543c4eeb5607fb285279.tar.gz
android_packages_apps_BluetoothExt-1e7be98630b3106b31d9543c4eeb5607fb285279.tar.bz2
android_packages_apps_BluetoothExt-1e7be98630b3106b31d9543c4eeb5607fb285279.zip
Bluetooth-wipower: Flag based A4WP enabling.
wipower flag is been added to the board specific config file, So that the A4WP can be enabled based on this flag. Change-Id: Ia546b6cd0f8d40b4381bf3eb3bde4e721e34a99b CRs-fixed: 770519
-rw-r--r--Android.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index f710454..9230d73 100644
--- a/Android.mk
+++ b/Android.mk
@@ -8,8 +8,11 @@ src_dirs:= src/org/codeaurora/bluetooth/btcservice \
src/org/codeaurora/bluetooth/ftp \
src/org/codeaurora/bluetooth/dun \
src/org/codeaurora/bluetooth/sap \
- src/org/codeaurora/bluetooth/pxpservice \
- src/org/codeaurora/bluetooth/a4wp
+ src/org/codeaurora/bluetooth/pxpservice
+
+ifeq ($(BOARD_USES_WIPOWER),true)
+ src_dirs += src/org/codeaurora/bluetooth/a4wp
+endif
LOCAL_SRC_FILES := \
$(call all-java-files-under, $(src_dirs)) \
@@ -20,7 +23,9 @@ LOCAL_CERTIFICATE := platform
LOCAL_JAVA_LIBRARIES := javax.obex
LOCAL_JAVA_LIBRARIES += mms-common
LOCAL_JAVA_LIBRARIES += telephony-common
+ifeq ($(BOARD_USES_WIPOWER),true)
LOCAL_JAVA_LIBRARIES += com.quicinc.wbc
+endif
LOCAL_STATIC_JAVA_LIBRARIES := com.android.vcard