Merge "Add sepolicy compat versions to soong config" am: bac9e97c50
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1940897 Change-Id: I9739ec8516ba5e1e727e3f8ee6fc1404b02b37ff
This commit is contained in:
commit
44e4c47c47
2 changed files with 6 additions and 0 deletions
|
@ -1469,6 +1469,10 @@ func (c *deviceConfig) TotSepolicyVersion() string {
|
|||
return String(c.config.productVariables.TotSepolicyVersion)
|
||||
}
|
||||
|
||||
func (c *deviceConfig) PlatformSepolicyCompatVersions() []string {
|
||||
return c.config.productVariables.PlatformSepolicyCompatVersions
|
||||
}
|
||||
|
||||
func (c *deviceConfig) BoardSepolicyVers() string {
|
||||
if ver := String(c.config.productVariables.BoardSepolicyVers); ver != "" {
|
||||
return ver
|
||||
|
|
|
@ -364,6 +364,8 @@ type productVariables struct {
|
|||
PlatformSepolicyVersion *string `json:",omitempty"`
|
||||
TotSepolicyVersion *string `json:",omitempty"`
|
||||
|
||||
PlatformSepolicyCompatVersions []string `json:",omitempty"`
|
||||
|
||||
VendorVars map[string]map[string]string `json:",omitempty"`
|
||||
|
||||
Ndk_abis *bool `json:",omitempty"`
|
||||
|
|
Loading…
Reference in a new issue