Merge "Expose selinux variables to Soong."
am: c5934c55c7
Change-Id: I5de6ed34ea485d3c46bd7d719a30d62b853395fd
This commit is contained in:
@@ -799,6 +799,22 @@ func (c *deviceConfig) PgoAdditionalProfileDirs() []string {
|
|||||||
return c.config.productVariables.PgoAdditionalProfileDirs
|
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 {
|
func (c *config) IntegerOverflowDisabledForPath(path string) bool {
|
||||||
if c.productVariables.IntegerOverflowExcludePaths == nil {
|
if c.productVariables.IntegerOverflowExcludePaths == nil {
|
||||||
return false
|
return false
|
||||||
|
@@ -209,6 +209,11 @@ type productVariables struct {
|
|||||||
|
|
||||||
PgoAdditionalProfileDirs []string `json:",omitempty"`
|
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"`
|
VendorVars map[string]map[string]string `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user