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 | c1c6ce2 | 2012-01-12 01:10:39 -0500 | [diff] [blame] | 45 | 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 Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 48 | |
| 49 | # Enable SIP+VoIP on all targets |
| 50 | PRODUCT_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 |
| 54 | PRODUCT_PACKAGES += \ |
Steve Kondik | e0c297d | 2011-12-20 16:16:01 -0800 | [diff] [blame] | 55 | Camera \ |
| 56 | Development \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 57 | LatinIME \ |
Steve Kondik | e0c297d | 2011-12-20 16:16:01 -0800 | [diff] [blame] | 58 | SpareParts \ |
Koushik Dutta | 05dc42e | 2011-11-25 18:02:09 -0800 | [diff] [blame] | 59 | Superuser \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 60 | Superuser.apk \ |
| 61 | su |
| 62 | |
| 63 | # Optional CM packages |
| 64 | PRODUCT_PACKAGES += \ |
Koushik Dutta | 74d3bad | 2011-11-27 13:00:30 -0800 | [diff] [blame] | 65 | VideoEditor \ |
| 66 | VoiceDialer \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 67 | Basic \ |
Steve Kondik | 0051ed6 | 2011-11-27 22:15:35 -0800 | [diff] [blame] | 68 | HoloSpiralWallpaper \ |
Steve Kondik | 7ae102e | 2011-11-30 22:24:18 -0800 | [diff] [blame] | 69 | MagicSmokeWallpapers \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 70 | NoiseField \ |
| 71 | Galaxy4 \ |
Steve Kondik | 7ae102e | 2011-11-30 22:24:18 -0800 | [diff] [blame] | 72 | LiveWallpapers \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 73 | LiveWallpapersPicker \ |
Steve Kondik | 7ae102e | 2011-11-30 22:24:18 -0800 | [diff] [blame] | 74 | VisualizationWallpapers \ |
Ricardo Cerqueira | e1f3738 | 2011-11-27 19:56:54 +0000 | [diff] [blame] | 75 | PhaseBeam |
Koushik Dutta | 8387c32 | 2011-11-26 17:31:19 -0800 | [diff] [blame] | 76 | |
Steve Kondik | 04a4941 | 2011-12-14 14:02:19 -0800 | [diff] [blame] | 77 | # Custom CM packages |
| 78 | PRODUCT_PACKAGES += \ |
nebkat | 0acffd5 | 2011-12-22 16:47:22 +0000 | [diff] [blame] | 79 | Trebuchet \ |
Steve Kondik | 04a4941 | 2011-12-14 14:02:19 -0800 | [diff] [blame] | 80 | DSPManager \ |
Steve Kondik | a25e4e0 | 2011-12-14 22:27:07 -0800 | [diff] [blame] | 81 | libcyanogen-dsp \ |
| 82 | audio_effects.conf |
Steve Kondik | 04a4941 | 2011-12-14 14:02:19 -0800 | [diff] [blame] | 83 | |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 84 | PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries |
Steve Kondik | 254db26 | 2011-12-20 15:02:07 -0800 | [diff] [blame] | 85 | PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/common |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 86 | |
| 87 | PRODUCT_VERSION_MAJOR = 9 |
| 88 | PRODUCT_VERSION_MINOR = 0 |
| 89 | PRODUCT_VERSION_MAINTENANCE = 0-RC0 |
| 90 | |
Giulio Cervera | f151028 | 2011-12-24 04:30:03 -0500 | [diff] [blame] | 91 | PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=IML74K |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 92 | |
| 93 | ifdef CM_NIGHTLY |
| 94 | PRODUCT_PROPERTY_OVERRIDES += \ |
Steve Kondik | 25d7ca1 | 2011-12-29 15:29:34 -0800 | [diff] [blame] | 95 | ro.cm.version=$(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-NIGHTLY-$(PRODUCT_RELEASE_NAME) |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 96 | else |
| 97 | ifdef CM_RELEASE |
| 98 | PRODUCT_PROPERTY_OVERRIDES += \ |
Steve Kondik | 25d7ca1 | 2011-12-29 15:29:34 -0800 | [diff] [blame] | 99 | ro.cm.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_RELEASE_NAME) |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 100 | else |
| 101 | PRODUCT_PROPERTY_OVERRIDES += \ |
Steve Kondik | 25d7ca1 | 2011-12-29 15:29:34 -0800 | [diff] [blame] | 102 | ro.cm.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(PRODUCT_RELEASE_NAME)-KANG |
Koushik Dutta | c6f7a49 | 2011-11-28 07:44:23 -0800 | [diff] [blame] | 103 | endif |
| 104 | endif |