aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Fung <stevefung@google.com>2015-09-15 23:09:42 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-09-15 23:09:42 +0000
commitf462addf63ad4dcab1d31ec898d1def4e91fa60e (patch)
tree233a9679e514926de1ef3095e4907ac5daa7f132
parentd19041b231edd759efef82244bac80f89b45aae2 (diff)
parente3a7673a36a23c11ce23740ada39cc3b98db354d (diff)
downloadgoogle-breakpad-f462addf63ad4dcab1d31ec898d1def4e91fa60e.tar.gz
am e3a7673a: Build dump_syms for linux hosts
* commit 'e3a7673a36a23c11ce23740ada39cc3b98db354d': Build dump_syms for linux hosts
-rw-r--r--Android.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index c4e071a4..f899fe0b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -67,3 +67,35 @@ LOCAL_STATIC_LIBRARIES := breakpad_client
LOCAL_CLANG := true
include $(BUILD_EXECUTABLE)
+
+# dump_syms host tool.
+# =================================================
+include $(CLEAR_VARS)
+LOCAL_MODULE := dump_syms
+LOCAL_MODULE_HOST_OS := linux
+LOCAL_CLANG := true
+LOCAL_CPPFLAGS_linux := -DHAVE_A_OUT_H -Wno-unused-parameter
+LOCAL_CPP_EXTENSION := .cc
+LOCAL_C_INCLUDES := \
+ $(LOCAL_PATH)/src
+LOCAL_SRC_FILES := \
+ src/common/dwarf/bytereader.cc \
+ src/common/dwarf/dwarf2diehandler.cc \
+ src/common/dwarf/dwarf2reader.cc \
+ src/common/dwarf_cfi_to_module.cc \
+ src/common/dwarf_cu_to_module.cc \
+ src/common/dwarf_line_to_module.cc \
+ src/common/language.cc \
+ src/common/module.cc \
+ src/common/stabs_reader.cc \
+ src/common/stabs_to_module.cc
+LOCAL_SRC_FILES_linux := \
+ src/common/linux/crc32.cc \
+ src/common/linux/dump_symbols.cc \
+ src/common/linux/elfutils.cc \
+ src/common/linux/elf_symbols_to_module.cc \
+ src/common/linux/file_id.cc \
+ src/common/linux/linux_libc_support.cc \
+ src/common/linux/memory_mapped_file.cc \
+ src/tools/linux/dump_syms/dump_syms.cc
+include $(BUILD_HOST_EXECUTABLE) \ No newline at end of file