summaryrefslogtreecommitdiffstats
path: root/debuggerd/Android.mk
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-10-21 12:14:56 -0700
committerJeff Brown <jeffbrown@google.com>2011-10-22 16:43:00 -0700
commit13e715b491e876865e752a3a69dd6f347049a488 (patch)
tree1f4c2193ecf40157b01fed7b9ee7d04d7b963dfd /debuggerd/Android.mk
parent10484a068412613aaf3924f63a0b2f61400c7d1e (diff)
downloadsystem_core-13e715b491e876865e752a3a69dd6f347049a488.zip
system_core-13e715b491e876865e752a3a69dd6f347049a488.tar.gz
system_core-13e715b491e876865e752a3a69dd6f347049a488.tar.bz2
Use libcorkscrew in debuggerd.
Change-Id: I5e3645a39d96c808f87075b49111d0262a19a0c8
Diffstat (limited to 'debuggerd/Android.mk')
-rw-r--r--debuggerd/Android.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/debuggerd/Android.mk b/debuggerd/Android.mk
index 6cfe79b..f127363 100644
--- a/debuggerd/Android.mk
+++ b/debuggerd/Android.mk
@@ -5,12 +5,9 @@ ifneq ($(filter arm x86,$(TARGET_ARCH)),)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
-LOCAL_SRC_FILES:= debuggerd.c utility.c getevent.c $(TARGET_ARCH)/machine.c $(TARGET_ARCH)/unwind.c symbol_table.c
-ifeq ($(TARGET_ARCH),arm)
-LOCAL_SRC_FILES += $(TARGET_ARCH)/pr-support.c
-endif
+LOCAL_SRC_FILES:= debuggerd.c utility.c getevent.c $(TARGET_ARCH)/machine.c
-LOCAL_CFLAGS := -Wall
+LOCAL_CFLAGS := -Wall -Werror -std=gnu99
LOCAL_MODULE := debuggerd
ifeq ($(ARCH_ARM_HAVE_VFP),true)
@@ -20,7 +17,7 @@ ifeq ($(ARCH_ARM_HAVE_VFP_D32),true)
LOCAL_CFLAGS += -DWITH_VFP_D32
endif # ARCH_ARM_HAVE_VFP_D32
-LOCAL_STATIC_LIBRARIES := libcutils libc
+LOCAL_SHARED_LIBRARIES := libcutils libc libcorkscrew
include $(BUILD_EXECUTABLE)