forked from openkylin/platform_build
Fix the unstripped path if LOCAL_MODULE_PATH is set.
Bug: 2953067 Change-Id: I12a0bdb1f3df4fa98bea70f60e0ce26bf863c924
This commit is contained in:
parent
f06675e2a4
commit
90ca11a2d3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue