From 790ab1de65615597513c4698d1b52b7e5b0dea7c Mon Sep 17 00:00:00 2001 From: Adrian DC Date: Thu, 31 Dec 2020 15:15:25 +0100 Subject: [PATCH] config: Handle TARGET_EXCLUDES_AUDIOFX in the products definitions Change-Id: Iaa99a7d89bb516a788180c3be24fa514c6a7b907 --- config/common_mobile.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/common_mobile.mk b/config/common_mobile.mk index 1e4912cf..2077d1a3 100644 --- a/config/common_mobile.mk +++ b/config/common_mobile.mk @@ -19,7 +19,6 @@ PRODUCT_PACKAGES += \ # Lineage packages PRODUCT_PACKAGES += \ - AudioFX \ Backgrounds \ Eleven \ Etar \ @@ -27,6 +26,11 @@ PRODUCT_PACKAGES += \ Profiles \ Seedvault +ifneq ($(TARGET_EXCLUDES_AUDIOFX),true) +PRODUCT_PACKAGES += \ + AudioFX +endif + ifeq ($(PRODUCT_TYPE), go) PRODUCT_PACKAGES += \ TrebuchetQuickStepGo