Dist userdebug_plat_sepolicy.cil to facilitate VTS testing

repack_bootimg can use the userdebug_plat_sepolicy.cil artifact to
prepare a debuggable boot image for VTS testing.

(TODO in follow-up) The eliminates the need for GSI
boot-with-debug-ramdisk-*.img, and we can skip building them to
conserve build resources.

Bug: 202129499
Test: m out/target/product/generic_arm64/userdebug_plat_sepolicy.cil
Test: Check presubmit artifacts include userdebug_plat_sepolicy.cil
Change-Id: I7629e462d4febd05ebe8a89a7bc00e8724dcb4a4
This commit is contained in:
Yi-Yo Chiang 2021-10-16 03:23:05 +08:00
parent 7609e175c5
commit 68478b1f1a

View file

@ -790,6 +790,9 @@ se_policy_cil {
src: ":userdebug_plat_sepolicy.conf", src: ":userdebug_plat_sepolicy.conf",
additional_cil_files: ["private/technical_debt.cil"], additional_cil_files: ["private/technical_debt.cil"],
debug_ramdisk: true, debug_ramdisk: true,
dist: {
targets: ["droidcore"],
},
} }
// A copy of the userdebug_plat_policy in GSI. // A copy of the userdebug_plat_policy in GSI.