Merge "Add a variable that indicates build-time debugfs restrictions" am: 929cac7433 am: 7525eff709

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1663602

Change-Id: If4e494f69236b1681ca0fb63a4efefa2acc70c1a
This commit is contained in:
Treehugger Robot
2021-04-09 01:24:23 +00:00
committed by Automerger Merge Worker
2 changed files with 6 additions and 0 deletions

View File

@@ -1498,6 +1498,10 @@ func (c *deviceConfig) BuildBrokenTrebleSyspropNeverallow() bool {
return c.config.productVariables.BuildBrokenTrebleSyspropNeverallow
}
func (c *deviceConfig) BuildDebugfsRestrictionsEnabled() bool {
return c.config.productVariables.BuildDebugfsRestrictionsEnabled
}
func (c *deviceConfig) BuildBrokenVendorPropertyNamespace() bool {
return c.config.productVariables.BuildBrokenVendorPropertyNamespace
}

View File

@@ -385,6 +385,8 @@ type productVariables struct {
BuildBrokenTrebleSyspropNeverallow bool `json:",omitempty"`
BuildBrokenVendorPropertyNamespace bool `json:",omitempty"`
BuildDebugfsRestrictionsEnabled bool `json:",omitempty"`
RequiresInsecureExecmemForSwiftshader bool `json:",omitempty"`
SelinuxIgnoreNeverallows bool `json:",omitempty"`