From 03596f28a484e8954c168ce5053e34d4a17dd396 Mon Sep 17 00:00:00 2001 From: Dan Cashman Date: Thu, 28 Sep 2017 15:06:39 -0700 Subject: [PATCH] Include 26.0 compat file on system image. This file is necessary for using an mr1 system image in conjunction with an oc-dev vendor image. This is currently needed by GSI testing, for example. Bug: 66358348 Test: File is included on system image. Change-Id: I3a6b7ed5edf1c07941bbf835e70f2ae8d03fee25 --- Android.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Android.mk b/Android.mk index 8c9802cf8..e5b244b51 100644 --- a/Android.mk +++ b/Android.mk @@ -190,6 +190,7 @@ ifeq ($(PRODUCT_FULL_TREBLE),true) # Use split SELinux policy LOCAL_REQUIRED_MODULES += \ $(platform_mapping_file) \ + 26.0.cil \ nonplat_sepolicy.cil \ plat_sepolicy.cil \ plat_and_mapping_sepolicy.cil.sha256 \ @@ -378,6 +379,16 @@ current_mapping.cil := ################################# include $(CLEAR_VARS) +LOCAL_MODULE := 26.0.cil +LOCAL_SRC_FILES := private/compat/26.0/26.0.cil +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/selinux/mapping + +include $(BUILD_PREBUILT) +################################# +include $(CLEAR_VARS) + LOCAL_MODULE := plat_and_mapping_sepolicy.cil.sha256 LOCAL_MODULE_CLASS := ETC LOCAL_MODULE_TAGS := optional