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