diff options
author | Paul Duffin <paulduffin@google.com> | 2021-03-17 21:57:08 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-03-17 23:56:29 +0000 |
commit | d0890452e33f39daa71448e87324892e59c3d11b (patch) | |
tree | 3c2e1add9e19eab714343c6d9c105c1de377cf00 /python/python.go | |
parent | c60dd805ad3a0091cf869d2afcdc468c773df4c3 (diff) |
Add preparers for python
Bug: 181070625
Test: m nothing
Change-Id: I590ad62db6fd62719c83286780563cf6d55e3e17
Diffstat (limited to 'python/python.go')
-rw-r--r-- | python/python.go | 6 |
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. |