deb: Add support for both GApps & Non-GApps Builds

This commit is contained in:
followmsi 2019-06-13 11:31:37 +02:00
parent 45864b1228
commit fd06bf7457

View file

@ -19,8 +19,16 @@
# AEX stuff.
TARGET_BOOT_ANIMATION_RES := 1080
#TARGET_GAPPS_ARCH := arm
#TARGET_MINIMAL_APPS := true
# Set this flag in build script
ifeq ($(CURRENT_BUILD_TYPE), gapps)
# GAPPS
WITH_GAPPS := true
TARGET_GAPPS_ARCH := arm
TARGET_MINIMAL_APPS := true
TARGET_SHIPS_SEPERATE_GAPPS_BUILD := true
#IS_PHONE := true
endif
# Inherit full common AEX stuff
$(call inherit-product, vendor/aosp/config/common.mk)