Merge "Give strip depfile a unique name, properly include it"

This commit is contained in:
Treehugger Robot
2020-01-27 23:38:00 +00:00
committed by Gerrit Code Review

View File

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