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

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

Add missing calls to InitSdkAwareModule

A follow up change will add methods to SdkBase which requires its
module field to have been initialized.

Bug: 181569894
Test: m nothing
Change-Id: I9b02f260ad3f82316cc7ab3b5717b7e81090b0d8
parent 7c876923
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -669,6 +669,7 @@ func LibraryHostFactory() android.Module {
	module.Module.properties.Installable = proptools.BoolPtr(true)

	android.InitApexModule(module)
	android.InitSdkAwareModule(module)
	InitJavaModule(module, android.HostSupported)
	return module
}
@@ -923,6 +924,7 @@ func TestFactory() android.Module {
	module.Module.dexpreopter.isTest = true
	module.Module.linter.test = true

	android.InitSdkAwareModule(module)
	InitJavaModule(module, android.HostAndDeviceSupported)
	return module
}
+1 −0
Original line number Diff line number Diff line
@@ -1756,6 +1756,7 @@ func SdkLibraryFactory() android.Module {

	module.InitSdkLibraryProperties()
	android.InitApexModule(module)
	android.InitSdkAwareModule(module)
	InitJavaModule(module, android.HostAndDeviceSupported)

	// Initialize the map from scope to scope specific properties.
+1 −0
Original line number Diff line number Diff line
@@ -115,6 +115,7 @@ func SystemModulesFactory() android.Module {
	module.AddProperties(&module.properties)
	android.InitAndroidArchModule(module, android.HostAndDeviceSupported, android.MultilibCommon)
	android.InitDefaultableModule(module)
	android.InitSdkAwareModule(module)
	return module
}