Merge "Add more sepolicy variables to soong_config" am: 208d2962f0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826065 Change-Id: I25a8e93236a4bc76ea5654d7e999561b477d7fc9
This commit is contained in:
@@ -1448,6 +1448,10 @@ func (c *deviceConfig) PlatformSepolicyVersion() string {
|
||||
return String(c.config.productVariables.PlatformSepolicyVersion)
|
||||
}
|
||||
|
||||
func (c *deviceConfig) TotSepolicyVersion() string {
|
||||
return String(c.config.productVariables.TotSepolicyVersion)
|
||||
}
|
||||
|
||||
func (c *deviceConfig) BoardSepolicyVers() string {
|
||||
if ver := String(c.config.productVariables.BoardSepolicyVers); ver != "" {
|
||||
return ver
|
||||
@@ -1571,6 +1575,14 @@ func (c *deviceConfig) SepolicySplit() bool {
|
||||
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.
|
||||
// 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
|
||||
|
@@ -347,6 +347,7 @@ type productVariables struct {
|
||||
|
||||
BoardSepolicyVers *string `json:",omitempty"`
|
||||
PlatformSepolicyVersion *string `json:",omitempty"`
|
||||
TotSepolicyVersion *string `json:",omitempty"`
|
||||
|
||||
VendorVars map[string]map[string]string `json:",omitempty"`
|
||||
|
||||
@@ -410,6 +411,9 @@ type productVariables struct {
|
||||
SelinuxIgnoreNeverallows bool `json:",omitempty"`
|
||||
|
||||
SepolicySplit bool `json:",omitempty"`
|
||||
|
||||
SepolicyFreezeTestExtraDirs []string `json:",omitempty"`
|
||||
SepolicyFreezeTestExtraPrebuiltDirs []string `json:",omitempty"`
|
||||
}
|
||||
|
||||
func boolPtr(v bool) *bool {
|
||||
|
Reference in New Issue
Block a user