diff options
author | 2024-07-29 12:56:51 +0000 | |
---|---|---|
committer | 2024-10-08 06:53:27 +0000 | |
commit | 1e613d24f12aa6acb01861105c3b57d2e44135b3 (patch) | |
tree | a39ebb45095de8934fa9cfe0a993d714717437ac /android/module.go | |
parent | 56d95dc46c50e0c9384497cdb56ca390bedea56a (diff) |
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
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go index 44f7583a2..142cffa99 100644 --- a/android/module.go +++ b/android/module.go @@ -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)) |