embedded.mk: move dependencies to sepolicy

Some selinux build packages are defined in embedded.mk,
others are defined in system/sepolicy/Android.mk. Move all
to sepolicy as a dependency of the phony package selinux_policy
which is defined in embedded.mk.

Test: build Marlin (Treble) and Angler (non-Treble)
Merged-In: I734c2909354349d146c6f78beb74bd990d9af30d
Change-Id: I734c2909354349d146c6f78beb74bd990d9af30d
This commit is contained in:
Jeff Vander Stoep 2017-08-22 13:21:44 -07:00 committed by Jeffrey Vander Stoep
parent 0d35b9fba3
commit f4941eb4a7
1 changed files with 2 additions and 12 deletions

View File

@ -85,20 +85,10 @@ PRODUCT_PACKAGES += \
system_manifest.xml \
system_compatibility_matrix.xml \
# SELinux packages
# SELinux packages are added as dependencies of the selinux_policy
# phony package.
PRODUCT_PACKAGES += \
nonplat_mac_permissions.xml \
nonplat_property_contexts \
nonplat_seapp_contexts \
nonplat_service_contexts \
nonplat_hwservice_contexts \
plat_mac_permissions.xml \
plat_property_contexts \
plat_seapp_contexts \
plat_service_contexts \
plat_hwservice_contexts \
selinux_policy \
vndservice_contexts
# AID Generation for
# <pwd.h> and <grp.h>