Fix bug in python module hasExtention.

Test: m nothing
Test: soong go tests
Change-Id: I1944a3bbb871bc1021c841d944e765bb0cadba86
This commit is contained in:
Liz Kammer 2020-11-16 11:30:55 -08:00
parent 68ecbaf614
commit 3dfd3ce478

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) {