Ricardo Cerqueira | 6ed03ff | 2011-11-28 16:37:47 +0000 | [diff] [blame] | 1 | PRODUCT_BRAND ?= cyanogenmod |
| 2 | |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 3 | ifdef CM_NIGHTLY |
| 4 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 5 | ro.rommanager.developerid=cyanogenmodnightly |
| 6 | else |
| 7 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 8 | ro.rommanager.developerid=cyanogenmod |
| 9 | endif |
| 10 | |
| 11 | PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 |
| 12 | |
| 13 | PRODUCT_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 |
| 24 | PRODUCT_COPY_FILES += \ |
| 25 | vendor/cm/CHANGELOG.mkdn:system/etc/CHANGELOG-CM.txt |
| 26 | |
| 27 | PRODUCT_COPY_FILES += \ |
| 28 | vendor/cm/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh |
| 29 | |
Steve Kondik | 485527d | 2011-12-20 12:14:24 -0800 | [diff] [blame] | 30 | # init.d support |
| 31 | PRODUCT_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 |
| 36 | PRODUCT_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 Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 41 | PRODUCT_COPY_FILES += \ |
| 42 | vendor/cm/proprietary/RomManager.apk:system/app/RomManager.apk \ |
Steve Kondik | a25e4e0 | 2011-12-14 22:27:07 -0800 | [diff] [blame] | 43 | vendor/cm/proprietary/Term.apk:system/app/Term.apk \ |
| 44 | vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm3.so:system/lib/libjackpal-androidterm3.so \ |
fitsnugly | 407b399 | 2012-01-14 18:50:25 -0500 | [diff] [blame] | 45 | 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) |
| 49 | PRODUCT_COPY_FILES += \ |
fitsnugly | c1c6ce2 | 2012-01-12 01:10:39 -0500 | [diff] [blame] | 50 | 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 Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 52 | |
| 53 | # Enable SIP+VoIP on all targets |
| 54 | PRODUCT_COPY_FILES += \ |
| 55 | frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml |
| 56 | |
Mike Kasick | 511d609 | 2012-01-26 17:54:31 -0500 | [diff] [blame] | 57 | # Don't export PS1 in /system/etc/mkshrc. |
| 58 | PRODUCT_COPY_FILES += \ |
| 59 | vendor/cm/prebuilt/common/etc/mkshrc:system/etc/mkshrc |
| 60 | |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 61 | # Required CM packages |
| 62 | PRODUCT_PACKAGES += \ |
Steve Kondik | e0c297d | 2011-12-20 16:16:01 -0800 | [diff] [blame] | 63 | Camera \ |
| 64 | Development \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 65 | LatinIME \ |
Steve Kondik | e0c297d | 2011-12-20 16:16:01 -0800 | [diff] [blame] | 66 | SpareParts \ |
Koushik Dutta | 05dc42e | 2011-11-25 18:02:09 -0800 | [diff] [blame] | 67 | Superuser \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 68 | Superuser.apk \ |
| 69 | su |
| 70 | |
| 71 | # Optional CM packages |
| 72 | PRODUCT_PACKAGES += \ |
Koushik Dutta | 74d3bad | 2011-11-27 13:00:30 -0800 | [diff] [blame] | 73 | VideoEditor \ |
| 74 | VoiceDialer \ |
Warren Togami | 5960a70 | 2012-02-22 09:22:42 -1000 | [diff] [blame] | 75 | SoundRecorder \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 76 | Basic \ |
Steve Kondik | 0051ed6 | 2011-11-27 22:15:35 -0800 | [diff] [blame] | 77 | HoloSpiralWallpaper \ |
Steve Kondik | 7ae102e | 2011-11-30 22:24:18 -0800 | [diff] [blame] | 78 | MagicSmokeWallpapers \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 79 | NoiseField \ |
| 80 | Galaxy4 \ |
Steve Kondik | 7ae102e | 2011-11-30 22:24:18 -0800 | [diff] [blame] | 81 | LiveWallpapers \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 82 | LiveWallpapersPicker \ |
Steve Kondik | 7ae102e | 2011-11-30 22:24:18 -0800 | [diff] [blame] | 83 | VisualizationWallpapers \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 84 | PhaseBeam |
Koushik Dutta | 8387c32 | 2011-11-26 17:31:19 -0800 | [diff] [blame] | 85 | |
Steve Kondik | 04a4941 | 2011-12-14 14:02:19 -0800 | [diff] [blame] | 86 | # Custom CM packages |
| 87 | PRODUCT_PACKAGES += \ |
nebkat | 0acffd5 | 2011-12-22 16:47:22 +0000 | [diff] [blame] | 88 | Trebuchet \ |
Steve Kondik | 04a4941 | 2011-12-14 14:02:19 -0800 | [diff] [blame] | 89 | DSPManager \ |
Steve Kondik | a25e4e0 | 2011-12-14 22:27:07 -0800 | [diff] [blame] | 90 | libcyanogen-dsp \ |
| 91 | audio_effects.conf |
Steve Kondik | 04a4941 | 2011-12-14 14:02:19 -0800 | [diff] [blame] | 92 | |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 93 | PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries |
Steve Kondik | 254db26 | 2011-12-20 15:02:07 -0800 | [diff] [blame] | 94 | PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/common |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 95 | |
| 96 | PRODUCT_VERSION_MAJOR = 9 |
| 97 | PRODUCT_VERSION_MINOR = 0 |
| 98 | PRODUCT_VERSION_MAINTENANCE = 0-RC0 |
| 99 | |
Giulio Cervera | f151028 | 2011-12-24 04:30:03 -0500 | [diff] [blame] | 100 | PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=IML74K |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 101 | |
| 102 | ifdef CM_NIGHTLY |
Koushik Dutta | 0f1ea3a | 2012-02-24 13:50:18 -0800 | [diff] [blame] | 103 | CM_VERSION :=$(PRODUCT_VERSION_MAJOR)-$(shell date +%Y%m%d)-NIGHTLY-$(CM_BUILD) |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 104 | else |
Mike Kasick | 06b4c76 | 2012-02-18 14:34:37 -0500 | [diff] [blame] | 105 | ifdef CM_SNAPSHOT |
Koushik Dutta | 0f1ea3a | 2012-02-24 13:50:18 -0800 | [diff] [blame] | 106 | CM_VERSION := $(PRODUCT_VERSION_MAJOR)-$(shell date +%Y%m%d)-SNAPSHOT-$(CM_BUILD)$(CM_EXTRAVERSION) |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 107 | else |
Mike Kasick | 06b4c76 | 2012-02-18 14:34:37 -0500 | [diff] [blame] | 108 | ifdef CM_RELEASE |
Koushik Dutta | 45130b4 | 2012-02-23 16:05:14 -0800 | [diff] [blame] | 109 | CM_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(CM_BUILD) |
Mike Kasick | 06b4c76 | 2012-02-18 14:34:37 -0500 | [diff] [blame] | 110 | else |
Koushik Dutta | 45130b4 | 2012-02-23 16:05:14 -0800 | [diff] [blame] | 111 | CM_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(CM_BUILD)-KANG |
Mike Kasick | 06b4c76 | 2012-02-18 14:34:37 -0500 | [diff] [blame] | 112 | endif |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 113 | endif |
| 114 | endif |
Koushik Dutta | d69b292 | 2012-02-23 14:07:44 -0800 | [diff] [blame] | 115 | |
| 116 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 117 | ro.cm.version=$(CM_VERSION) \ |
| 118 | ro.modversion=$(CM_VERSION) |