]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libthread_db/Android.mk
am 2e23e292: Backport (simple cherry-pick) d33019030c1f0cddca557f9659e3c471bde0e6a9...
[android-sdk/platform-bionic.git] / libthread_db / Android.mk
1 LOCAL_PATH:= $(call my-dir)
3 #
4 # static 
5 #
7 include $(CLEAR_VARS)
9 LOCAL_SRC_FILES:= \
10         libthread_db.c
12 LOCAL_MODULE:= libthread_db
14 include $(BUILD_STATIC_LIBRARY)
16 #
17 # shared
18 #
20 include $(CLEAR_VARS)
22 LOCAL_WHOLE_STATIC_LIBRARIES := libthread_db
23 LOCAL_MODULE:=libthread_db
24 LOCAL_SHARED_LIBRARIES := libdl libc
26 # NOTE: Using --no-undefined results in a missing symbol that is defined inside
27 # gdbserver and is resolved at runtime. Since there is no library containing
28 # this symbol that we can link against, set LOCAL_ALLOW_UNDEFINED_SYMBOLS so
29 # that --no-undefined is removed from the linker flags.
30 LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
31 LOCAL_SYSTEM_SHARED_LIBRARIES :=
33 include $(BUILD_SHARED_LIBRARY)