Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 42bef8d0 authored by Yifan Hong's avatar Yifan Hong
Browse files

Add BoardKernelModuleInterfaceVersions.

This is a list of KMI versions for this board. Only gki_apex modules
with matching kmi_version field is enabled.

Test: build GKI apexes
Bug: 162888350
Change-Id: Ieb2116b79e3985ba15155a3cb8a2c340b46473c7
parent 217a1e40
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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
+2 −1
Original line number Diff line number Diff line
@@ -346,6 +346,7 @@ type productVariables struct {
	BoardUsesRecoveryAsBoot *bool `json:",omitempty"`

	BoardKernelBinaries                []string `json:",omitempty"`
	BoardKernelModuleInterfaceVersions []string `json:",omitempty"`
}

func boolPtr(v bool) *bool {