ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 1 | PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 |
| 2 | |
| 3 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 4 | keyguard.no_require_sim=true \ |
| 5 | ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html \ |
| 6 | ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html \ |
| 7 | ro.com.google.clientidbase=android-google \ |
| 8 | ro.com.android.wifi-watchlist=GoogleGuest \ |
| 9 | ro.setupwizard.enterprise_mode=1 \ |
| 10 | ro.com.android.dateformat=MM-dd-yyyy \ |
Lars Greiss | 5aca6d0 | 2013-02-01 02:47:17 +0100 | [diff] [blame] | 11 | ro.com.android.dataroaming=false |
ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 12 | |
Lars Greiss | 6daac0a | 2013-08-05 06:38:08 +0200 | [diff] [blame] | 13 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 14 | ro.build.selinux=1 |
| 15 | |
krarvind | 65545df | 2012-10-11 13:40:41 -0300 | [diff] [blame] | 16 | # Backup Tool |
| 17 | PRODUCT_COPY_FILES += \ |
| 18 | vendor/slim/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh \ |
| 19 | vendor/slim/prebuilt/common/bin/backuptool.functions:system/bin/backuptool.functions \ |
Griffin Millender | a86c127 | 2013-05-25 04:11:55 -0500 | [diff] [blame] | 20 | vendor/slim/prebuilt/common/bin/50-slim.sh:system/addon.d/50-slim.sh \ |
| 21 | vendor/slim/prebuilt/common/bin/99-backup.sh:system/addon.d/99-backup.sh \ |
| 22 | vendor/slim/prebuilt/common/etc/backup.conf:system/etc/backup.conf |
krarvind | 65545df | 2012-10-11 13:40:41 -0300 | [diff] [blame] | 23 | |
krarvind | 537ce9b | 2012-10-25 09:21:39 -0300 | [diff] [blame] | 24 | # SLIM-specific init file |
| 25 | PRODUCT_COPY_FILES += \ |
| 26 | vendor/slim/prebuilt/common/etc/init.local.rc:root/init.slim.rc |
| 27 | |
krarvind | 4cf5166 | 2012-12-04 10:44:10 +0000 | [diff] [blame] | 28 | # Copy latinime for gesture typing |
| 29 | PRODUCT_COPY_FILES += \ |
| 30 | vendor/slim/prebuilt/common/lib/libjni_latinime.so:system/lib/libjni_latinime.so |
| 31 | |
ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 32 | # Compcache/Zram support |
| 33 | PRODUCT_COPY_FILES += \ |
ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 34 | vendor/slim/prebuilt/common/bin/compcache:system/bin/compcache \ |
| 35 | vendor/slim/prebuilt/common/bin/handle_compcache:system/bin/handle_compcache |
| 36 | |
Muhammed Nazim | 9fa482b | 2013-04-12 13:51:07 +0200 | [diff] [blame] | 37 | # Audio Config for DSPManager |
| 38 | PRODUCT_COPY_FILES += \ |
| 39 | vendor/slim/prebuilt/common/vendor/etc/audio_effects.conf:system/vendor/etc/audio_effects.conf |
ar | faa54c1 | 2012-09-05 16:48:18 -0300 | [diff] [blame] | 40 | #LOCAL SLIM CHANGES - END |
ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 41 | |
| 42 | # Enable SIP+VoIP on all targets |
| 43 | PRODUCT_COPY_FILES += \ |
| 44 | frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml |
| 45 | |
| 46 | # Don't export PS1 in /system/etc/mkshrc. |
| 47 | PRODUCT_COPY_FILES += \ |
| 48 | vendor/slim/prebuilt/common/etc/mkshrc:system/etc/mkshrc \ |
Muhammed Nazim | 442a9a1 | 2013-04-11 13:35:59 +0200 | [diff] [blame] | 49 | vendor/slim/prebuilt/common/etc/sysctl.conf:system/etc/sysctl.conf |
ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 50 | |
| 51 | PRODUCT_COPY_FILES += \ |
Lars Greiss | b8fcbb5 | 2013-07-03 01:43:49 +0200 | [diff] [blame] | 52 | vendor/slim/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \ |
Lars Greiss | 1496990 | 2013-04-06 12:22:29 +0200 | [diff] [blame] | 53 | vendor/slim/prebuilt/common/etc/init.d/90userinit:system/etc/init.d/90userinit \ |
Lars Greiss | 1496990 | 2013-04-06 12:22:29 +0200 | [diff] [blame] | 54 | vendor/slim/prebuilt/common/bin/sysinit:system/bin/sysinit |
ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 55 | |
Lars Greiss | 679c82c | 2013-04-28 05:25:33 +0200 | [diff] [blame] | 56 | # Workaround for NovaLauncher zipalign fails |
| 57 | PRODUCT_COPY_FILES += \ |
| 58 | vendor/slim/prebuilt/common/app/NovaLauncher.apk:system/app/NovaLauncher.apk |
| 59 | |
prbassplayer | ecc0d60 | 2013-03-08 01:34:23 +0100 | [diff] [blame] | 60 | # Embed SuperUser |
| 61 | SUPERUSER_EMBEDDED := true |
| 62 | |
ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 63 | # Required packages |
| 64 | PRODUCT_PACKAGES += \ |
| 65 | Camera \ |
| 66 | Development \ |
| 67 | SpareParts \ |
prbassplayer | ecc0d60 | 2013-03-08 01:34:23 +0100 | [diff] [blame] | 68 | Superuser \ |
| 69 | su |
ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 70 | |
| 71 | # Optional packages |
| 72 | PRODUCT_PACKAGES += \ |
| 73 | Basic \ |
| 74 | HoloSpiralWallpaper \ |
| 75 | NoiseField \ |
| 76 | Galaxy4 \ |
| 77 | LiveWallpapersPicker \ |
| 78 | PhaseBeam |
| 79 | |
| 80 | # Extra Optional packages |
| 81 | PRODUCT_PACKAGES += \ |
Lars Greiss | 89cfcfc | 2013-02-23 02:28:10 +0100 | [diff] [blame] | 82 | DashClock \ |
mnazim | 68b2e5f | 2012-12-28 14:36:23 -0700 | [diff] [blame] | 83 | SlimFileManager \ |
Lars Greiss | 1698712 | 2013-03-13 14:25:14 +0100 | [diff] [blame] | 84 | SlimCenter \ |
blk_jack | 666ccb9 | 2013-04-15 12:18:36 -0400 | [diff] [blame] | 85 | LatinIME \ |
| 86 | SlimIRC |
ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 87 | |
| 88 | # Extra tools |
| 89 | PRODUCT_PACKAGES += \ |
| 90 | openvpn \ |
| 91 | e2fsck \ |
| 92 | mke2fs \ |
| 93 | tune2fs |
| 94 | |
| 95 | PRODUCT_PACKAGE_OVERLAYS += vendor/slim/overlay/dictionaries |
| 96 | PRODUCT_PACKAGE_OVERLAYS += vendor/slim/overlay/common |
| 97 | |
| 98 | # T-Mobile theme engine |
| 99 | include vendor/slim/config/themes_common.mk |
Muhammed Nazim | 442a9a1 | 2013-04-11 13:35:59 +0200 | [diff] [blame] | 100 | |
| 101 | # Versioning System |
Lars Greiss | ba9c52c | 2013-08-08 19:28:11 +0200 | [diff] [blame] | 102 | # Prepare for first 4.3 weekly beta.1 |
Lars Greiss | 07e1472 | 2013-07-28 06:31:40 +0200 | [diff] [blame] | 103 | PRODUCT_VERSION_MAJOR = 4.3 |
krarvind | ecde695 | 2013-02-28 01:02:13 +0100 | [diff] [blame] | 104 | PRODUCT_VERSION_MINOR = build |
Lars Greiss | ba9c52c | 2013-08-08 19:28:11 +0200 | [diff] [blame] | 105 | PRODUCT_VERSION_MAINTENANCE = beta.1 |
tortureduck | cf28216 | 2013-06-19 13:58:38 +0200 | [diff] [blame] | 106 | ifdef SLIM_BUILD_EXTRA |
| 107 | SLIM_POSTFIX := -$(SLIM_BUILD_EXTRA) |
| 108 | endif |
| 109 | ifndef SLIM_BUILD_TYPE |
| 110 | SLIM_BUILD_TYPE := UNOFFICIAL |
| 111 | PLATFORM_VERSION_CODENAME := UNOFFICIAL |
| 112 | SLIM_POSTFIX := -$(shell date +"%Y%m%d-%H%M") |
ar | aa34220 | 2012-09-04 14:59:34 -0300 | [diff] [blame] | 113 | endif |
Muhammed Nazim | 55de548 | 2013-04-11 15:25:27 +0200 | [diff] [blame] | 114 | |
tortureduck | cf28216 | 2013-06-19 13:58:38 +0200 | [diff] [blame] | 115 | # Set all versions |
| 116 | SLIM_VERSION := Slim-$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)-$(SLIM_BUILD_TYPE)$(SLIM_POSTFIX) |
| 117 | SLIM_MOD_VERSION := Slim-$(SLIM_BUILD)-$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)-$(SLIM_BUILD_TYPE)$(SLIM_POSTFIX) |
| 118 | |
Muhammed Nazim | 55de548 | 2013-04-11 15:25:27 +0200 | [diff] [blame] | 119 | PRODUCT_PROPERTY_OVERRIDES += \ |
tortureduck | cf28216 | 2013-06-19 13:58:38 +0200 | [diff] [blame] | 120 | BUILD_DISPLAY_ID=$(BUILD_ID) \ |
| 121 | slim.ota.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE) \ |
Muhammed Nazim | 55de548 | 2013-04-11 15:25:27 +0200 | [diff] [blame] | 122 | ro.slim.version=$(SLIM_VERSION) \ |
| 123 | ro.modversion=$(SLIM_MOD_VERSION) |