2009-03-04 03:32:55 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
2014-01-11 00:05:12 +00:00
|
|
|
|
2014-03-21 23:58:30 +00:00
|
|
|
include $(CLEAR_VARS)
|
2014-01-11 00:05:12 +00:00
|
|
|
|
2014-03-21 23:58:30 +00:00
|
|
|
LOCAL_SRC_FILES:= \
|
2014-06-03 22:12:07 +00:00
|
|
|
backtrace.cpp \
|
|
|
|
debuggerd.cpp \
|
|
|
|
getevent.cpp \
|
|
|
|
tombstone.cpp \
|
|
|
|
utility.cpp \
|
2009-03-04 03:32:55 +00:00
|
|
|
|
2014-03-21 23:58:30 +00:00
|
|
|
LOCAL_SRC_FILES_arm := arm/machine.cpp
|
|
|
|
LOCAL_SRC_FILES_arm64 := arm64/machine.cpp
|
|
|
|
LOCAL_SRC_FILES_mips := mips/machine.cpp
|
2014-05-14 19:33:26 +00:00
|
|
|
LOCAL_SRC_FILES_mips64 := mips/machine.cpp
|
2014-03-21 23:58:30 +00:00
|
|
|
LOCAL_SRC_FILES_x86 := x86/machine.cpp
|
|
|
|
LOCAL_SRC_FILES_x86_64 := x86_64/machine.cpp
|
|
|
|
|
2014-06-03 22:12:07 +00:00
|
|
|
LOCAL_CPPFLAGS := \
|
|
|
|
-std=gnu++11 \
|
|
|
|
-W -Wall -Wextra \
|
|
|
|
-Wunused \
|
|
|
|
-Werror \
|
2014-02-13 06:32:07 +00:00
|
|
|
|
2014-03-21 23:58:30 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
2014-06-03 22:12:07 +00:00
|
|
|
libbacktrace \
|
|
|
|
libcutils \
|
|
|
|
liblog \
|
|
|
|
libselinux \
|
2014-03-21 23:58:30 +00:00
|
|
|
|
|
|
|
include external/stlport/libstlport.mk
|
|
|
|
|
|
|
|
LOCAL_MODULE := debuggerd
|
|
|
|
LOCAL_MODULE_STEM_32 := debuggerd
|
|
|
|
LOCAL_MODULE_STEM_64 := debuggerd64
|
|
|
|
LOCAL_MULTILIB := both
|
2014-06-03 22:12:07 +00:00
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Android.mk
|
2014-03-21 23:58:30 +00:00
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := crasher.c
|
|
|
|
LOCAL_SRC_FILES_arm := arm/crashglue.S
|
|
|
|
LOCAL_SRC_FILES_arm64 := arm64/crashglue.S
|
|
|
|
LOCAL_SRC_FILES_mips := mips/crashglue.S
|
2014-05-14 19:33:26 +00:00
|
|
|
LOCAL_SRC_FILES_mips64 := mips/crashglue.S
|
2014-03-21 23:58:30 +00:00
|
|
|
LOCAL_SRC_FILES_x86 := x86/crashglue.S
|
|
|
|
LOCAL_SRC_FILES_x86_64 := x86_64/crashglue.S
|
2009-03-04 03:32:55 +00:00
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
|
2011-01-24 01:51:54 +00:00
|
|
|
LOCAL_MODULE_TAGS := optional
|
2014-04-30 16:24:08 +00:00
|
|
|
LOCAL_CFLAGS += -fstack-protector-all -Werror -Wno-free-nonheap-object
|
2014-03-21 23:58:30 +00:00
|
|
|
#LOCAL_FORCE_STATIC_EXECUTABLE := true
|
2013-04-10 05:03:45 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils liblog libc
|
2014-03-21 23:58:30 +00:00
|
|
|
|
|
|
|
LOCAL_MODULE := crasher
|
|
|
|
LOCAL_MODULE_STEM_32 := crasher
|
|
|
|
LOCAL_MODULE_STEM_64 := crasher64
|
|
|
|
LOCAL_MULTILIB := both
|
|
|
|
|
2009-03-04 03:32:55 +00:00
|
|
|
include $(BUILD_EXECUTABLE)
|