<2GB arm64_ab gapps system

This commit is contained in:
Pierre-Hugues Husson 2020-05-24 22:07:19 +02:00
parent 1d86604109
commit 05b0386382
3 changed files with 11 additions and 6 deletions

View File

@ -10,11 +10,11 @@ FILTER_OUT = $(foreach v,$(2),$(if $(findstring $(1),$(v)),,$(v)))
PRODUCT_COPY_FILES := $(call FILTER_OUT,google_go.xml:, $(PRODUCT_COPY_FILES)) PRODUCT_COPY_FILES := $(call FILTER_OUT,google_go.xml:, $(PRODUCT_COPY_FILES))
#We need to use this way because it overrides sync adapters #We need to use this way because it overrides sync adapters
PRODUCT_PACKAGES := $(call FILTER_OUT,CalendarGoogle, $(PRODUCT_PACKAGES)) PRODUCT_PACKAGES := $(filter-out CalendarGoogle, $(PRODUCT_PACKAGES))
PRODUCT_PACKAGES := $(call FILTER_OUT,GoogleContacts, $(PRODUCT_PACKAGES)) PRODUCT_PACKAGES := $(filter-out GoogleContacts, $(PRODUCT_PACKAGES))
PRODUCT_SHIPPING_API_LEVEL := PRODUCT_SHIPPING_API_LEVEL :=
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
phh-gapps-go-overrides \ phh-gapps-go-overrides \
GoogleContactsSyncAdapter \

View File

@ -1,11 +1,16 @@
BUILD_GMS := yes BUILD_GMS := yes
ifneq ($(wildcard vendor/google),) ifneq ($(wildcard vendor/google),)
-include vendor/google/products/gms_eea_type1.mk -include vendor/google/products/gms.mk
PRODUCT_SHIPPING_API_LEVEL := PRODUCT_SHIPPING_API_LEVEL :=
PRODUCT_PACKAGES := $(filter-out CalendarGoogle, $(PRODUCT_PACKAGES))
PRODUCT_PACKAGES := $(filter-out GoogleContacts, $(PRODUCT_PACKAGES))
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
phh-gapps-overrides \ phh-gapps-overrides \
Chrome \
GoogleContactsSyncAdapter \
FILTER_OUT = $(foreach v,$(2),$(if $(findstring $(1),$(v)),,$(v)))
endif endif
ifneq ($(wildcard vendor/opengapps),) ifneq ($(wildcard vendor/opengapps),)

View File

@ -29,7 +29,7 @@ PACKAGES.$(LOCAL_MODULE).OVERRIDES := \
Photos \ Photos \
Maps \ Maps \
Gmail2 \ Gmail2 \
GoogleContacts \ Velvet \
GmsSampleIntegration \ GmsSampleIntegration \
GmsSampleIntegrationGo \ GmsSampleIntegrationGo \
GmsSampleIntegrationGo2GB \ GmsSampleIntegrationGo2GB \