From 7472a1e6f9fbcb36da1df7f0c640ff293e6efed0 Mon Sep 17 00:00:00 2001 From: Bowgo Tsai Date: Wed, 14 Jul 2021 16:28:34 +0800 Subject: [PATCH] Including debug ramdisk files in base_vendor.mk Debug ramdisk files should exist for all devices. Adding those debug ramdisk files in the base_vendor.mk. * https://source.android.com/compatibility/vts/vts-on-gsi Bug: 193565271 Test: `lunch aosp_flame-userdebug`, `make bootimage_debug` then checks the output under $OUT/debug_ramdisk/. Test: Performs the same check for `lunch aosp_bramble-userdebug`. Change-Id: Id32a53da9a3d5b17ffd05449669c6aa17aec0dfa --- target/product/base_vendor.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/product/base_vendor.mk b/target/product/base_vendor.mk index b955841f64..a087f4ce86 100644 --- a/target/product/base_vendor.mk +++ b/target/product/base_vendor.mk @@ -81,3 +81,9 @@ PRODUCT_PACKAGES += \ # /vendor. TODO(b/141648565): Don't install these unless they're needed. PRODUCT_PACKAGES += \ applypatch + +# Base modules and settings for the debug ramdisk, which is then packed +# into a boot-debug.img and a vendor_boot-debug.img. +PRODUCT_PACKAGES += \ + adb_debug.prop \ + userdebug_plat_sepolicy.cil