Add preparers for python
Bug: 181070625 Test: m nothing Change-Id: I590ad62db6fd62719c83286780563cf6d55e3e17
This commit is contained in:
@@ -21,8 +21,12 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
android.RegisterModuleType("python_library_host", PythonLibraryHostFactory)
|
||||
android.RegisterModuleType("python_library", PythonLibraryFactory)
|
||||
registerPythonLibraryComponents(android.InitRegistrationContext)
|
||||
}
|
||||
|
||||
func registerPythonLibraryComponents(ctx android.RegistrationContext) {
|
||||
ctx.RegisterModuleType("python_library_host", PythonLibraryHostFactory)
|
||||
ctx.RegisterModuleType("python_library", PythonLibraryFactory)
|
||||
}
|
||||
|
||||
func PythonLibraryHostFactory() android.Module {
|
||||
|
Reference in New Issue
Block a user