cm: Skip backuptool on GMS builds
Change-Id: Id0cf16551b87be2d218f04b0d5a158d88ace4e74
diff --git a/config/common.mk b/config/common.mk
index d37791e..babe449 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -83,11 +83,13 @@
vendor/cm/CHANGELOG.mkdn:system/etc/CHANGELOG-CM.txt
# Backup Tool
+ifneq ($(WITH_GMS),true)
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh \
vendor/cm/prebuilt/common/bin/backuptool.functions:system/bin/backuptool.functions \
vendor/cm/prebuilt/common/bin/50-cm.sh:system/addon.d/50-cm.sh \
vendor/cm/prebuilt/common/bin/blacklist:system/addon.d/blacklist
+endif
# init.d support
PRODUCT_COPY_FILES += \