Merge "Print a correct error message when a non-hermetic tool is not found." am: a55aefd57b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1625979 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I299a2ded24a68fb99a95da2341bd8a9ae7f587ea
This commit is contained in:
@@ -542,9 +542,8 @@ func (c *config) NonHermeticHostSystemTool(name string) string {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
panic(fmt.Errorf(
|
panic(fmt.Errorf(
|
||||||
"Unable to use '%s' as a host system tool for build system "+
|
"Cannot find non-hermetic system tool '%s' on path '%s'",
|
||||||
"hermeticity reasons. See build/soong/ui/build/paths/config.go "+
|
name, c.Getenv("PATH")))
|
||||||
"for the full list of allowed host tools on your system.", name))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// PrebuiltOS returns the name of the host OS used in prebuilts directories.
|
// PrebuiltOS returns the name of the host OS used in prebuilts directories.
|
||||||
|
Reference in New Issue
Block a user