diff --git a/python/python.go b/python/python.go index 945e2645f..e4c8e9481 100644 --- a/python/python.go +++ b/python/python.go @@ -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) {