Finalize prebuilt CTS artifacts
These three files, general_sepolicy.conf / mapping.cil /
plat_sepolicy.cil will be used to test vendor sepolicy's neverallow
rules.
Bug: 330671085
Test: build
Change-Id: I763c9a1e647d614b84c0f7fe3d69affbe64f6153
Merged-In: I763c9a1e647d614b84c0f7fe3d69affbe64f6153
(cherry picked from commit 6f18a17ff851c51efcf19304d7b79ab76757017b)
diff --git a/Android.bp b/Android.bp
index 1d8e5dd..b66f95c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -209,6 +209,9 @@
name: "plat_sepolicy.cil",
src: ":plat_sepolicy.conf",
additional_cil_files: [":sepolicy_technical_debt{.plat_private}"],
+ dist: {
+ targets: ["sepolicy_finalize"],
+ },
}
@@ -315,6 +318,9 @@
mapping: true,
version: "current",
relative_install_path: "mapping", // install to /system/etc/selinux/mapping
+ dist: {
+ targets: ["sepolicy_finalize"],
+ },
}
se_versioned_policy {
@@ -681,6 +687,9 @@
build_variant: "user",
cts: true,
exclude_build_test: true,
+ dist: {
+ targets: ["sepolicy_finalize"],
+ },
}
//////////////////////////////////