Merge "Remove the special-casing of /dev from test path normalization." am: 5037e09ca0 am: 5f0c2d1516

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If01da8310052c492b67e9149a193fdf67ea1a32e
This commit is contained in:
Lukács T. Berki
2021-03-09 15:43:47 +00:00
committed by Automerger Merge Worker

View File

@@ -787,10 +787,6 @@ func NormalizePathForTesting(path Path) string {
return "<nil path>"
}
p := path.String()
// Allow absolute paths to /dev/
if strings.HasPrefix(p, "/dev/") {
return p
}
if w, ok := path.(WritablePath); ok {
rel, err := filepath.Rel(w.buildDir(), p)
if err != nil {