Merge "Fix flagging macros" into main am: c8fa84b81f

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2835913

Change-Id: Id956f998e434f5019da248fc226e536d2648dafa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-11-20 02:02:56 +00:00 committed by Automerger Merge Worker
commit 82a787869f

View file

@ -1,9 +1,9 @@
####################################
# is_flag_enabled(flag, rules)
# SELinux rules which apply only if given feature is turned on
define(`is_flag_enabled', `ifelse(target_flag_$1, `true', $2, )')
define(`is_flag_enabled', `ifelse(target_flag_$1, `true', `$2')')
####################################
# is_flag_disabled(flag, rules)
# SELinux rules which apply only if given feature is turned off
define(`is_flag_disabled', `ifelse(target_flag_$1, `true', , $2)')
define(`is_flag_disabled', `ifelse(target_flag_$1, `true', , `$2')')