wade: Use minimal GMS if building with it
authorBruno Martins <bgcngm@gmail.com>
Thu, 9 Jun 2022 13:34:59 +0000 (14:34 +0100)
committerNolen Johnson <johnsonnolen@gmail.com>
Wed, 12 Jul 2023 21:03:50 +0000 (17:03 -0400)
Only minimal GMS fits.

Change-Id: If9ce99880bcd6949354f80882176aaaded9aad85

device.mk

index 4c4a3077196635646755aa0296850dcdea0440b0..431a0ef3f029516c4c68d1169fab70de09cf1a28 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -8,6 +8,11 @@
 PRODUCT_PACKAGES += \
     libbt-vendor
 
+## GMS
+ifeq ($(WITH_GMS),true)
+GMS_MAKEFILE=gms_minimal.mk
+endif
+
 ## Init-Files
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc