Define plat_file_contexts_cts for testAospFileContexts am: 87df87e2f4
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/3496836
Change-Id: I33a721c21492322396083f61cec4ba1bfa598d6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/contexts/Android.bp b/contexts/Android.bp
index 638f202..cf7c175 100644
--- a/contexts/Android.bp
+++ b/contexts/Android.bp
@@ -87,6 +87,14 @@
},
}
+// The platform file context without any extra added. This is used by CTS to
+// ensure that no entries are removed from the AOSP file.
+file_contexts {
+ name: "plat_file_contexts_cts",
+ defaults: ["contexts_flags_defaults"],
+ srcs: [":file_contexts_files{.plat_private}"],
+}
+
file_contexts {
name: "plat_file_contexts.recovery",
defaults: ["contexts_flags_defaults"],