summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-11-16 22:56:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-11-16 22:56:52 +0000
commitbc1f77e59017ee55fbdaff0d0d8f5cd82d85b47d (patch)
treea0e57297f7d635d7b70d29c2f1c4b044a77a0375
parent0066864a0235c7ce2bd57de775a39db2bc806cfa (diff)
parent3dfd3ce4785480d46f6783c91398f2694d64b033 (diff)
Merge "Fix bug in python module hasExtention."
-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) {