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:
commit
82a787869f
1 changed files with 2 additions and 2 deletions
|
@ -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')')
|
||||
|
|
Loading…
Reference in a new issue