From c0c5021eb1afc5acf0b31ccf354d0bb7c885a24a Mon Sep 17 00:00:00 2001 From: Jingwen Chen Date: Tue, 7 Jun 2022 10:07:22 +0000 Subject: [PATCH] Denylist more infinite symlinks in the tree. These new symlinks were added as part of an upstream main merge in https://android-review.googlesource.com/c/platform/external/autotest/+/2112105/-1..1 Test: bp2build Change-Id: I054be0f14bf114b19e1437937ccb598c3ab02e71 --- cmd/soong_build/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/soong_build/main.go b/cmd/soong_build/main.go index bd5a1bdf6..c548ef892 100644 --- a/cmd/soong_build/main.go +++ b/cmd/soong_build/main.go @@ -446,6 +446,8 @@ func getTemporaryExcludes() []string { // FIXME: 'autotest_lib' is a symlink back to external/autotest, and this causes an infinite symlink expansion error for Bazel excludes = append(excludes, "external/autotest/venv/autotest_lib") + excludes = append(excludes, "external/autotest/autotest_lib") + excludes = append(excludes, "external/autotest/client/autotest_lib/client") // FIXME: The external/google-fruit/extras/bazel_root/third_party/fruit dir is poison // It contains several symlinks back to real source dirs, and those source dirs contain BUILD files we want to ignore