diff --git a/android/config.go b/android/config.go index 92a21a7a1..10a78a542 100644 --- a/android/config.go +++ b/android/config.go @@ -1248,6 +1248,10 @@ func (c *deviceConfig) BoardKernelBinaries() []string { return c.config.productVariables.BoardKernelBinaries } +func (c *deviceConfig) BoardKernelModuleInterfaceVersions() []string { + return c.config.productVariables.BoardKernelModuleInterfaceVersions +} + // The ConfiguredJarList struct provides methods for handling a list of (apex, jar) pairs. // Such lists are used in the build system for things like bootclasspath jars or system server jars. // The apex part is either an apex name, or a special names "platform" or "system_ext". Jar is a diff --git a/android/variable.go b/android/variable.go index c1e1b42be..8799d58cf 100644 --- a/android/variable.go +++ b/android/variable.go @@ -345,7 +345,8 @@ type productVariables struct { BoardUsesRecoveryAsBoot *bool `json:",omitempty"` - BoardKernelBinaries []string `json:",omitempty"` + BoardKernelBinaries []string `json:",omitempty"` + BoardKernelModuleInterfaceVersions []string `json:",omitempty"` } func boolPtr(v bool) *bool {