blob: 278fcee96f9158bb5c2032a6cb3129e7d546a901 [file] [log] [blame]
Ricardo Cerqueira6ed03ff2011-11-28 16:37:47 +00001PRODUCT_BRAND ?= cyanogenmod
2
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +00003ifdef CM_NIGHTLY
4PRODUCT_PROPERTY_OVERRIDES += \
5 ro.rommanager.developerid=cyanogenmodnightly
6else
7PRODUCT_PROPERTY_OVERRIDES += \
8 ro.rommanager.developerid=cyanogenmod
9endif
10
11PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
12
13PRODUCT_PROPERTY_OVERRIDES += \
14 keyguard.no_require_sim=true \
15 ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html \
16 ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html \
17 ro.com.google.clientidbase=android-google \
18 ro.com.android.wifi-watchlist=GoogleGuest \
19 ro.setupwizard.enterprise_mode=1 \
20 ro.com.android.dateformat=MM-dd-yyyy \
21 ro.com.android.dataroaming=false
22
23# Copy over the changelog to the device
24PRODUCT_COPY_FILES += \
25 vendor/cm/CHANGELOG.mkdn:system/etc/CHANGELOG-CM.txt
26
27PRODUCT_COPY_FILES += \
28 vendor/cm/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh
29
Steve Kondik485527d2011-12-20 12:14:24 -080030# init.d support
31PRODUCT_COPY_FILES += \
32 vendor/cm/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \
33 vendor/cm/prebuilt/common/bin/sysinit:system/bin/sysinit
34
35# Compcache/Zram support
36PRODUCT_COPY_FILES += \
37 vendor/cm/prebuilt/common/etc/init.local.rc:system/etc/init.local.rc \
38 vendor/cm/prebuilt/common/bin/compcache:system/bin/compcache \
39 vendor/cm/prebuilt/common/bin/handle_compcache:system/bin/handle_compcache
40
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000041PRODUCT_COPY_FILES += \
42 vendor/cm/proprietary/RomManager.apk:system/app/RomManager.apk \
Steve Kondika25e4e02011-12-14 22:27:07 -080043 vendor/cm/proprietary/Term.apk:system/app/Term.apk \
44 vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm3.so:system/lib/libjackpal-androidterm3.so \
fitsnuglyc1c6ce22012-01-12 01:10:39 -050045 vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip \
46 vendor/cm/prebuilt/common/media/LMprec_508.emd:system/media/LMprec_508.emd \
47 vendor/cm/prebuilt/common/media/PFFprec_600.emd:system/media/PFFprec_600.emd
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000048
49# Enable SIP+VoIP on all targets
50PRODUCT_COPY_FILES += \
51 frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
52
53# Required CM packages
54PRODUCT_PACKAGES += \
Steve Kondike0c297d2011-12-20 16:16:01 -080055 Camera \
56 Development \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000057 LatinIME \
Steve Kondike0c297d2011-12-20 16:16:01 -080058 SpareParts \
Koushik Dutta05dc42e2011-11-25 18:02:09 -080059 Superuser \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000060 Superuser.apk \
61 su
62
63# Optional CM packages
64PRODUCT_PACKAGES += \
Koushik Dutta74d3bad2011-11-27 13:00:30 -080065 VideoEditor \
66 VoiceDialer \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000067 Basic \
Steve Kondik0051ed62011-11-27 22:15:35 -080068 HoloSpiralWallpaper \
Steve Kondik7ae102e2011-11-30 22:24:18 -080069 MagicSmokeWallpapers \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000070 NoiseField \
71 Galaxy4 \
Steve Kondik7ae102e2011-11-30 22:24:18 -080072 LiveWallpapers \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000073 LiveWallpapersPicker \
Steve Kondik7ae102e2011-11-30 22:24:18 -080074 VisualizationWallpapers \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000075 PhaseBeam
Koushik Dutta8387c322011-11-26 17:31:19 -080076
Steve Kondik04a49412011-12-14 14:02:19 -080077# Custom CM packages
78PRODUCT_PACKAGES += \
nebkat0acffd52011-12-22 16:47:22 +000079 Trebuchet \
Steve Kondik04a49412011-12-14 14:02:19 -080080 DSPManager \
Steve Kondika25e4e02011-12-14 22:27:07 -080081 libcyanogen-dsp \
82 audio_effects.conf
Steve Kondik04a49412011-12-14 14:02:19 -080083
Koushik Duttac6f7a492011-11-28 07:44:23 -080084PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries
Steve Kondik254db262011-12-20 15:02:07 -080085PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/common
Koushik Duttac6f7a492011-11-28 07:44:23 -080086
87PRODUCT_VERSION_MAJOR = 9
88PRODUCT_VERSION_MINOR = 0
89PRODUCT_VERSION_MAINTENANCE = 0-RC0
90
Giulio Cerveraf1510282011-12-24 04:30:03 -050091PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=IML74K
Koushik Duttac6f7a492011-11-28 07:44:23 -080092
93ifdef CM_NIGHTLY
94 PRODUCT_PROPERTY_OVERRIDES += \
Steve Kondik25d7ca12011-12-29 15:29:34 -080095 ro.cm.version=$(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-NIGHTLY-$(PRODUCT_RELEASE_NAME)
Koushik Duttac6f7a492011-11-28 07:44:23 -080096else
97 ifdef CM_RELEASE
98 PRODUCT_PROPERTY_OVERRIDES += \
Steve Kondik25d7ca12011-12-29 15:29:34 -080099 ro.cm.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_RELEASE_NAME)
Koushik Duttac6f7a492011-11-28 07:44:23 -0800100 else
101 PRODUCT_PROPERTY_OVERRIDES += \
Steve Kondik25d7ca12011-12-29 15:29:34 -0800102 ro.cm.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_RELEASE_NAME)-KANG
Koushik Duttac6f7a492011-11-28 07:44:23 -0800103 endif
104endif