Add commonSdkLibraryAndImportModule interface
The commonSdkLibraryAndImportModule defines the methods that a module which embeds the commonToSdkLibraryAndImport struct need to provide. Bug: 179354495 Test: m nothing Change-Id: I7a469ae03ea5c19922200284da08a9ae38a46751
This commit is contained in:
@@ -643,7 +643,7 @@ func LibraryFactory() android.Module {
|
||||
|
||||
module.addHostAndDeviceProperties()
|
||||
|
||||
module.initModuleAndImport(&module.ModuleBase)
|
||||
module.initModuleAndImport(module)
|
||||
|
||||
android.InitApexModule(module)
|
||||
android.InitSdkAwareModule(module)
|
||||
@@ -1496,7 +1496,7 @@ func ImportFactory() android.Module {
|
||||
&module.dexer.dexProperties,
|
||||
)
|
||||
|
||||
module.initModuleAndImport(&module.ModuleBase)
|
||||
module.initModuleAndImport(module)
|
||||
|
||||
module.dexProperties.Optimize.EnabledByDefault = false
|
||||
|
||||
|
Reference in New Issue
Block a user