commit | a5969bec06e1e73f73e97b516024e184cab87716 | [log] [tgz] |
---|---|---|
author | Anton Hansson <hansson@google.com> | Fri Feb 18 15:40:19 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Feb 18 15:40:19 2022 +0000 |
tree | 3386d8ec14400f86ef342607f97bfb4b5b85a220 | |
parent | 72518f45e9582b67fd0930547eb636cfc62f816e [diff] | |
parent | 7cd41e5a081c42e4029cf945f6b19d1f54474872 [diff] |
Merge "Improve error message for dupe srcs in genrule"
diff --git a/genrule/genrule.go b/genrule/genrule.go index 1679a57..8282426 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go
@@ -294,7 +294,7 @@ 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) } }