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

This commit is contained in:
followmsi 2019-06-13 11:31:37 +02:00
parent d18674554d
commit 48ba49b9f8

View file

@ -17,9 +17,19 @@
# Sample: This is where we'd set a backup provider if we had one
# $(call inherit-product, device/sample/products/backup_overlay.mk)
# PixelExperience stuff.
# AEX stuff.
TARGET_BOOT_ANIMATION_RES := 1080
# 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)
$(call inherit-product, vendor/aosp/config/aex_props.mk)