Lines Matching refs:label
113 label string member
217 tag := hostToolDependencyTag{label: tool}
227 func (c *Module) generateBazelBuildActions(ctx android.ModuleContext, label string) bool {
229 filePaths, ok := bazelCtx.GetOutputFiles(label, ctx.Arch().ArchType)
264 addLocationLabel := func(label string, loc location) {
266 firstLabel = label
268 if _, exists := locationLabels[label]; !exists {
269 locationLabels[label] = loc
272 label, locationLabels[label], loc)
310 addLocationLabel(tag.label, packagedToolLocation{specs[0]})
313 addLocationLabel(tag.label, toolLocation{android.Paths{path.Path()}})
320 addLocationLabel(tag.label, toolLocation{android.Paths{toolPath}})
330 seenTools[tag.label] = true
456 label := strings.TrimSpace(strings.TrimPrefix(name, "location "))
457 if loc, ok := locationLabels[label]; ok {
460 return reportError("label %q has no files", label)
463 label, label)
467 return reportError("unknown location label %q", label)
470 label := strings.TrimSpace(strings.TrimPrefix(name, "locations "))
471 if loc, ok := locationLabels[label]; ok {
474 return reportError("label %q has no files", label)
478 return reportError("unknown locations label %q", label)