Introduce BOARD_KERNEL_BINARIES to soong

Bug: 161563386
Test: use it

Change-Id: I8ff429a329a9aa2a8ab6c8b4501356a84a7aead6
This commit is contained in:
Yifan Hong
2020-07-29 09:51:57 -07:00
parent 4514d96e18
commit 97365ee425
2 changed files with 6 additions and 0 deletions

View File

@@ -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
}

View File

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