diff --git a/android/testing.go b/android/testing.go index 2c243729e..4eb616a04 100644 --- a/android/testing.go +++ b/android/testing.go @@ -787,10 +787,6 @@ func NormalizePathForTesting(path Path) string { return "" } 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 {