From 3b8396d64474932fa7374bc436d1e4599d8cb4ea Mon Sep 17 00:00:00 2001 From: Inseob Kim Date: Wed, 17 Mar 2021 18:41:28 +0900 Subject: [PATCH] Use system's plat_sepolicy.cil for microdroid Bug: 178993690 Test: boot microdroid Change-Id: Ic171762fbf62cdfc32efbba3c42077fb55a6cd02 --- microdroid/Android.bp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/microdroid/Android.bp b/microdroid/Android.bp index 3eee6f45..ad4e8d55 100644 --- a/microdroid/Android.bp +++ b/microdroid/Android.bp @@ -58,7 +58,6 @@ android_filesystem { // These files are temporary and only for test. // TODO(b/178993690): migrate cil files to Soong - "microdroid_plat_sepolicy.cil", "microdroid_plat_mapping_file", "microdroid_plat_sepolicy_and_mapping.sha256", ] + microdroid_shell_and_utilities, @@ -66,6 +65,7 @@ android_filesystem { common: { deps: [ "com.android.runtime", + "plat_sepolicy.cil", "plat_file_contexts", "plat_hwservice_contexts", "plat_property_contexts", @@ -242,7 +242,7 @@ genrule { genrule { name: "microdroid_plat_sepolicy_and_mapping.sha256_gen", srcs: [ - ":microdroid_plat_sepolicy.cil", + ":plat_sepolicy.cil", ":microdroid_plat_mapping_file", ], out: ["plat_sepolicy_and_mapping.sha256"], @@ -271,7 +271,7 @@ genrule { name: "microdroid_precompiled_sepolicy_gen", tools: ["secilc"], srcs: [ - ":microdroid_plat_sepolicy.cil", + ":plat_sepolicy.cil", ":microdroid_plat_mapping_file", ":microdroid_plat_pub_versioned.cil", ":microdroid_vendor_sepolicy.cil",