Merge "Add a variable that indicates build-time debugfs restrictions" am: 929cac7433
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1663602 Change-Id: I4c2c5ae473f23f289278b6d930a3a9fadc99a057
This commit is contained in:
@@ -1498,6 +1498,10 @@ func (c *deviceConfig) BuildBrokenTrebleSyspropNeverallow() bool {
|
|||||||
return c.config.productVariables.BuildBrokenTrebleSyspropNeverallow
|
return c.config.productVariables.BuildBrokenTrebleSyspropNeverallow
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *deviceConfig) BuildDebugfsRestrictionsEnabled() bool {
|
||||||
|
return c.config.productVariables.BuildDebugfsRestrictionsEnabled
|
||||||
|
}
|
||||||
|
|
||||||
func (c *deviceConfig) BuildBrokenVendorPropertyNamespace() bool {
|
func (c *deviceConfig) BuildBrokenVendorPropertyNamespace() bool {
|
||||||
return c.config.productVariables.BuildBrokenVendorPropertyNamespace
|
return c.config.productVariables.BuildBrokenVendorPropertyNamespace
|
||||||
}
|
}
|
||||||
|
@@ -385,6 +385,8 @@ type productVariables struct {
|
|||||||
BuildBrokenTrebleSyspropNeverallow bool `json:",omitempty"`
|
BuildBrokenTrebleSyspropNeverallow bool `json:",omitempty"`
|
||||||
BuildBrokenVendorPropertyNamespace bool `json:",omitempty"`
|
BuildBrokenVendorPropertyNamespace bool `json:",omitempty"`
|
||||||
|
|
||||||
|
BuildDebugfsRestrictionsEnabled bool `json:",omitempty"`
|
||||||
|
|
||||||
RequiresInsecureExecmemForSwiftshader bool `json:",omitempty"`
|
RequiresInsecureExecmemForSwiftshader bool `json:",omitempty"`
|
||||||
|
|
||||||
SelinuxIgnoreNeverallows bool `json:",omitempty"`
|
SelinuxIgnoreNeverallows bool `json:",omitempty"`
|
||||||
|
Reference in New Issue
Block a user