From 68478b1f1a123fe5d8b7bd90710c054951567ecd Mon Sep 17 00:00:00 2001 From: Yi-Yo Chiang Date: Sat, 16 Oct 2021 03:23:05 +0800 Subject: [PATCH] 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 --- Android.bp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Android.bp b/Android.bp index 1c272f888..e51735648 100644 --- a/Android.bp +++ b/Android.bp @@ -790,6 +790,9 @@ se_policy_cil { src: ":userdebug_plat_sepolicy.conf", additional_cil_files: ["private/technical_debt.cil"], debug_ramdisk: true, + dist: { + targets: ["droidcore"], + }, } // A copy of the userdebug_plat_policy in GSI.