Use system's plat_sepolicy.cil for microdroid

Bug: 178993690
Test: boot microdroid
Change-Id: Ic171762fbf62cdfc32efbba3c42077fb55a6cd02
This commit is contained in:
Inseob Kim 2021-03-17 18:41:28 +09:00
parent 0302beb2a8
commit 3b8396d644
1 changed files with 3 additions and 3 deletions

View File

@ -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",