Add BUILD_BROKEN_VENDOR_SEAPP_USES_COREDOMAIN

Starting from Android V, vendor seapp_contexts files can't assign
coredomain to vendor apps, as it's Treble violation. This build broken
variable is to suppress the enforcement for devices launching with U or
prior.

Bug: 280547417
Test: set BUILD_BROKEN_VENDOR_SEAPP_USES_COREDOMAIN := true and build
Change-Id: Ic4b5309f0d9bab9b93e88988d1a5a942b2de220a
This commit is contained in:
Inseob Kim
2023-08-18 18:16:26 +09:00
parent c21f48def3
commit 0a7c819498
3 changed files with 16 additions and 10 deletions

View File

@@ -1948,6 +1948,10 @@ func (c *deviceConfig) BuildBrokenVendorPropertyNamespace() bool {
return c.config.productVariables.BuildBrokenVendorPropertyNamespace
}
func (c *deviceConfig) BuildBrokenVendorSeappUsesCoredomain() bool {
return c.config.productVariables.BuildBrokenVendorSeappUsesCoredomain
}
func (c *deviceConfig) BuildBrokenInputDir(name string) bool {
return InList(name, c.config.productVariables.BuildBrokenInputDirModules)
}