Merge changes I07db8afc,Ia89e0239

* changes:
  Stop module types being SdkAware
  Replace usages of SdkAware in sdk module with Module
This commit is contained in:
Treehugger Robot
2023-01-07 14:46:22 +00:00
committed by Gerrit Code Review
14 changed files with 17 additions and 54 deletions

View File

@@ -48,7 +48,6 @@ func RegisterStubsBuildComponents(ctx android.RegistrationContext) {
// Droidstubs
type Droidstubs struct {
Javadoc
android.SdkBase
properties DroidstubsProperties
apiFile android.Path
@@ -179,7 +178,6 @@ func DroidstubsFactory() android.Module {
&module.Javadoc.properties)
InitDroiddocModule(module, android.HostAndDeviceSupported)
android.InitSdkAwareModule(module)
return module
}
@@ -927,7 +925,6 @@ type PrebuiltStubsSources struct {
android.ModuleBase
android.DefaultableModuleBase
prebuilt android.Prebuilt
android.SdkBase
properties PrebuiltStubsSourcesProperties
@@ -1007,7 +1004,6 @@ func PrebuiltStubsSourcesFactory() android.Module {
module.AddProperties(&module.properties)
android.InitPrebuiltModule(module, &module.properties.Srcs)
android.InitSdkAwareModule(module)
InitDroiddocModule(module, android.HostAndDeviceSupported)
return module
}