26 lines
1.1 KiB
Makefile
26 lines
1.1 KiB
Makefile
ifeq ($(WITH_GMS),true)
|
|
ifneq (,$(wildcard vendor/partner_gms))
|
|
# Specify the GMS makefile you want to use, for example:
|
|
# - fi.mk - Project Fi
|
|
# - gms.mk - default GMS
|
|
# - gms_go.mk - low ram devices
|
|
# - gms_go_2gb.mk - low ram devices (2GB)
|
|
# - gms_64bit_only.mk - devices supporting 64-bit only
|
|
# - gms_minimal.mk - minimal GMS
|
|
ifneq ($(GMS_MAKEFILE),)
|
|
$(call inherit-product, vendor/partner_gms/products/$(GMS_MAKEFILE))
|
|
else
|
|
$(call inherit-product-if-exists, vendor/partner_gms/products/gms.mk)
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(wildcard vendor/partner_modules))
|
|
# Specify the mainline module makefile you want to use, for example:
|
|
# - mainline_modules.mk - updatable apex
|
|
# - mainline_modules_flatten_apex.mk - flatten apex
|
|
# - mainline_modules_low_ram.mk - low ram devices
|
|
ifneq ($(MAINLINE_MODULES_MAKEFILE),)
|
|
$(call inherit-product, vendor/partner_modules/build/$(MAINLINE_MODULES_MAKEFILE))
|
|
endif
|
|
endif
|
|
endif
|