Merge "Add userbuild() macro for user-build-only policy" into oc-mr1-dev am: 8c8994f50b

am: 6395a91b0f

Change-Id: I95926f376ebb42c9b3109e7dec1245b19b4e438a
This commit is contained in:
Jeff Vander Stoep 2017-09-27 19:41:42 +00:00 committed by android-build-merger
commit 4bf8710a06

View file

@ -477,6 +477,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))) 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 # asan builds
# SELinux rules which apply only to asan builds # SELinux rules which apply only to asan builds