Conditionally build FOD animation resources
Shipping additional 125 mb for non-FOD devices is madness
set TARGET_WANTS_FOD_ANIMATIONS := true if u need it
Change-Id: Ic01634e4365a2a6415209eae469f8e27517440b6
Signed-off-by: DennySPb <dennyspb@gmail.com>
Signed-off-by: Ayan Mukherjee <mukherjeeayan725@gmail.com>
diff --git a/config/common.mk b/config/common.mk
index 112a39d..ad0736b 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -141,5 +141,11 @@
$(call inherit-product, vendor/gapps/common/common-vendor.mk)
endif
+# FOD Animations
+ifeq ($(TARGET_WANTS_FOD_ANIMATIONS),true)
+PRODUCT_PACKAGES += \
+ FodAnimationResources
+endif
+
-include $(WORKSPACE)/build_env/image-auto-bits.mk
-include vendor/bliss/config/partner_gms.mk