micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 1 | # Copyright (C) 2016 The CyanogenMod Project |
| 2 | # Copyright (C) 2019 The OmniRom Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | # |
| 17 | # This file is the build configuration for a full Android |
| 18 | # build for grouper hardware. This cleanly combines a set of |
| 19 | # device-specific aspects (drivers) with a device-agnostic |
| 20 | # product configuration (apps). |
| 21 | # |
micky387 | 619d912 | 2019-09-01 23:51:31 +0200 | [diff] [blame] | 22 | $(call inherit-product, vendor/asus/zenfone6/zenfone6-vendor.mk) |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 23 | |
Luca Stefani | 9629b32 | 2019-09-12 23:47:56 +0200 | [diff] [blame] | 24 | # Enable updating of APEXes |
| 25 | $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) |
| 26 | |
micky387 | a8d9618 | 2019-06-11 13:36:14 +0200 | [diff] [blame] | 27 | # Overlays |
| 28 | DEVICE_PACKAGE_OVERLAYS += \ |
micky387 | 68ec999 | 2019-12-28 13:35:00 +0100 | [diff] [blame] | 29 | $(LOCAL_PATH)/overlay \ |
| 30 | vendor/omni/overlay/CarrierConfig |
micky387 | a8d9618 | 2019-06-11 13:36:14 +0200 | [diff] [blame] | 31 | |
micky387 | 7564a9b | 2020-12-30 22:14:37 +0100 | [diff] [blame^] | 32 | # VNDK |
| 33 | PRODUCT_TARGET_VNDK_VERSION := 30 |
| 34 | |
micky387 | 4eedc68 | 2019-06-11 02:29:28 +0200 | [diff] [blame] | 35 | # A/B |
micky387 | 82dbd1a | 2019-09-17 08:11:02 +0200 | [diff] [blame] | 36 | AB_OTA_UPDATER := true |
| 37 | |
micky387 | 4eedc68 | 2019-06-11 02:29:28 +0200 | [diff] [blame] | 38 | AB_OTA_PARTITIONS += \ |
| 39 | boot \ |
| 40 | dtbo \ |
| 41 | system \ |
| 42 | vbmeta |
| 43 | |
| 44 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 45 | RUN_POSTINSTALL_system=true \ |
Marko Man | ac93137 | 2020-03-14 21:02:38 +0100 | [diff] [blame] | 46 | POSTINSTALL_PATH_system=system/bin/omnipreopt_script \ |
micky387 | 4eedc68 | 2019-06-11 02:29:28 +0200 | [diff] [blame] | 47 | FILESYSTEM_TYPE_system=ext4 \ |
| 48 | POSTINSTALL_OPTIONAL_system=true |
| 49 | |
Marko Man | ac93137 | 2020-03-14 21:02:38 +0100 | [diff] [blame] | 50 | PRODUCT_PACKAGES += \ |
| 51 | omnipreopt_script |
| 52 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 53 | # ANT+ |
| 54 | PRODUCT_PACKAGES += \ |
| 55 | AntHalService |
| 56 | |
micky387 | 82dbd1a | 2019-09-17 08:11:02 +0200 | [diff] [blame] | 57 | # Api |
| 58 | PRODUCT_SHIPPING_API_LEVEL := 28 |
| 59 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 60 | # audio |
LuK1337 | 6913595 | 2018-09-09 17:39:16 +0200 | [diff] [blame] | 61 | PRODUCT_COPY_FILES += \ |
micky387 | 7564a9b | 2020-12-30 22:14:37 +0100 | [diff] [blame^] | 62 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio/audio_policy_configuration.xml \ |
| 63 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio_policy_configuration.xml \ |
| 64 | $(LOCAL_PATH)/audio/audio_policy_volumes_ZS630KL.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio_policy_volumes_ZS630KL.xml |
LuK1337 | 6913595 | 2018-09-09 17:39:16 +0200 | [diff] [blame] | 65 | |
micky387 | 1f4e8bf | 2020-12-30 22:02:51 +0100 | [diff] [blame] | 66 | # Bluetooth |
| 67 | PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/commonsys/packages/apps/Bluetooth |
| 68 | PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/commonsys/system/bt/conf |
| 69 | |
| 70 | PRODUCT_PACKAGE_OVERLAYS += vendor/qcom/opensource/commonsys-intf/bluetooth/overlay/qva |
| 71 | |
| 72 | PRODUCT_PACKAGES += BluetoothExt |
| 73 | PRODUCT_PACKAGES += libbluetooth_qti |
| 74 | PRODUCT_PACKAGES += vendor.qti.hardware.bluetooth_dun-V1.0-java |
| 75 | |
micky387 | e96abca | 2019-06-11 02:35:20 +0200 | [diff] [blame] | 76 | # Boot control |
Hridya Valsaraju | 9bf1814 | 2018-08-21 21:22:37 -0700 | [diff] [blame] | 77 | PRODUCT_PACKAGES += \ |
| 78 | android.hardware.boot@1.0-impl.recovery \ |
| 79 | bootctrl.msmnile.recovery |
| 80 | |
micky387 | e96abca | 2019-06-11 02:35:20 +0200 | [diff] [blame] | 81 | PRODUCT_PACKAGES_DEBUG += \ |
| 82 | bootctl |
| 83 | |
micky387 | 95b3a99 | 2019-06-11 03:21:49 +0200 | [diff] [blame] | 84 | # Charger images |
| 85 | PRODUCT_PACKAGES += \ |
| 86 | omni_charger_res_images \ |
| 87 | animation.txt \ |
| 88 | font_charger.png |
| 89 | |
micky387 | 54bf102 | 2019-07-03 03:31:11 +0200 | [diff] [blame] | 90 | # DeviceParts |
| 91 | PRODUCT_PACKAGES += \ |
Marko Man | 015b678 | 2019-09-26 03:22:20 +0200 | [diff] [blame] | 92 | DeviceParts \ |
micky387 | 9844ec5 | 2019-08-07 20:16:37 +0200 | [diff] [blame] | 93 | OmniDisplayManager |
micky387 | 54bf102 | 2019-07-03 03:31:11 +0200 | [diff] [blame] | 94 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 95 | # Display |
| 96 | PRODUCT_PACKAGES += \ |
| 97 | libion \ |
| 98 | libtinyxml2 |
| 99 | |
| 100 | PRODUCT_PACKAGES += \ |
| 101 | libtinyalsa |
| 102 | |
Fenglin Wu | c1f19de | 2018-07-10 10:51:08 +0800 | [diff] [blame] | 103 | # Exclude vibrator from InputManager |
| 104 | PRODUCT_COPY_FILES += \ |
| 105 | $(LOCAL_PATH)/configs/excluded-input-devices.xml:system/etc/excluded-input-devices.xml |
| 106 | |
micky387 | 2a9055a | 2019-08-22 22:37:25 +0200 | [diff] [blame] | 107 | # FM |
micky387 | fb82cc7 | 2019-12-03 13:45:53 +0100 | [diff] [blame] | 108 | PRODUCT_PACKAGES += \ |
micky387 | 2a9055a | 2019-08-22 22:37:25 +0200 | [diff] [blame] | 109 | FM2 \ |
| 110 | libqcomfm_jni \ |
| 111 | qcom.fmradio |
| 112 | |
micky387 | fb82cc7 | 2019-12-03 13:45:53 +0100 | [diff] [blame] | 113 | PRODUCT_BOOT_JARS += qcom.fmradio |
micky387 | 2a9055a | 2019-08-22 22:37:25 +0200 | [diff] [blame] | 114 | |
micky387 | 22c3b45 | 2020-01-04 07:59:01 +0100 | [diff] [blame] | 115 | # Frameworks |
| 116 | PRODUCT_PACKAGES += \ |
| 117 | FrameworksResOverlay |
| 118 | |
micky387 | 2e9a6b7 | 2019-07-02 20:48:08 +0200 | [diff] [blame] | 119 | # Input |
| 120 | PRODUCT_COPY_FILES += \ |
| 121 | $(LOCAL_PATH)/keylayout/fts_ts.kl:system/usr/keylayout/fts_ts.kl \ |
Demon000 | b9538f1 | 2019-05-23 21:11:03 +0200 | [diff] [blame] | 122 | $(LOCAL_PATH)/keylayout/goodixfp.kl:system/usr/keylayout/goodixfp.kl \ |
| 123 | $(LOCAL_PATH)/keylayout/googlekey_input.kl:system/usr/keylayout/googlekey_input.kl |
micky387 | 2e9a6b7 | 2019-07-02 20:48:08 +0200 | [diff] [blame] | 124 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 125 | # Live Wallpapers |
| 126 | PRODUCT_PACKAGES += \ |
| 127 | LiveWallpapers \ |
| 128 | LiveWallpapersPicker \ |
| 129 | VisualizationWallpapers \ |
| 130 | librs_jni |
| 131 | |
OrdenKrieger | bb6abee | 2019-08-05 23:51:15 +0200 | [diff] [blame] | 132 | # Lights |
| 133 | PRODUCT_PACKAGES += \ |
| 134 | android.hardware.light@2.0-service.asus_msmnile |
| 135 | |
micky387 | e5ae8c7 | 2019-08-07 20:01:48 +0200 | [diff] [blame] | 136 | # NFC - NQ (NXP) |
micky387 | 0f68c2b | 2019-09-11 14:28:27 +0200 | [diff] [blame] | 137 | #PRODUCT_PACKAGES += \ |
micky387 | e5ae8c7 | 2019-08-07 20:01:48 +0200 | [diff] [blame] | 138 | Tag \ |
| 139 | com.android.nfc_extras |
| 140 | |
micky387 | 0f68c2b | 2019-09-11 14:28:27 +0200 | [diff] [blame] | 141 | #PRODUCT_PACKAGES += \ |
micky387 | e5ae8c7 | 2019-08-07 20:01:48 +0200 | [diff] [blame] | 142 | android.hardware.nfc@1.1 \ |
| 143 | android.hardware.nfc@1.0 |
| 144 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 145 | # Prebuilt |
| 146 | PRODUCT_COPY_FILES += \ |
| 147 | $(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/system,system) \ |
| 148 | $(call find-copy-subdir-files,*,device/asus/zenfone6/prebuilt/root,root) |
| 149 | |
micky387 | 4a9d784 | 2019-10-14 20:53:12 +0200 | [diff] [blame] | 150 | PRODUCT_AAPT_CONFIG := normal |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 151 | PRODUCT_AAPT_PREF_CONFIG := xxhdpi |
| 152 | |
micky387 | 82dbd1a | 2019-09-17 08:11:02 +0200 | [diff] [blame] | 153 | # Properties |
| 154 | BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true |
| 155 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 156 | # Netutils |
| 157 | PRODUCT_PACKAGES += \ |
| 158 | netutils-wrapper-1.0 \ |
| 159 | libandroid_net |
| 160 | |
| 161 | PRODUCT_PACKAGES += \ |
| 162 | vndk_package |
| 163 | |
| 164 | PRODUCT_PACKAGES += \ |
| 165 | android.hidl.base@1.0 |
| 166 | |
micky387 | 9ed76f0 | 2019-11-10 08:07:45 +0100 | [diff] [blame] | 167 | # Remove unwanted packages |
| 168 | PRODUCT_PACKAGES += \ |
micky387 | e568a8a | 2019-12-05 20:38:19 +0100 | [diff] [blame] | 169 | RemovePackages |
micky387 | 9ed76f0 | 2019-11-10 08:07:45 +0100 | [diff] [blame] | 170 | |
Bruno Martins | ff55cad | 2019-09-05 12:17:15 +0100 | [diff] [blame] | 171 | # Soong namespaces |
| 172 | PRODUCT_SOONG_NAMESPACES += \ |
| 173 | $(LOCAL_PATH) |
| 174 | |
micky387 | 7fec595 | 2019-09-28 10:19:41 +0200 | [diff] [blame] | 175 | # Telephony |
| 176 | PRODUCT_PACKAGES += \ |
| 177 | ims-ext-common \ |
| 178 | ims_ext_common.xml \ |
| 179 | qti-telephony-hidl-wrapper \ |
| 180 | qti_telephony_hidl_wrapper.xml \ |
| 181 | qti-telephony-utils \ |
micky387 | 8459a0c | 2020-05-01 18:24:34 +0200 | [diff] [blame] | 182 | qti_telephony_utils.xml \ |
| 183 | tcmiface |
micky387 | 7fec595 | 2019-09-28 10:19:41 +0200 | [diff] [blame] | 184 | |
micky387 | be0ade6 | 2019-06-11 03:20:23 +0200 | [diff] [blame] | 185 | # Update engine |
| 186 | PRODUCT_PACKAGES += \ |
| 187 | otapreopt_script \ |
micky387 | be0ade6 | 2019-06-11 03:20:23 +0200 | [diff] [blame] | 188 | update_engine \ |
| 189 | update_engine_sideload \ |
| 190 | update_verifier |
| 191 | |
micky387 | 0f68c2b | 2019-09-11 14:28:27 +0200 | [diff] [blame] | 192 | PRODUCT_HOST_PACKAGES += \ |
| 193 | brillo_update_payload |
| 194 | |
micky387 | be0ade6 | 2019-06-11 03:20:23 +0200 | [diff] [blame] | 195 | PRODUCT_PACKAGES_DEBUG += \ |
| 196 | update_engine_client |
| 197 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 198 | # WiFi Display |
| 199 | PRODUCT_PACKAGES += \ |
| 200 | libnl |
micky387 | d58b643 | 2020-10-09 04:09:07 +0200 | [diff] [blame] | 201 | |
| 202 | include vendor/qcom/opensource/display-commonsys-intf/config/display-product-system.mk |