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

Original change: https://android-review.googlesource.com/c/platform/build/+/1434013

Change-Id: Ifa7ed965e8df8c7111518e390b302f82d8f676d5
This commit is contained in:
Jingwen Chen 2020-10-21 09:24:21 +00:00 committed by Automerger Merge Worker
commit 2f2c36b8e1
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