Merge "Add more sepolicy variables to soong_config"
This commit is contained in:
@@ -1448,6 +1448,10 @@ func (c *deviceConfig) PlatformSepolicyVersion() string {
|
|||||||
return String(c.config.productVariables.PlatformSepolicyVersion)
|
return String(c.config.productVariables.PlatformSepolicyVersion)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *deviceConfig) TotSepolicyVersion() string {
|
||||||
|
return String(c.config.productVariables.TotSepolicyVersion)
|
||||||
|
}
|
||||||
|
|
||||||
func (c *deviceConfig) BoardSepolicyVers() string {
|
func (c *deviceConfig) BoardSepolicyVers() string {
|
||||||
if ver := String(c.config.productVariables.BoardSepolicyVers); ver != "" {
|
if ver := String(c.config.productVariables.BoardSepolicyVers); ver != "" {
|
||||||
return ver
|
return ver
|
||||||
@@ -1571,6 +1575,14 @@ func (c *deviceConfig) SepolicySplit() bool {
|
|||||||
return c.config.productVariables.SepolicySplit
|
return c.config.productVariables.SepolicySplit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *deviceConfig) SepolicyFreezeTestExtraDirs() []string {
|
||||||
|
return c.config.productVariables.SepolicyFreezeTestExtraDirs
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *deviceConfig) SepolicyFreezeTestExtraPrebuiltDirs() []string {
|
||||||
|
return c.config.productVariables.SepolicyFreezeTestExtraPrebuiltDirs
|
||||||
|
}
|
||||||
|
|
||||||
// The ConfiguredJarList struct provides methods for handling a list of (apex, jar) pairs.
|
// 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.
|
// 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
|
// The apex part is either an apex name, or a special names "platform" or "system_ext". Jar is a
|
||||||
|
@@ -346,6 +346,7 @@ type productVariables struct {
|
|||||||
|
|
||||||
BoardSepolicyVers *string `json:",omitempty"`
|
BoardSepolicyVers *string `json:",omitempty"`
|
||||||
PlatformSepolicyVersion *string `json:",omitempty"`
|
PlatformSepolicyVersion *string `json:",omitempty"`
|
||||||
|
TotSepolicyVersion *string `json:",omitempty"`
|
||||||
|
|
||||||
VendorVars map[string]map[string]string `json:",omitempty"`
|
VendorVars map[string]map[string]string `json:",omitempty"`
|
||||||
|
|
||||||
@@ -409,6 +410,9 @@ type productVariables struct {
|
|||||||
SelinuxIgnoreNeverallows bool `json:",omitempty"`
|
SelinuxIgnoreNeverallows bool `json:",omitempty"`
|
||||||
|
|
||||||
SepolicySplit bool `json:",omitempty"`
|
SepolicySplit bool `json:",omitempty"`
|
||||||
|
|
||||||
|
SepolicyFreezeTestExtraDirs []string `json:",omitempty"`
|
||||||
|
SepolicyFreezeTestExtraPrebuiltDirs []string `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func boolPtr(v bool) *bool {
|
func boolPtr(v bool) *bool {
|
||||||
|
Reference in New Issue
Block a user