Merge "Add BoardKernelModuleInterfaceVersions."

This commit is contained in:
Treehugger Robot 2020-08-07 18:37:36 +00:00 committed by Gerrit Code Review
commit f3ab72936b
2 changed files with 6 additions and 1 deletions

View file

@ -1248,6 +1248,10 @@ func (c *deviceConfig) BoardKernelBinaries() []string {
return c.config.productVariables.BoardKernelBinaries 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. // 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. // 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 // The apex part is either an apex name, or a special names "platform" or "system_ext". Jar is a

View file

@ -345,7 +345,8 @@ type productVariables struct {
BoardUsesRecoveryAsBoot *bool `json:",omitempty"` BoardUsesRecoveryAsBoot *bool `json:",omitempty"`
BoardKernelBinaries []string `json:",omitempty"` BoardKernelBinaries []string `json:",omitempty"`
BoardKernelModuleInterfaceVersions []string `json:",omitempty"`
} }
func boolPtr(v bool) *bool { func boolPtr(v bool) *bool {