beast: 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>
Fri, 12 Jan 2024 07:59:11 +0000 (07:59 +0000)
Only minimal GMS fits.

Change-Id: If9ce99880bcd6949354f80882176aaaded9aad85

device.mk

index 3555dc972e6e984f72d73daef7404e1e0f53416b..83d662f7e25f5b6446f170aa97930cfa85f56d6a 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -11,6 +11,11 @@ include hardware/realtek/rtkbt/rtkbt.mk
 PRODUCT_PACKAGES += \
     BeastBluetoothOverlay
 
+## 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