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 | |
| 30 | PRODUCT_COPY_FILES += \ |
| 31 | vendor/cm/proprietary/RomManager.apk:system/app/RomManager.apk \ |
Steve Kondik | a25e4e0 | 2011-12-14 22:27:07 -0800 | [diff] [blame] | 32 | vendor/cm/proprietary/Term.apk:system/app/Term.apk \ |
| 33 | vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm3.so:system/lib/libjackpal-androidterm3.so \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 34 | vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip |
| 35 | |
| 36 | |
| 37 | # Enable SIP+VoIP on all targets |
| 38 | PRODUCT_COPY_FILES += \ |
| 39 | frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml |
| 40 | |
| 41 | # Required CM packages |
| 42 | PRODUCT_PACKAGES += \ |
| 43 | LatinIME \ |
Koushik Dutta | 05dc42e | 2011-11-25 18:02:09 -0800 | [diff] [blame] | 44 | Superuser \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 45 | Superuser.apk \ |
| 46 | su |
| 47 | |
| 48 | # Optional CM packages |
| 49 | PRODUCT_PACKAGES += \ |
Koushik Dutta | 74d3bad | 2011-11-27 13:00:30 -0800 | [diff] [blame] | 50 | VideoEditor \ |
| 51 | VoiceDialer \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 52 | Basic \ |
Steve Kondik | 0051ed6 | 2011-11-27 22:15:35 -0800 | [diff] [blame] | 53 | HoloSpiralWallpaper \ |
Steve Kondik | 7ae102e | 2011-11-30 22:24:18 -0800 | [diff] [blame] | 54 | MagicSmokeWallpapers \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 55 | NoiseField \ |
| 56 | Galaxy4 \ |
Steve Kondik | 7ae102e | 2011-11-30 22:24:18 -0800 | [diff] [blame] | 57 | LiveWallpapers \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 58 | LiveWallpapersPicker \ |
Steve Kondik | 7ae102e | 2011-11-30 22:24:18 -0800 | [diff] [blame] | 59 | VisualizationWallpapers \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 60 | PhaseBeam |
Koushik Dutta | 8387c32 | 2011-11-26 17:31:19 -0800 | [diff] [blame] | 61 | |
Steve Kondik | 04a4941 | 2011-12-14 14:02:19 -0800 | [diff] [blame] | 62 | # Custom CM packages |
| 63 | PRODUCT_PACKAGES += \ |
| 64 | DSPManager \ |
Steve Kondik | a25e4e0 | 2011-12-14 22:27:07 -0800 | [diff] [blame] | 65 | libcyanogen-dsp \ |
| 66 | audio_effects.conf |
Steve Kondik | 04a4941 | 2011-12-14 14:02:19 -0800 | [diff] [blame] | 67 | |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 68 | PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries |
| 69 | |
| 70 | PRODUCT_VERSION_MAJOR = 9 |
| 71 | PRODUCT_VERSION_MINOR = 0 |
| 72 | PRODUCT_VERSION_MAINTENANCE = 0-RC0 |
| 73 | |
| 74 | PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=ITL41D |
| 75 | |
| 76 | ifdef CM_NIGHTLY |
| 77 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 78 | ro.modversion=CyanogenMod-$(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-NIGHTLY-$(PRODUCT_RELEASE_NAME) |
| 79 | else |
| 80 | ifdef CM_RELEASE |
| 81 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 82 | ro.modversion=CyanogenMod-$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_RELEASE_NAME) |
| 83 | else |
| 84 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 85 | ro.modversion=CyanogenMod-$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_RELEASE_NAME)-KANG |
| 86 | endif |
| 87 | endif |