gms: fail build if exported option doesn't exist

Change-Id: I403f8141d2d13ce2ec60fc0abb301aa39a0cdfc6
This commit is contained in:
Timi Rautamäki 2021-10-16 10:05:31 +00:00 committed by Nolen Johnson
parent 3786aa43a0
commit af7ada466c

View file

@ -1,14 +1,14 @@
ifeq ($(WITH_GMS),true)
ifeq ($(WITH_GMS_TV),true)
$(call inherit-product-if-exists, vendor/partner_gms-tv/products/gms.mk)
$(call inherit-product, vendor/partner_gms-tv/products/gms.mk)
else ifeq ($(WITH_GMS_FI),true)
$(call inherit-product-if-exists, vendor/partner_gms/products/fi.mk)
$(call inherit-product, vendor/partner_gms/products/fi.mk)
else ifeq ($(WITH_GMS_GO),true)
$(call inherit-product-if-exists, vendor/partner_gms/products/gms_go.mk)
$(call inherit-product, vendor/partner_gms/products/gms_go.mk)
else ifeq ($(WITH_GMS_GO_2GB),true)
$(call inherit-product-if-exists, vendor/partner_gms/products/gms_go_2gb.mk)
$(call inherit-product, vendor/partner_gms/products/gms_go_2gb.mk)
else ifeq ($(WITH_GMS_MINIMAL),true)
$(call inherit-product-if-exists, vendor/partner_gms/products/gms_minimal.mk)
$(call inherit-product, vendor/partner_gms/products/gms_minimal.mk)
else
$(call inherit-product-if-exists, vendor/partner_gms/products/gms.mk)
endif