Add SELinux stuffs to boot
Contexts files, plat_sepolicy.cil, and 10000.0.cil are needed to boot.
This adds those files to microdroid. But cil files are temporary and
only for testing. We'll need to migrate real cil files to Android.bp.
Bug: 178993690
Test: boot microdroid
Change-Id: I684b67bbb6906ba42a710156519723eff23938d2
diff --git a/microdroid/Android.bp b/microdroid/Android.bp
index fc26f89..0ef7a52 100644
--- a/microdroid/Android.bp
+++ b/microdroid/Android.bp
@@ -59,11 +59,21 @@
"servicemanager",
"tombstoned",
"cgroups.json",
+
+ // These two files are temporary and only for test.
+ // TODO(b/178993690): migrate cil files to Soong
+ "microdroid_plat_sepolicy.cil",
+ "microdroid_plat_mapping_file",
] + microdroid_shell_and_utilities,
multilib: {
common: {
deps: [
"com.android.runtime",
+ "plat_file_contexts",
+ "plat_hwservice_contexts",
+ "plat_property_contexts",
+ "plat_service_contexts",
+ "plat_keystore2_key_contexts",
],
},
},