gms: fail build if exported option doesn't exist

Change-Id: I403f8141d2d13ce2ec60fc0abb301aa39a0cdfc6
gugelfrei
Timi Rautamäki 3 years ago committed by Paul Keith
parent e628bbc00e
commit 01d8fe60d8

@ -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

Loading…
Cancel
Save