Update srcs_test to handle files from local_repositories.
Update srcs_test to handle files from local_repositories.

Assumes the local_repository is under third_party.

Part of #6601.

Closes #6605.

PiperOrigin-RevId: 220469868

safarmer/bazel,ButterflyNetwork/bazel,werkt/bazel,safarmer/bazel,bazelbuild/bazel,werkt/bazel,werkt/bazel,ulfjack/bazel,ulfjack/bazel,meteorcloudy/bazel,dslomov/bazel,ulfjack/bazel,dslomov/bazel-windows,akira-baruah/bazel,twitter-forks/bazel,meteorcloudy/bazel,akira-baruah/bazel,bazelbuild/bazel,ButterflyNetwork/bazel,twitter-forks/bazel,bazelbuild/bazel,safarmer/bazel,ButterflyNetwork/bazel,davidzchen/bazel,katre/bazel,twitter-forks/bazel,cushon/bazel,davidzchen/bazel,davidzchen/bazel,katre/bazel,cushon/bazel,aehlig/bazel,cushon/bazel,dslomov/bazel,ButterflyNetwork/bazel,safarmer/bazel,meteorcloudy/bazel,meteorcloudy/bazel,twitter-forks/bazel,dslomov/bazel-windows,perezd/bazel,perezd/bazel,katre/bazel,twitter-forks/bazel,dslomov/bazel-windows,aehlig/bazel,dslomov/bazel-windows,cushon/bazel,perezd/bazel,bazelbuild/bazel,ulfjack/bazel,akira-baruah/bazel,perezd/bazel,aehlig/bazel,davidzchen/bazel,perezd/bazel,meteorcloudy/bazel,ButterflyNetwork/bazel,bazelbuild/bazel,perezd/bazel,cushon/bazel,katre/bazel,safarmer/bazel,ulfjack/bazel,aehlig/bazel,dslomov/bazel-windows,davidzchen/bazel,dslomov/bazel,meteorcloudy/bazel,ButterflyNetwork/bazel,dslomov/bazel,davidzchen/bazel,safarmer/bazel,bazelbuild/bazel,katre/bazel,perezd/bazel,akira-baruah/bazel,dslomov/bazel,werkt/bazel,cushon/bazel,ulfjack/bazel,ulfjack/bazel,katre/bazel,akira-baruah/bazel,aehlig/bazel,akira-baruah/bazel,werkt/bazel,twitter-forks/bazel,meteorcloudy/bazel,dslomov/bazel,dslomov/bazel-windows,aehlig/bazel,aehlig/bazel,dslomov/bazel,twitter-forks/bazel,werkt/bazel,davidzchen/bazel