Skip to content
Snippets Groups Projects
Commit 994cbf4d authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

Add userbuild() macro for user-build-only policy

Particularly useful for suppressing selinux logspam for debug-only
permissions.

Bug: 65843095
Test: build, boot, and run tests on user and userdebug builds.
Change-Id: I18ce0b2cf1e96ca037e93309dddb476a150b677f
parent 5d8b059f
No related branches found
No related tags found
No related merge requests found
......@@ -459,6 +459,12 @@ define(`not_full_treble', ifelse(target_full_treble, `true', , $1))
#
define(`userdebug_or_eng', ifelse(target_build_variant, `eng', $1, ifelse(target_build_variant, `userdebug', $1)))
#####################################
# User builds
# SELinux rules which apply only to user builds
#
define(`userbuild', ifelse(target_build_variant, `user', $1, ))
#####################################
# asan builds
# SELinux rules which apply only to asan builds
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment