Merge "Introduce BOARD_KERNEL_BINARIES to soong"

This commit is contained in:
Yifan Hong 2020-07-31 19:13:44 +00:00 committed by Gerrit Code Review
commit 60a3e7e7ca
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 {