From 617e8535606ad1e55a2c9bc0f487260d91790ffa Mon Sep 17 00:00:00 2001 From: Yifan Hong <elsk@google.com> Date: Wed, 7 Feb 2018 11:13:57 -0800 Subject: [PATCH] Use PLATFORM_SEPOLICY_COMPAT_VERSIONS This is a list of sepolicy versions that the framework supports. Test: builds and boots Bug: 67920434 Change-Id: I0f408fa3967214b47a64101760dbbb2542023dcf --- Android.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Android.mk b/Android.mk index 44ebca4b0..cece346a4 100644 --- a/Android.mk +++ b/Android.mk @@ -191,8 +191,7 @@ ifeq ($(PRODUCT_SEPOLICY_SPLIT),true) # Use split SELinux policy LOCAL_REQUIRED_MODULES += \ $(platform_mapping_file) \ - 26.0.cil \ - 27.0.cil \ + $(addsuffix .cil,$(PLATFORM_SEPOLICY_COMPAT_VERSIONS)) \ plat_pub_versioned.cil \ vendor_sepolicy.cil \ plat_sepolicy.cil \ -- GitLab