symlink_outputs: Add .KATI_SYMLINK_OUTPUTS to build/make/core

Test: m
Bug: 160568334

Change-Id: Ie6fb4f16bb77845787d277857e17e6aac0a8c11a
This commit is contained in:
Jingwen Chen 2020-09-22 13:47:13 +00:00
parent 8d9added3c
commit 7d7f94547a
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