Merge "Improve error message for dupe srcs in genrule" am: a5969bec06
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1850000 Change-Id: I9a71dc9959dac54bb2792280be01944fde604a9a
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user