diff options
Diffstat (limited to 'java/system_modules.go')
-rw-r--r-- | java/system_modules.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/system_modules.go b/java/system_modules.go index ed2fc1856..81e5cb462 100644 --- a/java/system_modules.go +++ b/java/system_modules.go @@ -92,6 +92,9 @@ func TransformJarsToSystemModules(ctx android.ModuleContext, jars android.Paths) return outDir, outputs.Paths() } +// java_system_modules creates a system module from a set of java libraries that can +// be referenced from the system_modules property. It must contain at a minimum the +// java.base module which must include classes from java.lang amongst other java packages. func SystemModulesFactory() android.Module { module := &SystemModules{} module.AddProperties(&module.properties) |