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

Commit 7dd5023e authored by Rohit Sekhar's avatar Rohit Sekhar Committed by Nishith Khanna
Browse files

vendor/lineage: Drop partner gms makefiles

* We dont intend to ship gms inline anyways
parent 0b1ff66d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -215,4 +215,3 @@ include vendor/lineage/config/version.mk
-include vendor/lineage-priv/keys/keys.mk

-include $(WORKSPACE)/build_env/image-auto-bits.mk
-include vendor/lineage/config/partner_gms.mk

config/partner_gms.mk

deleted100644 → 0
+0 −43
Original line number Diff line number Diff line
ifeq ($(WITH_GMS),true)
    # Special handling for Android TV
    ifeq ($(PRODUCT_IS_ATV),true)
        ifneq ($(GMS_MAKEFILE),)
            # Specify the GMS makefile you want to use, for example:
            #   - gms.mk            - default Android TV GMS
            #   - gms_gtv.mk        - default Google TV GMS
            #   - gms_minimal.mk    - minimal Android TV GMS
            $(call inherit-product, vendor/partner_gms-tv/products/$(GMS_MAKEFILE))
        else
            $(call inherit-product, vendor/partner_gms-tv/products/gms.mk)
        endif
        $(call inherit-product, vendor/partner_gms-tv/products/mainline_modules.mk)
    # Special handling for Android Automotive
    else ifeq ($(PRODUCT_IS_AUTO),true)
        ifneq ($(GMS_MAKEFILE),)
            $(call inherit-product, vendor/partner_gms-car/products/$(GMS_MAKEFILE))
        else
            $(call inherit-product, vendor/partner_gms-car/products/gms.mk)
        endif
   else
        # 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

        # 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