From 882ef5add87e7dae77f42584a66dbf477332e03d Mon Sep 17 00:00:00 2001 From: Enzo Liao Date: Mon, 6 May 2024 19:58:06 +0800 Subject: [PATCH] Remove unused apps (RamdumpService and SSRestartDetector) from factory build targets. After ag/26620507, the two apps are built in factory build targets. They don't need them so we should not build them. Bug: 298102808 Design: go/sys-software-logging Test: Manual Flag: NONE N/A Change-Id: Ie442c7a95e7fe764749031281e7740c3a4b5a768 --- ramdump_and_coredump/ramdump_and_coredump.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ramdump_and_coredump/ramdump_and_coredump.mk b/ramdump_and_coredump/ramdump_and_coredump.mk index 24af44e..d7a819f 100644 --- a/ramdump_and_coredump/ramdump_and_coredump.mk +++ b/ramdump_and_coredump/ramdump_and_coredump.mk @@ -5,8 +5,8 @@ PRODUCT_PACKAGES_DEBUG += \ dump_ramdump \ ramdump \ -# When not AOSP targets -ifeq (,$(filter aosp_%, $(TARGET_PRODUCT))) +# When neither AOSP nor factory targets +ifeq (,$(filter aosp_% factory_%, $(TARGET_PRODUCT))) PRODUCT_PACKAGES += SSRestartDetector PRODUCT_PACKAGES_DEBUG += RamdumpUploader endif