aboutsummaryrefslogtreecommitdiff
path: root/sysprop
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-12-15 22:29:02 +0900
committerJiyong Park <jiyong@google.com>2020-12-15 14:31:27 +0000
commit45bf82e95361bffb1cf0f17ebf45aef05a8e03b8 (patch)
tree67f3800a8d78968e280e69426d0f5c17b37a3704 /sysprop
parente8e86068921cf7d402d6781604f743a9e43e0e1c (diff)
Assert android.ApexModule interface for types having ApexModuleBase
Bug: 173472337 Test: m nothing Change-Id: Idf1c6cb9fff6c18e34c4636e38a662ba4ff7d538
Diffstat (limited to 'sysprop')
-rw-r--r--sysprop/sysprop_library.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysprop/sysprop_library.go b/sysprop/sysprop_library.go
index 6a53414ba..93a3fe0fb 100644
--- a/sysprop/sysprop_library.go
+++ b/sysprop/sysprop_library.go
@@ -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")