From a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 21 Oct 2008 07:00:00 -0700 Subject: Initial Contribution --- libthread_db/Android.mk | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 libthread_db/Android.mk (limited to 'libthread_db/Android.mk') diff --git a/libthread_db/Android.mk b/libthread_db/Android.mk new file mode 100644 index 0000000..3091bbc --- /dev/null +++ b/libthread_db/Android.mk @@ -0,0 +1,33 @@ +LOCAL_PATH:= $(call my-dir) + +# +# static +# + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + libthread_db.c + +LOCAL_MODULE:= libthread_db + +include $(BUILD_STATIC_LIBRARY) + +# +# shared +# + +include $(CLEAR_VARS) + +LOCAL_WHOLE_STATIC_LIBRARIES := libthread_db +LOCAL_MODULE:=libthread_db +LOCAL_SHARED_LIBRARIES := libdl + +# NOTE: Using --no-undefined results in a missing symbol that is defined inside +# gdbserver and is resolved at runtime. Since there is no library containing +# this symbol that we can link against, set LOCAL_ALLOW_UNDEFINED_SYMBOLS so +# that --no-undefined is removed from the linker flags. +LOCAL_ALLOW_UNDEFINED_SYMBOLS := true +LOCAL_SYSTEM_SHARED_LIBRARIES := + +include $(BUILD_SHARED_LIBRARY) -- cgit v1.1