Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 403c59b0 authored by Ethan Chen's avatar Ethan Chen Committed by Mohammed Althaf T
Browse files

partner_gms: Simplify if/else if logic

Change-Id: Ib5e3dc3741c6784cb47bd0f66150df8a499aaf92
parent 6fd22da5
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
ifeq ($(WITH_GMS),true)
ifeq ($(PRODUCT_IS_ATV),true)
$(call inherit-product-if-exists, vendor/partner_gms-tv/products/gms.mk)
else
ifeq ($(WITH_GMS_FI),true)
else ifeq ($(WITH_GMS_FI),true)
$(call inherit-product-if-exists, vendor/partner_gms/products/fi.mk)
else
ifeq ($(WITH_GMS_GO),true)
else ifeq ($(WITH_GMS_GO),true)
$(call inherit-product-if-exists, vendor/partner_gms/products/gms_go.mk)
else
ifeq ($(WITH_GMS_GO_2GB),true)
else ifeq ($(WITH_GMS_GO_2GB),true)
$(call inherit-product-if-exists, vendor/partner_gms/products/gms_go_2gb.mk)
else
ifeq ($(WITH_GMS_MINIMAL),true)
else ifeq ($(WITH_GMS_MINIMAL),true)
$(call inherit-product-if-exists, vendor/partner_gms/products/gms_minimal.mk)
else
$(call inherit-product-if-exists, vendor/partner_gms/products/gms.mk)
endif
endif
endif
endif
endif
endif