Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cded5ecf authored by Paul Duffin's avatar Paul Duffin
Browse files

Document java_system_modules

Bug: 142940300
Test: m nothing
Change-Id: Ic658226088615dbeeef15f17dbb095a968e0742d
parent a7b9f425
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)