summaryrefslogtreecommitdiffstats
path: root/products/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'products/common.mk')
-rw-r--r--products/common.mk117
1 files changed, 42 insertions, 75 deletions
diff --git a/products/common.mk b/products/common.mk
index 195bc57..5840cc0 100644
--- a/products/common.mk
+++ b/products/common.mk
@@ -1,17 +1,13 @@
-# Generic cyanogenmod product
-PRODUCT_NAME := cyanogen
-PRODUCT_BRAND := cyanogen
+# Generic replicant product
+PRODUCT_NAME := replicant
+PRODUCT_BRAND := replicant
PRODUCT_DEVICE := generic
PRODUCT_PACKAGES += ADWLauncher
-ifdef CYANOGEN_NIGHTLY
-PRODUCT_PROPERTY_OVERRIDES += \
- ro.rommanager.developerid=cyanogenmodnightly
-else
-PRODUCT_PROPERTY_OVERRIDES += \
- ro.rommanager.developerid=cyanogenmod
-endif
+# Packages to include in Replicant
+PRODUCT_PACKAGES += ReplicantWallpapers
+PRODUCT_PACKAGES += FDroid
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
@@ -35,95 +31,66 @@ PRODUCT_PACKAGES += \
AndroidTerm \
FileManager \
CMParts \
- CMStats \
- CMUpdateNotify \
DSPManager \
libcyanogen-dsp \
Pacman \
screenshot \
CMScreenshot
-# Extra tools in CyanogenMod
+# Extra tools in Replicant
PRODUCT_PACKAGES += \
openvpn
# Copy over the changelog to the device
PRODUCT_COPY_FILES += \
- vendor/cyanogen/CHANGELOG.mkdn:system/etc/CHANGELOG-CM.txt
+ vendor/replicant/CHANGELOG.mkdn:system/etc/CHANGELOG-CM.txt
# Common CM overlay
-PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/common
+PRODUCT_PACKAGE_OVERLAYS += vendor/replicant/overlay/common
# T-Mobile theme engine
-include vendor/cyanogen/products/themes_common.mk
+include vendor/replicant/products/themes_common.mk
PRODUCT_COPY_FILES += \
- vendor/cyanogen/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh \
- vendor/cyanogen/prebuilt/common/bin/modelid_cfg.sh:system/bin/modelid_cfg.sh \
- vendor/cyanogen/prebuilt/common/bin/verify_cache_partition_size.sh:system/bin/verify_cache_partition_size.sh \
- vendor/cyanogen/prebuilt/common/etc/resolv.conf:system/etc/resolv.conf \
- vendor/cyanogen/prebuilt/common/etc/sysctl.conf:system/etc/sysctl.conf \
- vendor/cyanogen/prebuilt/common/etc/terminfo/l/linux:system/etc/terminfo/l/linux \
- vendor/cyanogen/prebuilt/common/etc/terminfo/u/unknown:system/etc/terminfo/u/unknown \
- vendor/cyanogen/prebuilt/common/etc/profile:system/etc/profile \
- vendor/cyanogen/prebuilt/common/etc/init.local.rc:system/etc/init.local.rc \
- vendor/cyanogen/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \
- vendor/cyanogen/prebuilt/common/etc/init.d/01sysctl:system/etc/init.d/01sysctl \
- vendor/cyanogen/prebuilt/common/etc/init.d/03firstboot:system/etc/init.d/03firstboot \
- vendor/cyanogen/prebuilt/common/etc/init.d/04modules:system/etc/init.d/04modules \
- vendor/cyanogen/prebuilt/common/etc/init.d/05mountsd:system/etc/init.d/05mountsd \
- vendor/cyanogen/prebuilt/common/etc/init.d/06mountdl:system/etc/init.d/06mountdl \
- vendor/cyanogen/prebuilt/common/etc/init.d/20userinit:system/etc/init.d/20userinit \
- vendor/cyanogen/prebuilt/common/bin/handle_compcache:system/bin/handle_compcache \
- vendor/cyanogen/prebuilt/common/bin/compcache:system/bin/compcache \
- vendor/cyanogen/prebuilt/common/bin/fix_permissions:system/bin/fix_permissions \
- vendor/cyanogen/prebuilt/common/bin/sysinit:system/bin/sysinit \
- vendor/cyanogen/prebuilt/common/xbin/htop:system/xbin/htop \
- vendor/cyanogen/prebuilt/common/xbin/irssi:system/xbin/irssi \
- vendor/cyanogen/prebuilt/common/xbin/powertop:system/xbin/powertop \
- vendor/cyanogen/prebuilt/common/xbin/openvpn-up.sh:system/xbin/openvpn-up.sh
+ vendor/replicant/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh \
+ vendor/replicant/prebuilt/common/bin/modelid_cfg.sh:system/bin/modelid_cfg.sh \
+ vendor/replicant/prebuilt/common/bin/verify_cache_partition_size.sh:system/bin/verify_cache_partition_size.sh \
+ vendor/replicant/prebuilt/common/etc/resolv.conf:system/etc/resolv.conf \
+ vendor/replicant/prebuilt/common/etc/sysctl.conf:system/etc/sysctl.conf \
+ vendor/replicant/prebuilt/common/etc/terminfo/l/linux:system/etc/terminfo/l/linux \
+ vendor/replicant/prebuilt/common/etc/terminfo/u/unknown:system/etc/terminfo/u/unknown \
+ vendor/replicant/prebuilt/common/etc/profile:system/etc/profile \
+ vendor/replicant/prebuilt/common/etc/init.local.rc:system/etc/init.local.rc \
+ vendor/replicant/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \
+ vendor/replicant/prebuilt/common/etc/init.d/01sysctl:system/etc/init.d/01sysctl \
+ vendor/replicant/prebuilt/common/etc/init.d/03firstboot:system/etc/init.d/03firstboot \
+ vendor/replicant/prebuilt/common/etc/init.d/04modules:system/etc/init.d/04modules \
+ vendor/replicant/prebuilt/common/etc/init.d/05mountsd:system/etc/init.d/05mountsd \
+ vendor/replicant/prebuilt/common/etc/init.d/06mountdl:system/etc/init.d/06mountdl \
+ vendor/replicant/prebuilt/common/etc/init.d/20userinit:system/etc/init.d/20userinit \
+ vendor/replicant/prebuilt/common/bin/handle_compcache:system/bin/handle_compcache \
+ vendor/replicant/prebuilt/common/bin/compcache:system/bin/compcache \
+ vendor/replicant/prebuilt/common/bin/fix_permissions:system/bin/fix_permissions \
+ vendor/replicant/prebuilt/common/bin/sysinit:system/bin/sysinit \
+ vendor/replicant/prebuilt/common/xbin/htop:system/xbin/htop \
+ vendor/replicant/prebuilt/common/xbin/irssi:system/xbin/irssi \
+ vendor/replicant/prebuilt/common/xbin/powertop:system/xbin/powertop \
+ vendor/replicant/prebuilt/common/xbin/openvpn-up.sh:system/xbin/openvpn-up.sh
PRODUCT_COPY_FILES += \
-# vendor/cyanogen/prebuilt/common/etc/init.d/10apps2sd:system/etc/init.d/10apps2sd
+# vendor/replicant/prebuilt/common/etc/init.d/10apps2sd:system/etc/init.d/10apps2sd
-PRODUCT_COPY_FILES += \
- vendor/cyanogen/proprietary/RomManager.apk:system/app/RomManager.apk \
+#PRODUCT_COPY_FILES += \
+# vendor/replicant/proprietary/RomManager.apk:system/app/RomManager.apk \
# Enable SIP+VoIP on all targets
PRODUCT_COPY_FILES += \
frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
# Always run in insecure mode, enables root on user build variants
-#ADDITIONAL_DEFAULT_PROPERTIES += ro.secure=0
-
-ifdef CYANOGEN_WITH_GOOGLE
-
- # use all present proprietary apk
- PRODUCT_COPY_FILES += $(shell test -f vendor/cyanogen/proprietary/*.apk && \
- find vendor/cyanogen/proprietary -name '*.apk' \
- -printf '%p:system/app/%f ')
-
- # use all present proprietary lib
- PRODUCT_COPY_FILES += $(shell test -f vendor/cyanogen/proprietary/*.so && \
- find vendor/cyanogen/proprietary -name '*.so' \
- -printf '%p:system/lib/%f ')
-
- # use all present proprietary jar
- PRODUCT_COPY_FILES += $(shell test -f vendor/cyanogen/proprietary/*.jar && \
- find vendor/cyanogen/proprietary -name '*.jar' \
- -printf '%p:system/framework/%f ')
-
- # use all present proprietary xml (permissions)
- PRODUCT_COPY_FILES += $(shell test -f vendor/cyanogen/proprietary/*.xml && \
- find vendor/cyanogen/proprietary -name '*.xml' \
- -printf '%p:system/etc/permissions/%f ')
-
-else
- PRODUCT_PACKAGES += \
- Provision \
- GoogleSearch
-endif
-
-# Required, keyboard
-PRODUCT_PACKAGES += LatinIME
+ADDITIONAL_DEFAULT_PROPERTIES += ro.secure=0
+PRODUCT_PACKAGES += \
+ Provision \
+ GoogleSearch \
+ LatinIME