2011-11-28 17:37:47 +01:00
|
|
|
PRODUCT_BRAND ?= cyanogenmod
|
|
|
|
|
2011-11-27 20:56:54 +01:00
|
|
|
ifdef CM_NIGHTLY
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.rommanager.developerid=cyanogenmodnightly
|
|
|
|
else
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
ro.rommanager.developerid=cyanogenmod
|
|
|
|
endif
|
|
|
|
|
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
|
|
|
|
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
keyguard.no_require_sim=true \
|
|
|
|
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
|
|
|
|
|
|
|
|
# Copy over the changelog to the device
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cm/CHANGELOG.mkdn:system/etc/CHANGELOG-CM.txt
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cm/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh
|
|
|
|
|
2011-12-20 21:14:24 +01:00
|
|
|
# init.d support
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cm/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \
|
|
|
|
vendor/cm/prebuilt/common/bin/sysinit:system/bin/sysinit
|
|
|
|
|
|
|
|
# Compcache/Zram support
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cm/prebuilt/common/etc/init.local.rc:system/etc/init.local.rc \
|
|
|
|
vendor/cm/prebuilt/common/bin/compcache:system/bin/compcache \
|
|
|
|
vendor/cm/prebuilt/common/bin/handle_compcache:system/bin/handle_compcache
|
|
|
|
|
2011-11-27 20:56:54 +01:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cm/proprietary/RomManager.apk:system/app/RomManager.apk \
|
2011-12-15 07:27:07 +01:00
|
|
|
vendor/cm/proprietary/Term.apk:system/app/Term.apk \
|
|
|
|
vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm3.so:system/lib/libjackpal-androidterm3.so \
|
2012-01-15 00:50:25 +01:00
|
|
|
vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip
|
|
|
|
|
|
|
|
# Bring in camera effects & videos
|
|
|
|
$(call inherit-product, frameworks/base/data/videos/VideoPackage2.mk)
|
|
|
|
PRODUCT_COPY_FILES += \
|
2012-01-12 07:10:39 +01:00
|
|
|
vendor/cm/prebuilt/common/media/LMprec_508.emd:system/media/LMprec_508.emd \
|
|
|
|
vendor/cm/prebuilt/common/media/PFFprec_600.emd:system/media/PFFprec_600.emd
|
2011-11-27 20:56:54 +01: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
|
|
|
|
|
2012-01-26 23:54:31 +01:00
|
|
|
# Don't export PS1 in /system/etc/mkshrc.
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
vendor/cm/prebuilt/common/etc/mkshrc:system/etc/mkshrc
|
|
|
|
|
2011-11-27 20:56:54 +01:00
|
|
|
# Required CM packages
|
|
|
|
PRODUCT_PACKAGES += \
|
2011-12-21 01:16:01 +01:00
|
|
|
Camera \
|
|
|
|
Development \
|
2011-11-27 20:56:54 +01:00
|
|
|
LatinIME \
|
2011-12-21 01:16:01 +01:00
|
|
|
SpareParts \
|
2011-11-26 03:02:09 +01:00
|
|
|
Superuser \
|
2011-11-27 20:56:54 +01:00
|
|
|
Superuser.apk \
|
|
|
|
su
|
|
|
|
|
|
|
|
# Optional CM packages
|
|
|
|
PRODUCT_PACKAGES += \
|
2011-11-27 22:00:30 +01:00
|
|
|
VideoEditor \
|
|
|
|
VoiceDialer \
|
2011-11-27 20:56:54 +01:00
|
|
|
Basic \
|
2011-11-28 07:15:35 +01:00
|
|
|
HoloSpiralWallpaper \
|
2011-12-01 07:24:18 +01:00
|
|
|
MagicSmokeWallpapers \
|
2011-11-27 20:56:54 +01:00
|
|
|
NoiseField \
|
|
|
|
Galaxy4 \
|
2011-12-01 07:24:18 +01:00
|
|
|
LiveWallpapers \
|
2011-11-27 20:56:54 +01:00
|
|
|
LiveWallpapersPicker \
|
2011-12-01 07:24:18 +01:00
|
|
|
VisualizationWallpapers \
|
2011-11-27 20:56:54 +01:00
|
|
|
PhaseBeam
|
2011-11-27 02:31:19 +01:00
|
|
|
|
2011-12-14 23:02:19 +01:00
|
|
|
# Custom CM packages
|
|
|
|
PRODUCT_PACKAGES += \
|
2011-12-22 17:47:22 +01:00
|
|
|
Trebuchet \
|
2012-01-21 19:58:50 +01:00
|
|
|
CMStats \
|
2011-12-14 23:02:19 +01:00
|
|
|
DSPManager \
|
2011-12-15 07:27:07 +01:00
|
|
|
libcyanogen-dsp \
|
|
|
|
audio_effects.conf
|
2011-12-14 23:02:19 +01:00
|
|
|
|
2011-11-28 16:44:23 +01:00
|
|
|
PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries
|
2011-12-21 00:02:07 +01:00
|
|
|
PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/common
|
2011-11-28 16:44:23 +01:00
|
|
|
|
|
|
|
PRODUCT_VERSION_MAJOR = 9
|
|
|
|
PRODUCT_VERSION_MINOR = 0
|
|
|
|
PRODUCT_VERSION_MAINTENANCE = 0-RC0
|
|
|
|
|
2011-12-24 10:30:03 +01:00
|
|
|
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=IML74K
|
2011-11-28 16:44:23 +01:00
|
|
|
|
|
|
|
ifdef CM_NIGHTLY
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-12-30 00:29:34 +01:00
|
|
|
ro.cm.version=$(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-NIGHTLY-$(PRODUCT_RELEASE_NAME)
|
2011-11-28 16:44:23 +01:00
|
|
|
else
|
|
|
|
ifdef CM_RELEASE
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-12-30 00:29:34 +01:00
|
|
|
ro.cm.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_RELEASE_NAME)
|
2011-11-28 16:44:23 +01:00
|
|
|
else
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
2011-12-30 00:29:34 +01:00
|
|
|
ro.cm.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_RELEASE_NAME)-KANG
|
2011-11-28 16:44:23 +01:00
|
|
|
endif
|
|
|
|
endif
|