Revert^2 "Add 1000000.0 mapping file temporarily"
82126e9d7765c4c33605c8380e2f09e52f143009
Change-Id: Ia2ef237d9918532f24cd00688ae2bc15196123e9
diff --git a/Android.bp b/Android.bp
index 88107cc..1d8e5dd 100644
--- a/Android.bp
+++ b/Android.bp
@@ -337,6 +337,36 @@
product_specific: true,
}
+// HACK to support vendor blobs using 1000000.0
+// TODO(b/314010177): remove after new ToT (202404) fully propagates
+se_versioned_policy {
+ name: "plat_mapping_file_1000000.0",
+ base: ":plat_pub_policy.cil",
+ mapping: true,
+ version: "1000000.0",
+ relative_install_path: "mapping", // install to /system/etc/selinux/mapping
+}
+
+se_versioned_policy {
+ name: "system_ext_mapping_file_1000000.0",
+ base: ":system_ext_pub_policy.cil",
+ mapping: true,
+ version: "1000000.0",
+ filter_out: [":plat_mapping_file"],
+ relative_install_path: "mapping", // install to /system_ext/etc/selinux/mapping
+ system_ext_specific: true,
+}
+
+se_versioned_policy {
+ name: "product_mapping_file_1000000.0",
+ base: ":pub_policy.cil",
+ mapping: true,
+ version: "1000000.0",
+ filter_out: [":plat_mapping_file", ":system_ext_mapping_file"],
+ relative_install_path: "mapping", // install to /product/etc/selinux/mapping
+ product_specific: true,
+}
+
//////////////////////////////////
// vendor/odm sepolicy
//////////////////////////////////