property_contexts: Drop COMPATIBLE_PROP guard
public/property_contexts needs to be included regardless of
API level so that the property *labels* are always included.
Else, devices without PRODUCT_COMPATIBLE_PROPERTY (shipping
API level <27) will run into denials because the props are
labeled `default_prop`.
As a side benefit, this reduces deviation in test matrices.
The guard was originally introduced in:
e49714542e
"Whitelist exported platform properties"
Test: Build for device without PRODUCT_COMPATIBLE_PROPERTY,
no more denials for accessing `default_prop` from e.g. HALs.
Change-Id: I5bbe5d078040bb26dd48d353953661c9375d2009
Signed-off-by: Felix <google@ix5.org>
This commit is contained in:
parent
f3f5163f0c
commit
342b58a2ee
@ -149,11 +149,8 @@ func (m *selinuxContextsModule) GenerateAndroidBuildActions(ctx android.ModuleCo
|
||||
inputs = append(inputs, segroup.SystemExtPrivateSrcs()...)
|
||||
} else {
|
||||
inputs = append(inputs, segroup.SystemPrivateSrcs()...)
|
||||
|
||||
if ctx.Config().ProductCompatibleProperty() {
|
||||
inputs = append(inputs, segroup.SystemPublicSrcs()...)
|
||||
}
|
||||
}
|
||||
|
||||
if proptools.Bool(m.properties.Reqd_mask) {
|
||||
inputs = append(inputs, segroup.SystemReqdMaskSrcs()...)
|
||||
|
Loading…
Reference in New Issue
Block a user