diff --git a/build/soong/selinux_contexts.go b/build/soong/selinux_contexts.go index 03f8f199f..6a7123bd2 100644 --- a/build/soong/selinux_contexts.go +++ b/build/soong/selinux_contexts.go @@ -149,10 +149,7 @@ 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()...) - } + inputs = append(inputs, segroup.SystemPublicSrcs()...) } if proptools.Bool(m.properties.Reqd_mask) {