[Cleanup] Use the CYANOGEN_WITH_GOOGLE environment variable to toggle backuptool inclusion/exclusion.
diff --git a/products/common.mk b/products/common.mk
index d5c5254..2b482fc 100644
--- a/products/common.mk
+++ b/products/common.mk
@@ -5,9 +5,6 @@
PRODUCT_PACKAGES += ADWLauncher
-# Include backuptool
-PRODUCT_SPECIFIC_DEFINES += TARGET_OTA_BACKUPTOOL=true
-
# Add ROMManager build property
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.ringtone=DonMessWivIt.ogg
@@ -90,8 +87,6 @@
#ADDITIONAL_DEFAULT_PROPERTIES += ro.secure=0
ifdef CYANOGEN_WITH_GOOGLE
- PRODUCT_SPECIFIC_DEFINES += TARGET_OTA_BACKUPTOOL=false
-
PRODUCT_COPY_FILES += \
vendor/cyanogen/proprietary/CarHomeGoogle.apk:./system/app/CarHomeGoogle.apk \
vendor/cyanogen/proprietary/CarHomeLauncher.apk:./system/app/CarHomeLauncher.apk \