Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a55aefd5 authored by Lukács T. Berki's avatar Lukács T. Berki Committed by Gerrit Code Review
Browse files

Merge "Print a correct error message when a non-hermetic tool is not found."

parents 2373e597 81583564
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -542,9 +542,8 @@ func (c *config) NonHermeticHostSystemTool(name string) string {
		}
	}
	panic(fmt.Errorf(
		"Unable to use '%s' as a host system tool for build system "+
			"hermeticity reasons. See build/soong/ui/build/paths/config.go "+
			"for the full list of allowed host tools on your system.", name))
		"Cannot find non-hermetic system tool '%s' on path '%s'",
		name, c.Getenv("PATH")))
}

// PrebuiltOS returns the name of the host OS used in prebuilts directories.