Merge "Use board api level for seapp coredomain check" into main

This commit is contained in:
Treehugger Robot
2023-08-29 01:09:37 +00:00
committed by Gerrit Code Review
2 changed files with 6 additions and 0 deletions

View File

@@ -2081,3 +2081,7 @@ func (c *config) SetApiLibraries(libs []string) {
func (c *config) GetApiLibraries() map[string]struct{} {
return c.apiLibraries
}
func (c *deviceConfig) CheckVendorSeappViolations() bool {
return Bool(c.config.productVariables.CheckVendorSeappViolations)
}

View File

@@ -486,6 +486,8 @@ type ProductVariables struct {
ReleaseAconfigFlagDefaultPermission string `json:",omitempty"`
KeepVndk *bool `json:",omitempty"`
CheckVendorSeappViolations *bool `json:",omitempty"`
}
func boolPtr(v bool) *bool {