summaryrefslogtreecommitdiffstats
path: root/osi/Android.mk
diff options
context:
space:
mode:
authorSharvil Nanavati <sharvil@google.com>2014-05-07 22:09:12 -0700
committerSharvil Nanavati <sharvil@google.com>2014-07-09 16:21:19 +0000
commit118bdd58389c77dd69b37e377b4e98ea89d2b14e (patch)
tree628c06ec7ff2f8422312b24d08e7a4aac1f65356 /osi/Android.mk
parent6718c6d9fcfe373a679a529aca003d32062f81dc (diff)
downloadandroid_system_bt-118bdd58389c77dd69b37e377b4e98ea89d2b14e.tar.gz
android_system_bt-118bdd58389c77dd69b37e377b4e98ea89d2b14e.tar.bz2
android_system_bt-118bdd58389c77dd69b37e377b4e98ea89d2b14e.zip
Start of threading library
So far it's a thin shim around pthreads which allows setting thread name and querying tids from any thread. Change-Id: Id156f662778806a54a8a302be424ee051fac4710
Diffstat (limited to 'osi/Android.mk')
-rw-r--r--osi/Android.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/osi/Android.mk b/osi/Android.mk
index 646209c6c..5d2f5e3b9 100644
--- a/osi/Android.mk
+++ b/osi/Android.mk
@@ -10,7 +10,8 @@ LOCAL_SRC_FILES := \
./src/fixed_queue.c \
./src/list.c \
./src/reactor.c \
- ./src/semaphore.c
+ ./src/semaphore.c \
+ ./src/thread.c
LOCAL_CFLAGS := -std=c99 -Wall -Werror
LOCAL_MODULE := libosi
@@ -30,7 +31,8 @@ LOCAL_C_INCLUDES := \
LOCAL_SRC_FILES := \
./test/config_test.cpp \
./test/list_test.cpp \
- ./test/reactor_test.cpp
+ ./test/reactor_test.cpp \
+ ./test/thread_test.cpp
LOCAL_CFLAGS := -Wall -Werror
LOCAL_MODULE := ositests