Use se_build_files for technical_debt.cil

It's a no-op for now, but it will be used when migrating vendor sepolicy
to Android.bp.

Bug: 33691272
Test: build and boot
Change-Id: Ie0015d31e4929e7bd3316505bfd6d338a5e9eada
This commit is contained in:
Inseob Kim 2021-12-16 16:52:14 +09:00
parent ac45ef86f5
commit 7cb20812b2

View file

@ -661,6 +661,11 @@ se_build_files {
],
}
se_build_files {
name: "sepolicy_technical_debt",
srcs: ["technical_debt.cil"],
}
reqd_mask_policy = [":se_build_files{.reqd_mask}"]
plat_public_policy = [":se_build_files{.plat_public}"]
plat_private_policy = [":se_build_files{.plat_private}"]
@ -775,7 +780,7 @@ se_policy_conf {
se_policy_cil {
name: "plat_sepolicy.cil",
src: ":plat_sepolicy.conf",
additional_cil_files: ["private/technical_debt.cil"],
additional_cil_files: [":sepolicy_technical_debt{.plat_private}"],
}
// userdebug_plat_policy.conf - the userdebug version plat_sepolicy.cil
@ -790,7 +795,7 @@ se_policy_conf {
se_policy_cil {
name: "userdebug_plat_sepolicy.cil",
src: ":userdebug_plat_sepolicy.conf",
additional_cil_files: ["private/technical_debt.cil"],
additional_cil_files: [":sepolicy_technical_debt{.plat_private}"],
debug_ramdisk: true,
dist: {
targets: ["droidcore"],
@ -815,7 +820,7 @@ gsi_se_policy_cil {
name: "system_ext_userdebug_plat_sepolicy.cil",
stem: "userdebug_plat_sepolicy.cil",
src: ":userdebug_plat_sepolicy.conf",
additional_cil_files: ["private/technical_debt.cil"],
additional_cil_files: [":sepolicy_technical_debt{.plat_private}"],
system_ext_specific: true,
enabled: false,
installable: false,