prebuilt_apis should create a java_system_modules_import

Previously it was creating a java_system_modules which worked fine
because apart from the prebuilt nature the two are functionally
identical. However a follow up change will differentiate between them
which would break this code.

Bug: 182402568
Test: m nothing
Change-Id: Ifc13ce31235494e338d730c61a99d8887c5a2c5b
This commit is contained in:
Paul Duffin 2021-03-11 07:56:22 +00:00
parent a55aefd57b
commit d6c2a65211

View file

@ -178,7 +178,7 @@ func createSystemModules(mctx android.LoadHookContext, apiver string) {
props.Name = proptools.StringPtr(prebuiltApiModuleName(mctx, "system_modules", "public", apiver))
props.Libs = append(props.Libs, prebuiltApiModuleName(mctx, "core-for-system-modules", "public", apiver))
mctx.CreateModule(SystemModulesFactory, &props)
mctx.CreateModule(systemModulesImportFactory, &props)
}
func prebuiltSdkSystemModules(mctx android.LoadHookContext, p *prebuiltApis) {