diff options
author | Ying Wang <wangying@google.com> | 2011-03-14 11:44:57 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2011-03-14 11:44:57 -0700 |
commit | 374b3256d270f9320176330e4f836a1cb3955899 (patch) | |
tree | c865763bbeb76fd52f9a0c9192591cfe2c251edb /core/dynamic_binary.mk | |
parent | b375e71d306f2fd356b9b356b636e568c4581fa1 (diff) | |
download | build-374b3256d270f9320176330e4f836a1cb3955899.zip build-374b3256d270f9320176330e4f836a1cb3955899.tar.gz build-374b3256d270f9320176330e4f836a1cb3955899.tar.bz2 |
Make a copy of symbol files after prelinking is removed.
Change-Id: I1628b54fc747154d48f213c634b081e43eb41696
Diffstat (limited to 'core/dynamic_binary.mk')
-rw-r--r-- | core/dynamic_binary.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/core/dynamic_binary.mk b/core/dynamic_binary.mk index 437361a..0ca1858 100644 --- a/core/dynamic_binary.mk +++ b/core/dynamic_binary.mk @@ -86,11 +86,20 @@ else compress_output := $(compress_input) endif +########################################################### +## Store a copy with symbols for symbolic debugging +########################################################### +symbolic_input := $(compress_output) +symbolic_output := $(LOCAL_UNSTRIPPED_PATH)/$(LOCAL_BUILT_MODULE_STEM) +$(symbolic_output) : $(symbolic_input) | $(ACP) + @echo "target Symbolic: $(PRIVATE_MODULE) ($@)" + $(copy-file-to-target) + ########################################################### ## Strip ########################################################### -strip_input := $(compress_output) +strip_input := $(symbolic_output) strip_output := $(LOCAL_BUILT_MODULE) ifeq ($(strip $(LOCAL_STRIP_MODULE)),) @@ -122,4 +131,5 @@ endif # LOCAL_STRIP_MODULE $(cleantarget): PRIVATE_CLEAN_FILES := \ $(PRIVATE_CLEAN_FILES) \ $(linked_module) \ + $(symbolic_output) \ $(compress_output) |