Fix build for s/google/partner_gms/

This commit is contained in:
Pierre-Hugues Husson 2021-02-05 11:39:34 -05:00
parent 3d054e214d
commit 7afda0d79f
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
BUILD_GMS := yes BUILD_GMS := yes
#include not inherit, because we must edit some values #include not inherit, because we must edit some values
include vendor/google/products/gms_go.mk -include vendor/google/products/gms_go.mk
-include vendor/partner_gms/products/gms_go.mk
FILTER_OUT = $(foreach v,$(2),$(if $(findstring $(1),$(v)),,$(v))) FILTER_OUT = $(foreach v,$(2),$(if $(findstring $(1),$(v)),,$(v)))

View File

@ -1,6 +1,7 @@
BUILD_GMS := yes BUILD_GMS := yes
ifneq ($(wildcard vendor/google),) ifneq ($(wildcard vendor/google)$(wildcard vendor/partner_gms),)
-include vendor/google/products/gms.mk -include vendor/google/products/gms.mk
-include vendor/partner_gms/products/gms.mk
PRODUCT_SHIPPING_API_LEVEL := PRODUCT_SHIPPING_API_LEVEL :=
PRODUCT_PACKAGES := $(filter-out CalendarGoogle, $(PRODUCT_PACKAGES)) PRODUCT_PACKAGES := $(filter-out CalendarGoogle, $(PRODUCT_PACKAGES))