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