summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
Diffstat (limited to 'python/python.go')
-rw-r--r--python/python.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/python.go b/python/python.go
index a078c0b58..4444a70e6 100644
--- a/python/python.go
+++ b/python/python.go
@@ -29,7 +29,11 @@ import (
)
func init() {
- android.PreDepsMutators(RegisterPythonPreDepsMutators)
+ registerPythonMutators(android.InitRegistrationContext)
+}
+
+func registerPythonMutators(ctx android.RegistrationContext) {
+ ctx.PreDepsMutators(RegisterPythonPreDepsMutators)
}
// Exported to support other packages using Python modules in tests.