Merge "Add missing calls to InitSdkAwareModule"
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user