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
This commit is contained in:
parent
7c8769231b
commit
b6b89a4074
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue