summaryrefslogtreecommitdiffstats
path: root/bt-vendor/Android.mk
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-06-24 00:36:57 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-06-24 14:18:45 +0200
commit7d109e867b8f96dbfb3e9b31bacbf65f4f9ff88e (patch)
tree876fe507beaccb3786d382f3edf8013c04456e0a /bt-vendor/Android.mk
parent857431ef971935361580dd20795092db78825c91 (diff)
downloaddevice_goldelico_gta04-7d109e867b8f96dbfb3e9b31bacbf65f4f9ff88e.zip
device_goldelico_gta04-7d109e867b8f96dbfb3e9b31bacbf65f4f9ff88e.tar.gz
device_goldelico_gta04-7d109e867b8f96dbfb3e9b31bacbf65f4f9ff88e.tar.bz2
Bluetooth support, using BlueDroid
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'bt-vendor/Android.mk')
-rw-r--r--bt-vendor/Android.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/bt-vendor/Android.mk b/bt-vendor/Android.mk
new file mode 100644
index 0000000..10350b6
--- /dev/null
+++ b/bt-vendor/Android.mk
@@ -0,0 +1,30 @@
+# Copyright (C) 2014 Paul Kocialkowski <contact@paulk.fr>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := gta04_bt_vendor.c hci.c
+
+LOCAL_C_INCLUDES := external/bluetooth/bluedroid/hci/include
+
+LOCAL_SHARED_LIBRARIES := liblog
+LOCAL_PRELINK_MODULE := false
+
+LOCAL_MODULE := libbt-vendor
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_SHARED_LIBRARY)