blob: 7ae824710f96ff26f322dd4bdc264fbdb5729742 [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 \
fitsnugly407b3992012-01-14 18:50:25 -050045 vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip
46
47# Bring in camera effects & videos
48$(call inherit-product, frameworks/base/data/videos/VideoPackage2.mk)
49PRODUCT_COPY_FILES += \
fitsnuglyc1c6ce22012-01-12 01:10:39 -050050 vendor/cm/prebuilt/common/media/LMprec_508.emd:system/media/LMprec_508.emd \
51 vendor/cm/prebuilt/common/media/PFFprec_600.emd:system/media/PFFprec_600.emd
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000052
53# Enable SIP+VoIP on all targets
54PRODUCT_COPY_FILES += \
55 frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
56
57# Required CM packages
58PRODUCT_PACKAGES += \
Steve Kondike0c297d2011-12-20 16:16:01 -080059 Camera \
60 Development \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000061 LatinIME \
Steve Kondike0c297d2011-12-20 16:16:01 -080062 SpareParts \
Koushik Dutta05dc42e2011-11-25 18:02:09 -080063 Superuser \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000064 Superuser.apk \
65 su
66
67# Optional CM packages
68PRODUCT_PACKAGES += \
Koushik Dutta74d3bad2011-11-27 13:00:30 -080069 VideoEditor \
70 VoiceDialer \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000071 Basic \
Steve Kondik0051ed62011-11-27 22:15:35 -080072 HoloSpiralWallpaper \
Steve Kondik7ae102e2011-11-30 22:24:18 -080073 MagicSmokeWallpapers \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000074 NoiseField \
75 Galaxy4 \
Steve Kondik7ae102e2011-11-30 22:24:18 -080076 LiveWallpapers \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000077 LiveWallpapersPicker \
Steve Kondik7ae102e2011-11-30 22:24:18 -080078 VisualizationWallpapers \
Ricardo Cerqueirae1f37382011-11-27 19:56:54 +000079 PhaseBeam
Koushik Dutta8387c322011-11-26 17:31:19 -080080
Steve Kondik04a49412011-12-14 14:02:19 -080081# Custom CM packages
82PRODUCT_PACKAGES += \
nebkat0acffd52011-12-22 16:47:22 +000083 Trebuchet \
Steve Kondik04a49412011-12-14 14:02:19 -080084 DSPManager \
Steve Kondika25e4e02011-12-14 22:27:07 -080085 libcyanogen-dsp \
86 audio_effects.conf
Steve Kondik04a49412011-12-14 14:02:19 -080087
Koushik Duttac6f7a492011-11-28 07:44:23 -080088PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries
Steve Kondik254db262011-12-20 15:02:07 -080089PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/common
Koushik Duttac6f7a492011-11-28 07:44:23 -080090
91PRODUCT_VERSION_MAJOR = 9
92PRODUCT_VERSION_MINOR = 0
93PRODUCT_VERSION_MAINTENANCE = 0-RC0
94
Giulio Cerveraf1510282011-12-24 04:30:03 -050095PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=IML74K
Koushik Duttac6f7a492011-11-28 07:44:23 -080096
97ifdef CM_NIGHTLY
98 PRODUCT_PROPERTY_OVERRIDES += \
Steve Kondik25d7ca12011-12-29 15:29:34 -080099 ro.cm.version=$(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-NIGHTLY-$(PRODUCT_RELEASE_NAME)
Koushik Duttac6f7a492011-11-28 07:44:23 -0800100else
101 ifdef CM_RELEASE
102 PRODUCT_PROPERTY_OVERRIDES += \
Steve Kondik25d7ca12011-12-29 15:29:34 -0800103 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 -0800104 else
105 PRODUCT_PROPERTY_OVERRIDES += \
Steve Kondik25d7ca12011-12-29 15:29:34 -0800106 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 -0800107 endif
108endif