From f4941eb4a763bd6d8a3c6b151f198841f9d352ce Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Tue, 22 Aug 2017 13:21:44 -0700 Subject: [PATCH] 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 --- target/product/embedded.mk | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/target/product/embedded.mk b/target/product/embedded.mk index 6217883a79..349abd479d 100644 --- a/target/product/embedded.mk +++ b/target/product/embedded.mk @@ -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 # and