Revert "symlink_outputs: Add .KATI_SYMLINK_OUTPUTS to build/make..."

Revert submission 1433935-symlink_outputs

Reason for revert: symlink_outputs was added so bazel could run ninja files, but we abanoned that approach in roboleaf, and then roboleaf was cancelled entirely. Remove this feature so we're more compatible with upstream ninja / n2.

Reverted changes: /q/submissionid:1433935-symlink_outputs

Change-Id: I5a779695689148ed32037f7f82887c458a3587cd
This commit is contained in:
Cole Faust 2024-01-18 20:12:02 +00:00 committed by Gerrit Code Review
parent 7d7f94547a
commit 8f2283e6f2
2 changed files with 0 additions and 2 deletions

View file

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

View file

@ -2610,7 +2610,6 @@ $(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