Merge "Account for multiple BOARD_PLAT_PUBLIC[PRIVATE]_SEPOLICY_DIR dirs" am: 542d60062f
am: 01f63e2954
Change-Id: If6b1ce0b6d30c0d663b1cb644b900e77b435c998
This commit is contained in:
@@ -811,12 +811,12 @@ func (c *deviceConfig) OdmSepolicyDirs() []string {
|
|||||||
return c.config.productVariables.BoardOdmSepolicyDirs
|
return c.config.productVariables.BoardOdmSepolicyDirs
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *deviceConfig) PlatPublicSepolicyDir() string {
|
func (c *deviceConfig) PlatPublicSepolicyDirs() []string {
|
||||||
return c.config.productVariables.BoardPlatPublicSepolicyDir
|
return c.config.productVariables.BoardPlatPublicSepolicyDirs
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *deviceConfig) PlatPrivateSepolicyDir() string {
|
func (c *deviceConfig) PlatPrivateSepolicyDirs() []string {
|
||||||
return c.config.productVariables.BoardPlatPrivateSepolicyDir
|
return c.config.productVariables.BoardPlatPrivateSepolicyDirs
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *config) IntegerOverflowDisabledForPath(path string) bool {
|
func (c *config) IntegerOverflowDisabledForPath(path string) bool {
|
||||||
|
@@ -225,10 +225,10 @@ type productVariables struct {
|
|||||||
|
|
||||||
PgoAdditionalProfileDirs []string `json:",omitempty"`
|
PgoAdditionalProfileDirs []string `json:",omitempty"`
|
||||||
|
|
||||||
BoardVendorSepolicyDirs []string `json:",omitempty"`
|
BoardVendorSepolicyDirs []string `json:",omitempty"`
|
||||||
BoardOdmSepolicyDirs []string `json:",omitempty"`
|
BoardOdmSepolicyDirs []string `json:",omitempty"`
|
||||||
BoardPlatPublicSepolicyDir string `json:",omitempty"`
|
BoardPlatPublicSepolicyDirs []string `json:",omitempty"`
|
||||||
BoardPlatPrivateSepolicyDir string `json:",omitempty"`
|
BoardPlatPrivateSepolicyDirs []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