2010-06-25 02:42:22 +00:00
|
|
|
# Generic cyanogenmod product
|
2010-06-25 02:32:20 +00:00
|
|
|
PRODUCT_NAME := cyanogen
|
|
|
|
PRODUCT_BRAND := cyanogen
|
|
|
|
PRODUCT_DEVICE := generic
|
|
|
|
|
2010-07-11 20:51:32 +00:00
|
|
|
PRODUCT_PACKAGES += ADWLauncher
|
|
|
|
|
2010-07-30 21:15:00 +00:00
|
|
|
ifdef CYANOGEN_NIGHTLY
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2010-07-31 18:05:16 +00:00
|
|
|
ro.rommanager.developerid=cyanogenmodnightly
|
2010-07-30 21:15:00 +00:00
|
|
|
else
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2010-07-31 18:05:16 +00:00
|
|
|
ro.rommanager.developerid=cyanogenmod
|
2010-07-30 21:15:00 +00:00
|
|
|
endif
|
2010-06-25 02:32:20 +00:00
|
|
|
|
2010-09-04 05:26:09 +00:00
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
|
|
|
|
|
2010-06-30 05:38:40 +00:00
|
|
|
# Used by BusyBox
|
|
|
|
KERNEL_MODULES_DIR:=/system/lib/modules
|
|
|
|
|
|
|
|
# Tiny toolbox
|
|
|
|
TINY_TOOLBOX:=true
|
|
|
|
|
2010-07-02 20:49:33 +00:00
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html \
|
|
|
|
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html \
|
|
|
|
ro.com.google.clientidbase=android-google \
|
|
|
|
ro.com.android.wifi-watchlist=GoogleGuest \
|
|
|
|
ro.setupwizard.enterprise_mode=1 \
|
|
|
|
ro.com.android.dateformat=MM-dd-yyyy \
|
|
|
|
ro.com.android.dataroaming=false
|
|
|
|
|
2010-06-25 02:42:22 +00:00
|
|
|
# CyanogenMod specific product packages
|
2010-12-21 23:57:32 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
2011-01-07 21:29:27 +00:00
|
|
|
AndroidTerm \
|
2011-01-01 23:34:36 +00:00
|
|
|
FileManager \
|
|
|
|
CMParts \
|
|
|
|
CMStats \
|
2011-01-02 06:41:06 +00:00
|
|
|
CMUpdateNotify \
|
2011-01-12 17:59:20 +00:00
|
|
|
DSPManager \
|
|
|
|
libcyanogen-dsp \
|
2011-07-04 10:36:54 +00:00
|
|
|
Pacman \
|
|
|
|
screenshot \
|
|
|
|
CMScreenshot
|
2010-12-21 05:11:21 +00:00
|
|
|
|
2010-12-28 07:30:19 +00:00
|
|
|
# Extra tools in CyanogenMod
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
openvpn
|
2010-06-25 02:32:20 +00:00
|
|
|
|
2010-06-25 02:42:22 +00:00
|
|
|
# Copy over the changelog to the device
|
2010-06-25 02:32:20 +00:00
|
|
|
PRODUCT_COPY_FILES += \
|
2010-07-05 03:43:39 +00:00
|
|
|
vendor/cyanogen/CHANGELOG.mkdn:system/etc/CHANGELOG-CM.txt
|
2010-07-02 22:05:26 +00:00
|
|
|
|
2010-06-28 23:48:36 +00:00
|
|
|
# Common CM overlay
|
|
|
|
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/common
|
2010-06-25 02:38:08 +00:00
|
|
|
|
2011-01-07 19:12:18 +00:00
|
|
|
# T-Mobile theme engine
|
2011-01-22 07:53:32 +00:00
|
|
|
include vendor/cyanogen/products/themes_common.mk
|
2011-01-07 19:12:18 +00:00
|
|
|
|
2010-06-28 06:53:09 +00:00
|
|
|
PRODUCT_COPY_FILES += \
|
2010-06-29 06:41:30 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh \
|
2011-03-02 00:18:30 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/bin/modelid_cfg.sh:system/bin/modelid_cfg.sh \
|
2010-10-15 21:01:17 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/bin/verify_cache_partition_size.sh:system/bin/verify_cache_partition_size.sh \
|
2010-06-28 06:53:09 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/etc/resolv.conf:system/etc/resolv.conf \
|
2010-07-06 03:07:30 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/etc/sysctl.conf:system/etc/sysctl.conf \
|
2010-06-28 06:53:09 +00:00
|
|
|
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 \
|
2010-07-07 13:06:13 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/etc/init.local.rc:system/etc/init.local.rc \
|
2010-07-06 03:09:35 +00:00
|
|
|
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 \
|
2011-01-29 18:04:11 +00:00
|
|
|
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 \
|
2010-07-06 03:09:35 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/etc/init.d/20userinit:system/etc/init.d/20userinit \
|
2010-08-17 17:39:15 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/bin/handle_compcache:system/bin/handle_compcache \
|
2010-07-06 04:19:10 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/bin/compcache:system/bin/compcache \
|
|
|
|
vendor/cyanogen/prebuilt/common/bin/fix_permissions:system/bin/fix_permissions \
|
2010-07-10 23:26:43 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/bin/sysinit:system/bin/sysinit \
|
2010-06-28 06:53:09 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/xbin/htop:system/xbin/htop \
|
|
|
|
vendor/cyanogen/prebuilt/common/xbin/irssi:system/xbin/irssi \
|
2010-07-02 04:13:04 +00:00
|
|
|
vendor/cyanogen/prebuilt/common/xbin/powertop:system/xbin/powertop \
|
|
|
|
vendor/cyanogen/prebuilt/common/xbin/openvpn-up.sh:system/xbin/openvpn-up.sh
|
2010-06-28 06:53:09 +00:00
|
|
|
|
2010-12-30 02:06:26 +00:00
|
|
|
PRODUCT_COPY_FILES += \
|
2010-07-06 03:09:35 +00:00
|
|
|
# vendor/cyanogen/prebuilt/common/etc/init.d/10apps2sd:system/etc/init.d/10apps2sd
|
2010-08-06 07:25:18 +00:00
|
|
|
|
2010-06-28 15:28:46 +00:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cyanogen/proprietary/RomManager.apk:system/app/RomManager.apk \
|
|
|
|
|
2010-12-26 07:34:59 +00:00
|
|
|
# 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
|
|
|
|
|
2010-06-25 02:42:22 +00:00
|
|
|
# Always run in insecure mode, enables root on user build variants
|
2010-06-27 23:59:08 +00:00
|
|
|
#ADDITIONAL_DEFAULT_PROPERTIES += ro.secure=0
|
2010-06-28 03:10:23 +00:00
|
|
|
|
|
|
|
ifdef CYANOGEN_WITH_GOOGLE
|
2011-07-07 08:17:06 +00:00
|
|
|
|
|
|
|
# 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
|
2011-07-17 16:38:13 +00:00
|
|
|
PRODUCT_COPY_FILES += $(shell test -f vendor/cyanogen/proprietary/*.so && \
|
2011-07-07 08:17:06 +00:00
|
|
|
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 ')
|
|
|
|
|
2010-06-28 15:21:49 +00:00
|
|
|
else
|
2010-06-28 03:10:23 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
Provision \
|
2011-07-07 08:17:06 +00:00
|
|
|
GoogleSearch
|
2010-06-28 15:21:49 +00:00
|
|
|
endif
|
2011-07-07 08:17:06 +00:00
|
|
|
|
|
|
|
# Required, keyboard
|
|
|
|
PRODUCT_PACKAGES += LatinIME
|
|
|
|
|