Merge "Expose selinux variables to Soong."
This commit is contained in:
commit
c5934c55c7
|
@ -799,6 +799,22 @@ func (c *deviceConfig) PgoAdditionalProfileDirs() []string {
|
|||
return c.config.productVariables.PgoAdditionalProfileDirs
|
||||
}
|
||||
|
||||
func (c *deviceConfig) VendorSepolicyDirs() []string {
|
||||
return c.config.productVariables.BoardVendorSepolicyDirs
|
||||
}
|
||||
|
||||
func (c *deviceConfig) OdmSepolicyDirs() []string {
|
||||
return c.config.productVariables.BoardOdmSepolicyDirs
|
||||
}
|
||||
|
||||
func (c *deviceConfig) PlatPublicSepolicyDir() string {
|
||||
return c.config.productVariables.BoardPlatPublicSepolicyDir
|
||||
}
|
||||
|
||||
func (c *deviceConfig) PlatPrivateSepolicyDir() string {
|
||||
return c.config.productVariables.BoardPlatPrivateSepolicyDir
|
||||
}
|
||||
|
||||
func (c *config) IntegerOverflowDisabledForPath(path string) bool {
|
||||
if c.productVariables.IntegerOverflowExcludePaths == nil {
|
||||
return false
|
||||
|
|
|
@ -209,6 +209,11 @@ type productVariables struct {
|
|||
|
||||
PgoAdditionalProfileDirs []string `json:",omitempty"`
|
||||
|
||||
BoardVendorSepolicyDirs []string `json:",omitempty"`
|
||||
BoardOdmSepolicyDirs []string `json:",omitempty"`
|
||||
BoardPlatPublicSepolicyDir string `json:",omitempty"`
|
||||
BoardPlatPrivateSepolicyDir string `json:",omitempty"`
|
||||
|
||||
VendorVars map[string]map[string]string `json:",omitempty"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue