Merge "Fix bug in python module hasExtention." am: bc1f77e590

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

Change-Id: I441efad8ab0bb8c5bca42d4244fc7f1d23be741e
This commit is contained in:
Treehugger Robot 2020-11-16 23:08:22 +00:00 committed by Automerger Merge Worker
commit 18878365a6

View file

@ -300,7 +300,7 @@ func hasSrcExt(srcs []string, ext string) bool {
}
func (p *Module) hasSrcExt(ctx android.BottomUpMutatorContext, ext string) bool {
return hasSrcExt(p.properties.Srcs, protoExt)
return hasSrcExt(p.properties.Srcs, ext)
}
func (p *Module) DepsMutator(ctx android.BottomUpMutatorContext) {