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

Commit 16875ef6 authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

Merge "Introduce BOARD_KERNEL_BINARIES to soong" am: 60a3e7e7

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1378547

Change-Id: Ic95c0186eca6b6f3c1ea45c162ac8489efc10981
parents 8537c9cb 60a3e7e7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1271,3 +1271,7 @@ func (c *deviceConfig) DeviceSecondaryArchVariant() string {
func (c *deviceConfig) BoardUsesRecoveryAsBoot() bool {
	return Bool(c.config.productVariables.BoardUsesRecoveryAsBoot)
}

func (c *deviceConfig) BoardKernelBinaries() []string {
	return c.config.productVariables.BoardKernelBinaries
}
+2 −0
Original line number Diff line number Diff line
@@ -344,6 +344,8 @@ type productVariables struct {
	InstallExtraFlattenedApexes *bool `json:",omitempty"`

	BoardUsesRecoveryAsBoot *bool `json:",omitempty"`

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

func boolPtr(v bool) *bool {