Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 1 | PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 |
| 2 | |
Rashed Abdel-Tawab | 06413ba | 2018-03-02 10:21:37 -0500 | [diff] [blame] | 3 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 4 | keyguard.no_require_sim=true \ |
| 5 | ro.com.google.clientidbase=android-google \ |
| 6 | ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html \ |
| 7 | ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html \ |
| 8 | ro.com.android.wifi-watchlist=GoogleGuest \ |
| 9 | ro.setupwizard.enterprise_mode=1 \ |
| 10 | ro.com.android.dateformat=MM-dd-yyyy \ |
beanstown106 | ca4a0d2 | 2016-12-16 23:56:48 -0500 | [diff] [blame] | 11 | ro.com.android.dataroaming=false \ |
| 12 | ro.opa.eligible_device=true |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 13 | |
Rashed Abdel-Tawab | 06413ba | 2018-03-02 10:21:37 -0500 | [diff] [blame] | 14 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 15 | ro.build.selinux=1 |
| 16 | |
Eric Park | 210503c | 2019-05-04 11:02:25 -0400 | [diff] [blame] | 17 | # Default sounds |
Eric Park | 7f151bc | 2019-05-04 10:44:42 -0400 | [diff] [blame] | 18 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ |
| 19 | ro.config.notification_sound=Argon.ogg \ |
Eric Park | 210503c | 2019-05-04 11:02:25 -0400 | [diff] [blame] | 20 | ro.config.alarm_alert=Hassium.ogg \ |
| 21 | ro.config.ringtone=Themos.ogg |
Eric Park | 7f151bc | 2019-05-04 10:44:42 -0400 | [diff] [blame] | 22 | |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 23 | # Thank you, please drive thru! |
Rashed Abdel-Tawab | 06413ba | 2018-03-02 10:21:37 -0500 | [diff] [blame] | 24 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.sys.dun.override=0 |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 25 | |
Calin | 3de2b01 | 2017-05-05 19:45:42 +0200 | [diff] [blame] | 26 | #Chromium libs |
| 27 | ifeq ($(USE_CHROMIUM), true) |
| 28 | ifeq ($(CHROMIUM_X86), true) |
| 29 | PRODUCT_COPY_FILES += \ |
| 30 | vendor/bliss/Chromium/x86/libs/libchrome.so:system/app/Chromium/lib/x86/libchrome.so \ |
| 31 | vendor/bliss/Chromium/x86/libs/libchromium_android_linker.so:system/app/Chromium/lib/x86/libchromium_android_linker.so |
| 32 | else |
| 33 | PRODUCT_COPY_FILES += \ |
| 34 | vendor/bliss/Chromium/arm/libs/libchrome.so:system/app/Chromium/lib/arm/libchrome.so \ |
| 35 | vendor/bliss/Chromium/arm/libs/libchromium_android_linker.so:system/app/Chromium/lib/arm/libchromium_android_linker.so |
| 36 | endif |
| 37 | PRODUCT_PACKAGES += \ |
| 38 | Chromium |
| 39 | endif |
| 40 | |
Jackeagle | 2e87a9a | 2017-10-01 05:24:50 -0400 | [diff] [blame] | 41 | # Backup Tool |
| 42 | PRODUCT_COPY_FILES += \ |
| 43 | vendor/bliss/prebuilt/common/bin/backuptool.sh:install/bin/backuptool.sh \ |
| 44 | vendor/bliss/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \ |
| 45 | vendor/bliss/prebuilt/common/bin/blacklist:system/addon.d/blacklist \ |
| 46 | vendor/bliss/prebuilt/common/bin/whitelist:system/addon.d/whitelist \ |
Dan Pasanen | 5a8e34c | 2018-07-15 13:02:00 +0200 | [diff] [blame] | 47 | vendor/bliss/prebuilt/bin/blacklist:system/addon.d/blacklist \ |
| 48 | vendor/bliss/prebuilt/common/bin/50-bliss.sh:system/addon.d/50-bliss.sh |
| 49 | |
Dan Pasanen | 4c8f973 | 2018-07-15 12:47:42 +0200 | [diff] [blame] | 50 | ifeq ($(AB_OTA_UPDATER),true) |
| 51 | PRODUCT_COPY_FILES += \ |
Jackeagle | 8649e99 | 2019-05-06 19:25:18 +0530 | [diff] [blame] | 52 | vendor/bliss/prebuilt/common/bin/backuptool_ab.sh:system/bin/backuptool_ab.sh \ |
| 53 | vendor/bliss/prebuilt/common/bin/backuptool_ab.functions:system/bin/backuptool_ab.functions \ |
| 54 | vendor/bliss/prebuilt/common/bin/backuptool_postinstall.sh:system/bin/backuptool_postinstall.sh |
Dan Pasanen | 4c8f973 | 2018-07-15 12:47:42 +0200 | [diff] [blame] | 55 | endif |
| 56 | |
Dan Pasanen | 5a8e34c | 2018-07-15 13:02:00 +0200 | [diff] [blame] | 57 | # Backup services whitelist |
| 58 | PRODUCT_COPY_FILES += \ |
| 59 | vendor/bliss/config/permissions/backup.xml:system/etc/sysconfig/backup.xml |
| 60 | |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 61 | # init.d support |
| 62 | PRODUCT_COPY_FILES += \ |
Jackeagle | 5c53cae | 2016-10-25 15:13:35 +0530 | [diff] [blame] | 63 | vendor/bliss/prebuilt/common/bin/sysinit:system/bin/sysinit \ |
Jackeagle | 5682496 | 2019-05-23 07:41:12 +0200 | [diff] [blame] | 64 | vendor/bliss/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 65 | |
Jackeagle | 6a37673 | 2019-05-23 11:16:25 +0200 | [diff] [blame] | 66 | # Copy all Bliss specific init rc files |
| 67 | $(foreach f,$(wildcard vendor/bliss/prebuilt/common/etc/init/*.rc),\ |
| 68 | $(eval PRODUCT_COPY_FILES += $(f):system/etc/init/$(notdir $f))) |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 69 | |
| 70 | # Bring in camera effects |
| 71 | PRODUCT_COPY_FILES += \ |
Jackeagle | 5c53cae | 2016-10-25 15:13:35 +0530 | [diff] [blame] | 72 | vendor/bliss/prebuilt/common/media/LMprec_508.emd:system/media/LMprec_508.emd \ |
| 73 | vendor/bliss/prebuilt/common/media/PFFprec_600.emd:system/media/PFFprec_600.emd |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 74 | |
| 75 | # Enable SIP+VoIP on all targets |
| 76 | PRODUCT_COPY_FILES += \ |
| 77 | frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml |
| 78 | |
| 79 | # Enable wireless Xbox 360 controller support |
| 80 | PRODUCT_COPY_FILES += \ |
| 81 | frameworks/base/data/keyboards/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_0719.kl |
| 82 | |
Luca Stefani | a90a878 | 2019-01-05 11:46:23 +0100 | [diff] [blame] | 83 | # Do not include art debug targets |
| 84 | PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false |
| 85 | |
| 86 | # Strip the local variable table and the local variable type table to reduce |
| 87 | # the size of the system image. This has no bearing on stack traces, but will |
| 88 | # leave less information available via JDWP. |
| 89 | PRODUCT_MINIMIZE_JAVA_DEBUG_INFO := true |
| 90 | |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 91 | # World APN list |
Rashed Abdel-Tawab | ebb66d5 | 2018-09-06 08:48:26 -0700 | [diff] [blame] | 92 | PRODUCT_PACKAGES += \ |
| 93 | apns-conf.xml |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 94 | |
Marko Man | 2f6dea8 | 2018-03-22 10:33:50 +0100 | [diff] [blame] | 95 | #permissions |
| 96 | PRODUCT_COPY_FILES += \ |
Jackeagle | 9744729 | 2019-05-23 07:54:26 +0200 | [diff] [blame] | 97 | vendor/bliss/prebuilt/common/etc/permissions/privapp-permissions-bliss.xml:system/etc/permissions/privapp-permissions-bliss.xml \ |
| 98 | vendor/bliss/prebuilt/common/etc/permissions/privapp-permissions-elgoog.xml:system/etc/permissions/privapp-permissions-elgoog.xml |
darkobas | b15c9a4 | 2018-07-26 09:58:26 +0200 | [diff] [blame] | 99 | |
oshmoun | f5ff07e | 2018-02-24 14:45:13 +0100 | [diff] [blame] | 100 | # whitelist packages for location providers not in system |
| 101 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 102 | ro.services.whitelist.packagelist=com.google.android.gms |
| 103 | |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 104 | # Selective SPN list for operator number who has the problem. |
| 105 | PRODUCT_COPY_FILES += \ |
Jackeagle | 5c53cae | 2016-10-25 15:13:35 +0530 | [diff] [blame] | 106 | vendor/bliss/prebuilt/common/etc/selective-spn-conf.xml:system/etc/selective-spn-conf.xml |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 107 | |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 108 | PRODUCT_PACKAGE_OVERLAYS += \ |
Jon West | 1ec53ff | 2018-09-01 21:30:35 -0400 | [diff] [blame] | 109 | vendor/bliss/overlay/common |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 110 | |
Jackeagle | c965ff9 | 2017-08-27 02:49:00 -0400 | [diff] [blame] | 111 | # Proprietary latinime libs needed for Keyboard swyping |
Jackeagle | b56af1f | 2019-05-23 06:29:43 +0200 | [diff] [blame] | 112 | ifeq ($(TARGET_ARCH),arm64) |
beanstown106 | 51b99e8 | 2015-12-26 04:15:07 -0500 | [diff] [blame] | 113 | PRODUCT_COPY_FILES += \ |
Jackeagle | b56af1f | 2019-05-23 06:29:43 +0200 | [diff] [blame] | 114 | vendor/bliss/prebuilt/common/lib64/libjni_latinime.so:system/lib64/libjni_latinime.so \ |
| 115 | vendor/bliss/prebuilt/common/lib64/libjni_latinimegoogle.so:system/lib64/libjni_latinimegoogle.so |
beanstown106 | 51b99e8 | 2015-12-26 04:15:07 -0500 | [diff] [blame] | 116 | else |
| 117 | PRODUCT_COPY_FILES += \ |
Jackeagle | b56af1f | 2019-05-23 06:29:43 +0200 | [diff] [blame] | 118 | vendor/bliss/prebuilt/common/lib/libjni_latinime.so:system/lib/libjni_latinime.so \ |
| 119 | vendor/bliss/prebuilt/common/lib/libjni_latinimegoogle.so:system/lib/libjni_latinimegoogle.so |
beanstown106 | 51b99e8 | 2015-12-26 04:15:07 -0500 | [diff] [blame] | 120 | endif |
| 121 | |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 122 | # by default, do not update the recovery with system updates |
Rashed Abdel-Tawab | 06413ba | 2018-03-02 10:21:37 -0500 | [diff] [blame] | 123 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.sys.recovery_update=false |
Alberto97 | 0ceb834 | 2015-01-02 14:43:15 +0100 | [diff] [blame] | 124 | |
Jackeagle | 97a6695 | 2019-07-05 06:10:28 -0400 | [diff] [blame] | 125 | ifeq ($(TARGET_BUILD_VARIANT),eng) |
| 126 | # Disable ADB authentication |
| 127 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0 |
| 128 | else |
Chirayu Desai | 6efc7f8 | 2013-02-15 21:16:39 +0530 | [diff] [blame] | 129 | # Enable ADB authentication |
Jackeagle | 97a6695 | 2019-07-05 06:10:28 -0400 | [diff] [blame] | 130 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=1 |
Chirayu Desai | 9819bc9 | 2013-03-20 16:17:17 +0530 | [diff] [blame] | 131 | endif |
Chirayu Desai | 6efc7f8 | 2013-02-15 21:16:39 +0530 | [diff] [blame] | 132 | |
codeworkx | b6ed9d2 | 2018-01-06 11:59:30 +0100 | [diff] [blame] | 133 | # Charger |
Adrian DC | c4059fb | 2017-08-18 16:14:47 +0200 | [diff] [blame] | 134 | PRODUCT_PACKAGES += \ |
codeworkx | b6ed9d2 | 2018-01-06 11:59:30 +0100 | [diff] [blame] | 135 | charger_res_images |
| 136 | |
| 137 | # Custom off-mode charger |
| 138 | ifeq ($(WITH_BLISS_CHARGER),true) |
| 139 | PRODUCT_PACKAGES += \ |
Adrian DC | c4059fb | 2017-08-18 16:14:47 +0200 | [diff] [blame] | 140 | bliss_charger_res_images \ |
| 141 | font_log.png \ |
| 142 | libhealthd.bliss |
| 143 | endif |
| 144 | |
Joe Maples | 2dfa0fd | 2014-12-03 21:09:44 -0500 | [diff] [blame] | 145 | # Squisher Location |
| 146 | SQUISHER_SCRIPT := vendor/bliss/tools/squisher |
Kshitij Gupta | 032c178 | 2019-02-21 15:05:36 +0530 | [diff] [blame] | 147 | |
Jon West | c065208 | 2018-08-13 13:53:52 -0400 | [diff] [blame] | 148 | # Fonts |
Jackeagle | 71066ed | 2019-09-04 19:27:16 +0200 | [diff] [blame^] | 149 | #PRODUCT_COPY_FILES += \ |
| 150 | # vendor/bliss/fonts/GoogleSans-Regular.ttf:system/fonts/GoogleSans-Regular.ttf \ |
| 151 | # vendor/bliss/fonts/GoogleSans-Medium.ttf:system/fonts/GoogleSans-Medium.ttf \ |
| 152 | # vendor/bliss/fonts/GoogleSans-MediumItalic.ttf:system/fonts/GoogleSans-MediumItalic.ttf \ |
| 153 | # vendor/bliss/fonts/GoogleSans-Italic.ttf:system/fonts/GoogleSans-Italic.ttf \ |
| 154 | # vendor/bliss/fonts/GoogleSans-Bold.ttf:system/fonts/GoogleSans-Bold.ttf \ |
| 155 | # vendor/bliss/fonts/GoogleSans-BoldItalic.ttf:system/fonts/GoogleSans-BoldItalic.ttf |
pimpmaneaton | bb3ccbb | 2019-07-31 14:29:27 -0600 | [diff] [blame] | 156 | |
Jackeagle | c965ff9 | 2017-08-27 02:49:00 -0400 | [diff] [blame] | 157 | # Bliss Versioning System |
| 158 | -include vendor/bliss/config/versions.mk |
Joe Maples | 2c83ab0 | 2017-01-05 19:14:55 -0500 | [diff] [blame] | 159 | |
Jackeagle | b99e41d | 2017-02-04 20:17:05 +0530 | [diff] [blame] | 160 | # Bliss Packages |
| 161 | -include vendor/bliss/config/bliss_packages.mk |
| 162 | |
Marko Man | 673aef2 | 2017-12-19 13:37:10 +0100 | [diff] [blame] | 163 | # Prebuilt vi editor |
Vaughn N | 98af9d4 | 2018-04-01 10:38:18 -0400 | [diff] [blame] | 164 | PRODUCT_COPY_FILES += \ |
| 165 | vendor/bliss/prebuilt/common/bin/vi:system/bin/vi |
Griffin Millender | be3bb33 | 2016-10-07 18:16:06 -0500 | [diff] [blame] | 166 | |
| 167 | # Boot Animation |
| 168 | PRODUCT_PACKAGES += \ |
| 169 | bootanimation.zip |
me2151 | 0377918 | 2018-09-10 14:33:13 -0400 | [diff] [blame] | 170 | |
| 171 | # We modify several neverallows, so let the build proceed |
| 172 | ifneq ($(TARGET_BUILD_VARIANT),user) |
| 173 | SELINUX_IGNORE_NEVERALLOWS := true |
| 174 | endif |