Merge "symlink_outputs: Add .KATI_SYMLINK_OUTPUTS to build/make/core"

This commit is contained in:
Jingwen Chen
2020-10-21 08:59:16 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 0 deletions

View File

@@ -2384,6 +2384,7 @@ $1:
exit 1; \
fi
ln -sfn $2 $1
$1: .KATI_SYMLINK_OUTPUTS := $1
)
$1
endef

View File

@@ -2610,6 +2610,7 @@ $(3): $(1)
@mkdir -p $(dir $$@)
@rm -rf $$@
$(hide) ln -sf $(2) $$@
$(3): .KATI_SYMLINK_OUTPUTS := $(3)
endef
# Copy an apk to a target location while removing classes*.dex