Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16ff38a9 authored by Anton Hansson's avatar Anton Hansson Committed by Automerger Merge Worker
Browse files

Merge "Improve error message for dupe srcs in genrule" am: a5969bec am: 8d0b528a

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1850000

Change-Id: Ie2e9cc504226c5de4cadaa98106713abd86aafa2
parents 730f0b61 8d0b528a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
		}
	}