Merge "Improve error message for dupe srcs in genrule"

This commit is contained in:
Anton Hansson 2022-02-18 15:40:19 +00:00 committed by Gerrit Code Review
commit a5969bec06

View file

@ -294,7 +294,7 @@ func (g *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) {
if _, exists := locationLabels[label]; !exists {
locationLabels[label] = loc
} else {
ctx.ModuleErrorf("multiple labels for %q, %q and %q",
ctx.ModuleErrorf("multiple locations for label %q: %q and %q (do you have duplicate srcs entries?)",
label, locationLabels[label], loc)
}
}