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 6f18a17ff8)
This commit is contained in:
Inseob Kim 2024-03-28 17:52:32 +09:00
parent edf58243dd
commit 4b9929e2fc
5 changed files with 120679 additions and 0 deletions

View file

@ -209,6 +209,9 @@ se_policy_cil {
name: "plat_sepolicy.cil",
src: ":plat_sepolicy.conf",
additional_cil_files: [":sepolicy_technical_debt{.plat_private}"],
dist: {
targets: ["sepolicy_finalize"],
},
}
@ -315,6 +318,9 @@ se_versioned_policy {
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 @@ se_policy_conf {
build_variant: "user",
cts: true,
exclude_build_test: true,
dist: {
targets: ["sepolicy_finalize"],
},
}
//////////////////////////////////

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -69,3 +69,12 @@ se_policy_binary {
targets: ["base-sepolicy-files-for-mapping"],
},
}
filegroup {
name: "202404_sepolicy_cts_data",
srcs: [
"202404_general_sepolicy.conf",
"202404_plat_sepolicy.cil",
"202404_mapping.cil",
],
}