summaryrefslogtreecommitdiffstats
path: root/core/dynamic_binary.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2010-09-07 10:29:34 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-07 10:29:34 -0700
commit30d68a3b9df5657ca0eefb063551202490a836fb (patch)
treedaf4713fb4c751842354348b3b35b49b5b53d5bf /core/dynamic_binary.mk
parent9314823c06d4434bf18d589c2fdea490428becf8 (diff)
parent817f07aef008dd3f32fed3603382123917fdec64 (diff)
downloadbuild-30d68a3b9df5657ca0eefb063551202490a836fb.zip
build-30d68a3b9df5657ca0eefb063551202490a836fb.tar.gz
build-30d68a3b9df5657ca0eefb063551202490a836fb.tar.bz2
am 817f07ae: Fix the unstripped path if LOCAL_MODULE_PATH is set. DO NOT MERGE
Merge commit '817f07aef008dd3f32fed3603382123917fdec64' into gingerbread-plus-aosp * commit '817f07aef008dd3f32fed3603382123917fdec64': Fix the unstripped path if LOCAL_MODULE_PATH is set. DO NOT MERGE
Diffstat (limited to 'core/dynamic_binary.mk')
-rw-r--r--core/dynamic_binary.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/dynamic_binary.mk b/core/dynamic_binary.mk
index c04deef..0fa7647 100644
--- a/core/dynamic_binary.mk
+++ b/core/dynamic_binary.mk
@@ -14,7 +14,12 @@ endif
LOCAL_UNSTRIPPED_PATH := $(strip $(LOCAL_UNSTRIPPED_PATH))
ifeq ($(LOCAL_UNSTRIPPED_PATH),)
- LOCAL_UNSTRIPPED_PATH := $(TARGET_OUT_$(LOCAL_MODULE_CLASS)_UNSTRIPPED)
+ ifeq ($(LOCAL_MODULE_PATH),)
+ LOCAL_UNSTRIPPED_PATH := $(TARGET_OUT_$(LOCAL_MODULE_CLASS)_UNSTRIPPED)
+ else
+ # We have to figure out the corresponding unstripped path if LOCAL_MODULE_PATH is customized.
+ LOCAL_UNSTRIPPED_PATH := $(TARGET_OUT_UNSTRIPPED)/$(patsubst $(PRODUCT_OUT)/%,%,$(LOCAL_MODULE_PATH))
+ endif
endif
# The name of the target file, without any path prepended.