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

@@ -22,8 +22,12 @@ import (
// This file contains the module types for building Python test.
func init() {
android.RegisterModuleType("python_test_host", PythonTestHostFactory)
android.RegisterModuleType("python_test", PythonTestFactory)
registerPythonTestComponents(android.InitRegistrationContext)
}
func registerPythonTestComponents(ctx android.RegistrationContext) {
ctx.RegisterModuleType("python_test_host", PythonTestHostFactory)
ctx.RegisterModuleType("python_test", PythonTestFactory)
}
// Test option struct.