Revert "ANDROID: kheader: kheaders: Follow symlinks to source files"

This reverts commit a345ee7b53.

This causes merge issues with upstream patches and can be reapplied
later if really needed.

Bug: 276339429
Cc: Yifan Hong <elsk@google.com>
Change-Id: I7222970b51dfab52ab78ea4a2203b4d74003dcb8
Signed-off-by: Carlos Llamas <cmllamas@google.com>
This commit is contained in:
Carlos Llamas committed 2025-09-03 21:17:36 +00:00
1 parent 7964f0be92
commit 54568b8fa0
1 file changed
+2 -2
+2 -2
View File
@@ -66,13 +66,13 @@ if [ "$building_out_of_srctree" ]; then
cd $srctree
for f in $dir_list
do find "$f" -name "*.h";
done | tar -c --dereference -f - -T - | tar -xf - -C "${tmpdir}"
done | tar -c -f - -T - | tar -xf - -C "${tmpdir}"
)
fi
for f in $dir_list;
do find "$f" -name "*.h";
done | tar -c --dereference -f - -T - | tar -xf - -C "${tmpdir}"
done | tar -c -f - -T - | tar -xf - -C "${tmpdir}"
# Always exclude include/generated/utsversion.h
# Otherwise, the contents of the tarball may vary depending on the build steps.