From d8a9aa897d00c43501648daddb6f465cb9052291 Mon Sep 17 00:00:00 2001 From: Enzo Liao Date: Mon, 22 Apr 2024 13:06:44 +0800 Subject: [PATCH] Remove unused apps (RamdumpService and SSRestartDetector) from AOSP. After ag/26620507, the two apps are built in AOSP. AOSP doesn't need them so we should not build them. Bug: 298102808 Design: go/sys-software-logging Test: Manual Flag: NONE N/A Change-Id: I0925fa0bb512a0001bfb46c524c9124128bc5e6e --- ramdump_and_coredump/ramdump_and_coredump.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ramdump_and_coredump/ramdump_and_coredump.mk b/ramdump_and_coredump/ramdump_and_coredump.mk index b235084..24af44e 100644 --- a/ramdump_and_coredump/ramdump_and_coredump.mk +++ b/ramdump_and_coredump/ramdump_and_coredump.mk @@ -1,11 +1,15 @@ PRODUCT_PACKAGES += \ sscoredump \ - SSRestartDetector PRODUCT_PACKAGES_DEBUG += \ dump_ramdump \ ramdump \ - RamdumpUploader + +# When not AOSP targets +ifeq (,$(filter aosp_%, $(TARGET_PRODUCT))) + PRODUCT_PACKAGES += SSRestartDetector + PRODUCT_PACKAGES_DEBUG += RamdumpUploader +endif BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/ramdump_and_coredump/sepolicy