Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e613d24 authored by kellyhung's avatar kellyhung
Browse files

Add product variable SelinuxIgnoreNeverallows for sepolicy

This topic also fix build fail on git_main on seahawk-next-userdebug(b/371922616)

Bug: 350881031
Test: Presubmits
Change-Id: I7dbfadde100d833994f3d0429e358ff10d26fc6e
parent 56d95dc4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2348,6 +2348,8 @@ func (e configurationEvalutor) EvaluateConfiguration(condition proptools.Configu
		case "use_debug_art":
			// TODO(b/234351700): Remove once ART does not have separated debug APEX
			return proptools.ConfigurableValueBool(ctx.Config().UseDebugArt())
		case "selinux_ignore_neverallows":
			return proptools.ConfigurableValueBool(ctx.Config().SelinuxIgnoreNeverallows())
		default:
			// TODO(b/323382414): Might add these on a case-by-case basis
			ctx.OtherModulePropertyErrorf(m, property, fmt.Sprintf("TODO(b/323382414): Product variable %q is not yet supported in selects", variable))
+3 −0
Original line number Diff line number Diff line
@@ -193,6 +193,9 @@ type variableProperties struct {
			Required               []string
			Vintf_fragment_modules []string
		}
		SelinuxIgnoreNeverallows struct {
			Required []string
		}
	} `android:"arch_variant"`
}