summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
authorLiz Kammer <eakammer@google.com>2020-11-16 11:30:55 -0800
committerLiz Kammer <eakammer@google.com>2020-11-16 11:30:55 -0800
commit3dfd3ce4785480d46f6783c91398f2694d64b033 (patch)
tree272d1b8fb34a83cdf21ea534e49c9bb16bf3a9d7 /python/python.go
parent68ecbaf614f7a4518357a0ab2b63f98e83778652 (diff)
Fix bug in python module hasExtention.
Test: m nothing Test: soong go tests Change-Id: I1944a3bbb871bc1021c841d944e765bb0cadba86
Diffstat (limited to 'python/python.go')
-rw-r--r--python/python.go2
1 files changed, 1 insertions, 1 deletions
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) {