Merge "Give strip depfile a unique name, properly include it" am: 15e0680af1 am: 57aa92a4e5 am: 94e182d955

Change-Id: Iefec891a6d7d8a90f64e13c9fdd07d7eaae752d4
This commit is contained in:
Automerger Merge Worker 2020-01-28 00:28:59 +00:00
commit bd4b5fa229
1 changed files with 2 additions and 2 deletions

View File

@ -132,8 +132,8 @@ ifneq (,$(my_strip_module))
CLANG_BIN=$(LLVM_PREBUILTS_PATH) \
CROSS_COMPILE=$(PRIVATE_TOOLS_PREFIX) \
XZ=$(XZ) \
$(SOONG_STRIP_PATH) -i $< -o $@ -d $@.d $(PRIVATE_STRIP_ARGS)
$(call include-depfile,$(strip_output).d)
$(SOONG_STRIP_PATH) -i $< -o $@ -d $@.strip.d $(PRIVATE_STRIP_ARGS)
$(call include-depfile,$(strip_output).strip.d,$(strip_output))
else
# Don't strip the binary, just copy it. We can't skip this step
# because a copy of the binary must appear at LOCAL_BUILT_MODULE.