Assert android.ApexModule interface for types having ApexModuleBase
Bug: 173472337 Test: m nothing Change-Id: Idf1c6cb9fff6c18e34c4636e38a662ba4ff7d538
This commit is contained in:
@@ -322,6 +322,9 @@ func (m *syspropLibrary) AndroidMk() android.AndroidMkData {
|
||||
}}
|
||||
}
|
||||
|
||||
var _ android.ApexModule = (*syspropLibrary)(nil)
|
||||
|
||||
// Implements android.ApexModule
|
||||
func (m *syspropLibrary) ShouldSupportSdkVersion(ctx android.BaseModuleContext,
|
||||
sdkVersion android.ApiLevel) error {
|
||||
return fmt.Errorf("sysprop_library is not supposed to be part of apex modules")
|
||||
|
Reference in New Issue
Block a user