Merge "Improve error message for dupe srcs in genrule"
This commit is contained in:
commit
a5969bec06
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue