Lines Matching refs:reportError
321 reportError := func(fmt string, args ...interface{}) (string, bool, error) {
329 return reportError("at least one `tools` or `tool_files` is required if $(location) is used")
333 return reportError("default label %q has no files", firstLabel)
335 return reportError("default label %q has multiple files, use $(locations %s) to reference it",
347 return reportError("$(depfile) used without depfile property")
357 return reportError("label %q has no files", label)
359 return reportError("label %q has multiple files, use $(locations %s) to reference it",
364 return reportError("unknown location label %q", label)
370 return reportError("label %q has no files", label)
374 return reportError("unknown locations label %q", label)
377 return reportError("unknown variable '$(%s)'", name)