Add preparers for python

Bug: 181070625
Test: m nothing
Change-Id: I590ad62db6fd62719c83286780563cf6d55e3e17
This commit is contained in:
Paul Duffin
2021-03-17 21:57:08 +00:00
parent c60dd805ad
commit d0890452e3
6 changed files with 47 additions and 6 deletions

View File

@@ -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.