dopinder: 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:04:18 +0000 (17:04 -0400)
Only minimal GMS fits.

Change-Id: If9ce99880bcd6949354f80882176aaaded9aad85

device.mk

index 6e7bd09bff129616d550867608c7c9e85d6aec32..94207e85fa65fcb794c24eaee871ecb886007959 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -8,6 +8,11 @@
 BOARD_HAVE_BLUETOOTH_RTK_TV := true
 include hardware/realtek/rtkbt/rtkbt.mk
 
+## 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