From 0415cfd127debfd14fe2a78b9a5cadbf04acf99e Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sun, 9 Jul 2023 13:02:05 +0100 Subject: [PATCH] config: Let mini be really minimal Move some apps from common_mobile to common_full, so that devices inheriting from common_mini don't ship with all the apps. Example usecase: "tablet-like" device that inherits from common_mini_tablet_wifionly and has no camera support. Change-Id: I723e413b0e5b43fee9011c6b55dcbc303e811c44 --- config/common_full.mk | 18 ++++++++++++++---- config/common_mobile.mk | 12 +----------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/config/common_full.mk b/config/common_full.mk index d5ad36fd..029ea068 100644 --- a/config/common_full.mk +++ b/config/common_full.mk @@ -7,6 +7,20 @@ PRODUCT_SIZE := full $(call inherit-product-if-exists, external/google-fonts/lato/fonts.mk) $(call inherit-product-if-exists, external/google-fonts/rubik/fonts.mk) +# Apps +PRODUCT_PACKAGES += \ + Aperture \ + Eleven \ + Etar \ + Profiles \ + Recorder \ + Seedvault + +ifneq ($(TARGET_EXCLUDES_AUDIOFX),true) +PRODUCT_PACKAGES += \ + AudioFX +endif + # Extra cmdline tools PRODUCT_PACKAGES += \ unrar \ @@ -17,7 +31,3 @@ PRODUCT_PACKAGES += \ fonts_customization.xml \ FontLatoOverlay \ FontRubikOverlay - -# Recorder -PRODUCT_PACKAGES += \ - Recorder diff --git a/config/common_mobile.mk b/config/common_mobile.mk index 42acb953..fc5a864b 100644 --- a/config/common_mobile.mk +++ b/config/common_mobile.mk @@ -14,19 +14,9 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Apps PRODUCT_PACKAGES += \ - Aperture \ Backgrounds \ - Eleven \ - Etar \ ExactCalculator \ - Jelly \ - Profiles \ - Seedvault - -ifneq ($(TARGET_EXCLUDES_AUDIOFX),true) -PRODUCT_PACKAGES += \ - AudioFX -endif + Jelly ifeq ($(PRODUCT_TYPE), go) PRODUCT_PACKAGES += \