Merge "Assert android.ApexModule interface for types having ApexModuleBase"

This commit is contained in:
Treehugger Robot
2020-12-17 04:14:35 +00:00
committed by Gerrit Code Review
8 changed files with 39 additions and 0 deletions

View File

@@ -547,6 +547,9 @@ func (g *Module) AndroidMk() android.AndroidMkData {
}
}
var _ android.ApexModule = (*Module)(nil)
// Implements android.ApexModule
func (g *Module) ShouldSupportSdkVersion(ctx android.BaseModuleContext,
sdkVersion android.ApiLevel) error {
// Because generated outputs are checked by client modules(e.g. cc_library, ...)