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:
@@ -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
|
||||
}
|
||||
|
@@ -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"`
|
||||
|
Reference in New Issue
Block a user