diff options
author | YK Jeffrey Chao <jechao@broadcom.com> | 2012-04-23 11:28:18 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-14 11:19:20 -0700 |
commit | 32f0db60f911ed0b7f3bca0210a4568621b99074 (patch) | |
tree | 5e41addd71324439e3bbaa2a9fe5978c262311e4 /main/Android.mk | |
parent | a4b46830e5efa9b753a692b98971d1f5a9975905 (diff) | |
download | external_bluetooth_bluedroid-32f0db60f911ed0b7f3bca0210a4568621b99074.zip external_bluetooth_bluedroid-32f0db60f911ed0b7f3bca0210a4568621b99074.tar.gz external_bluetooth_bluedroid-32f0db60f911ed0b7f3bca0210a4568621b99074.tar.bz2 |
Split and restructure the original BT vendor lib (I - external/bluetooth/bluedroid).
1. Split the original external/bluetooth/bluedroid/vendor directory to two parts: external/bluetooth/bluedroid/hci and vendor/broadcom/libbt-vendor. Each part produces a .so library (libbt-hci.so and libbt-vendor.so).
2. libbt-hci.so contains:
+ HCI H4 send & receive functions
+ Userial read & write functions
+ LPM common logic operations
+ btsnoop functions.
3. No build-time (.txt) and run-time (.conf) configuration for libbt-hci.so.
4. libbt-vendor.so contains:
+ firmware patch download function
+ SCO configuration
+ LPM VSC and BT_WAKE control
+ UART port open
+ upio control for BT chip power on/off.
5. libbt-vendor.so has build-time and run-time configuration support.
Change-Id: I61d55c75c66d25459d80893a5f72bccce2b54770
Diffstat (limited to 'main/Android.mk')
-rwxr-xr-x | main/Android.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/Android.mk b/main/Android.mk index c8fbb40..53b6158 100755 --- a/main/Android.mk +++ b/main/Android.mk @@ -82,7 +82,7 @@ LOCAL_C_INCLUDES+= . \ $(LOCAL_PATH)/../udrv/include \ $(LOCAL_PATH)/../btif/include \ $(LOCAL_PATH)/../btif/co \ - $(LOCAL_PATH)/../vendor/libvendor/include\ + $(LOCAL_PATH)/../hci/include\ $(LOCAL_PATH)/../brcm/include \ $(LOCAL_PATH)/../embdrv/sbc/encoder/include \ $(LOCAL_PATH)/../audio_a2dp_hw @@ -109,7 +109,7 @@ endif LOCAL_SHARED_LIBRARIES := \ libcutils \ libpower \ - libbt-vendor + libbt-hci #LOCAL_WHOLE_STATIC_LIBRARIES := libbt-brcm_gki libbt-brcm_stack libbt-brcm_bta LOCAL_STATIC_LIBRARIES := libbt-brcm_gki libbt-brcm_bta libbt-brcm_stack @@ -118,6 +118,7 @@ LOCAL_MODULE := bluetooth.default LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw LOCAL_MODULE_TAGS := optional LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_REQUIRED_MODULES := libbt-hci libbt-vendor bt_stack.conf bt_did.conf auto_pair_devlist.conf include $(LOCAL_PATH)/../include/buildcfg.mk |