From 6ad14c76e3767c0a8d8d11286bd0003958a6ceeb Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep <jeffv@google.com> Date: Tue, 22 Aug 2017 13:29:53 -0700 Subject: [PATCH] move build 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) Change-Id: Ib0443ad3da600447fbb51f2e9f91de04dcf5f9f6 (cherry picked from commit ec6f07d6967b1828b26e8cf4580cc193c2997163) --- Android.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Android.mk b/Android.mk index f12ba9626..5fbed9a78 100644 --- a/Android.mk +++ b/Android.mk @@ -213,7 +213,18 @@ endif LOCAL_REQUIRED_MODULES += \ nonplat_file_contexts \ + nonplat_mac_permissions.xml \ + nonplat_property_contexts \ + nonplat_seapp_contexts \ + nonplat_service_contexts \ + nonplat_hwservice_contexts \ plat_file_contexts \ + plat_mac_permissions.xml \ + plat_property_contexts \ + plat_seapp_contexts \ + plat_service_contexts \ + plat_hwservice_contexts \ + vndservice_contexts \ ifneq ($(with_asan),true) LOCAL_REQUIRED_MODULES += \ -- GitLab