From d0890452e33f39daa71448e87324892e59c3d11b Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Wed, 17 Mar 2021 21:57:08 +0000 Subject: Add preparers for python Bug: 181070625 Test: m nothing Change-Id: I590ad62db6fd62719c83286780563cf6d55e3e17 --- python/python.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python/python.go') 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. -- cgit v1.2.3