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 | 18765c8 | 2022-11-03 12:51:36 +0100 | [diff] [blame] | 22 | $(call inherit-product, vendor/asus/zenfone9/zenfone9-vendor.mk) |
micky387 | 91a699d | 2023-01-27 18:25:56 +0100 | [diff] [blame] | 23 | $(call inherit-product, vendor/images/asus/zf9/zf9-app.mk) |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 24 | |
David Ng | 3a95e4b | 2020-06-16 18:07:14 -0700 | [diff] [blame] | 25 | # fusefs / disable sdcardfs usage |
| 26 | $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk) |
| 27 | |
micky387 | 536715a | 2021-05-30 02:32:41 +0200 | [diff] [blame] | 28 | # Enable updating of APEXes |
| 29 | $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) |
| 30 | |
micky387 | eea3663 | 2022-11-13 16:27:00 +0100 | [diff] [blame] | 31 | # Prebuilt Kernel Binary |
micky387 | b45bb83 | 2022-12-16 18:32:40 +0100 | [diff] [blame] | 32 | TARGET_KERNEL_VERSION := 5.10 |
micky387 | eea3663 | 2022-11-13 16:27:00 +0100 | [diff] [blame] | 33 | TARGET_KERNEL_DIR ?= device/asus/zenfone9-kernel |
| 34 | LOCAL_KERNEL := $(TARGET_KERNEL_DIR)/Image |
| 35 | PRODUCT_COPY_FILES += \ |
micky387 | d47120a | 2023-01-01 12:27:40 +0100 | [diff] [blame] | 36 | $(LOCAL_KERNEL):kernel |
micky387 | eea3663 | 2022-11-13 16:27:00 +0100 | [diff] [blame] | 37 | |
| 38 | # Prebuilt Kernel Headers |
micky387 | d47120a | 2023-01-01 12:27:40 +0100 | [diff] [blame] | 39 | TARGET_BOARD_KERNEL_HEADERS ?= device/asus/zenfone9-kernel/kernel-headers |
micky387 | eea3663 | 2022-11-13 16:27:00 +0100 | [diff] [blame] | 40 | |
micky387 | a8d9618 | 2019-06-11 13:36:14 +0200 | [diff] [blame] | 41 | # Overlays |
| 42 | DEVICE_PACKAGE_OVERLAYS += \ |
micky387 | 68ec999 | 2019-12-28 13:35:00 +0100 | [diff] [blame] | 43 | $(LOCAL_PATH)/overlay \ |
| 44 | vendor/omni/overlay/CarrierConfig |
micky387 | a8d9618 | 2019-06-11 13:36:14 +0200 | [diff] [blame] | 45 | |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 46 | PRODUCT_PACKAGES += \ |
| 47 | aptxalsOverlay \ |
| 48 | FrameworksResOverlay \ |
| 49 | FrameworksResVendor \ |
micky387 | a243c79 | 2022-02-08 19:26:00 +0100 | [diff] [blame] | 50 | SettingsProviderOverlay \ |
| 51 | SystemUIOverlay \ |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 52 | TeleServiceOverlay \ |
micky387 | 7ed0d21 | 2022-09-03 22:28:43 +0200 | [diff] [blame] | 53 | TetheringConfigOverlay \ |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 54 | WifiOverlay |
micky387 | 7564a9b | 2020-12-30 22:14:37 +0100 | [diff] [blame] | 55 | |
micky387 | 4eedc68 | 2019-06-11 02:29:28 +0200 | [diff] [blame] | 56 | # A/B |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 57 | ENABLE_VIRTUAL_AB := true |
Yifan Hong | 220f76c | 2020-11-20 15:48:45 -0800 | [diff] [blame] | 58 | $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk) |
micky387 | 4eedc68 | 2019-06-11 02:29:28 +0200 | [diff] [blame] | 59 | |
| 60 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 61 | RUN_POSTINSTALL_system=true \ |
Marko Man | ac93137 | 2020-03-14 21:02:38 +0100 | [diff] [blame] | 62 | POSTINSTALL_PATH_system=system/bin/omnipreopt_script \ |
micky387 | 4eedc68 | 2019-06-11 02:29:28 +0200 | [diff] [blame] | 63 | FILESYSTEM_TYPE_system=ext4 \ |
| 64 | POSTINSTALL_OPTIONAL_system=true |
| 65 | |
micky387 | 2640c33 | 2021-05-28 14:56:39 +0200 | [diff] [blame] | 66 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 67 | RUN_POSTINSTALL_vendor=true \ |
| 68 | POSTINSTALL_PATH_vendor=bin/checkpoint_gc \ |
| 69 | FILESYSTEM_TYPE_vendor=ext4 \ |
| 70 | POSTINSTALL_OPTIONAL_vendor=true |
| 71 | |
Marko Man | ac93137 | 2020-03-14 21:02:38 +0100 | [diff] [blame] | 72 | PRODUCT_PACKAGES += \ |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 73 | checkpoint_gc \ |
Marko Man | ac93137 | 2020-03-14 21:02:38 +0100 | [diff] [blame] | 74 | omnipreopt_script |
| 75 | |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 76 | # Adreno |
| 77 | PRODUCT_COPY_FILES += \ |
| 78 | frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 79 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 80 | # ANT+ |
| 81 | PRODUCT_PACKAGES += \ |
| 82 | AntHalService |
| 83 | |
micky387 | 82dbd1a | 2019-09-17 08:11:02 +0200 | [diff] [blame] | 84 | # Api |
micky387 | 6fd2d5e | 2022-11-30 14:34:45 +0100 | [diff] [blame] | 85 | BOARD_API_LEVEL := 31 |
| 86 | BOARD_SHIPPING_API_LEVEL := $(BOARD_API_LEVEL) |
| 87 | PRODUCT_SHIPPING_API_LEVEL := $(BOARD_API_LEVEL) |
micky387 | 82dbd1a | 2019-09-17 08:11:02 +0200 | [diff] [blame] | 88 | |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 89 | # Atrace |
| 90 | PRODUCT_PACKAGES += \ |
| 91 | android.hardware.atrace@1.0-service |
| 92 | |
| 93 | # Audio |
| 94 | PRODUCT_PACKAGES += \ |
micky387 | 7d7f1e5 | 2022-11-03 15:45:17 +0100 | [diff] [blame] | 95 | android.hardware.audio@7.0-impl \ |
| 96 | android.hardware.audio.effect@7.0-impl \ |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 97 | android.hardware.audio.service |
| 98 | |
LuK1337 | 6913595 | 2018-09-09 17:39:16 +0200 | [diff] [blame] | 99 | PRODUCT_COPY_FILES += \ |
micky387 | 263fecf | 2022-11-30 10:48:07 +0100 | [diff] [blame] | 100 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/audio_policy_configuration.xml \ |
micky387 | 18765c8 | 2022-11-03 12:51:36 +0100 | [diff] [blame] | 101 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/DAVINCI/audio_policy_configuration_AI2202.xml \ |
micky387 | 263fecf | 2022-11-30 10:48:07 +0100 | [diff] [blame] | 102 | $(LOCAL_PATH)/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/audio_policy_volumes.xml \ |
micky387 | 18765c8 | 2022-11-03 12:51:36 +0100 | [diff] [blame] | 103 | $(LOCAL_PATH)/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/DAVINCI/audio_policy_volumes_AI2202.xml \ |
micky387 | 263fecf | 2022-11-30 10:48:07 +0100 | [diff] [blame] | 104 | $(LOCAL_PATH)/audio/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/audio_effects.conf \ |
| 105 | $(LOCAL_PATH)/audio/audio_effects_AI2202.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/audio_effects.xml \ |
| 106 | $(LOCAL_PATH)/audio/default_volume_tables_AI2202.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/default_volume_tables.xml \ |
| 107 | $(LOCAL_PATH)/audio/resourcemanager_davinci.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/resourcemanager_davinci.xml \ |
| 108 | $(LOCAL_PATH)/audio/usecaseKvManager_davinci.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/usecaseKvManager_davinci.xml \ |
| 109 | $(LOCAL_PATH)/audio/audio_effects_AI2202.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
micky387 | 87f5727 | 2022-12-07 14:25:09 +0100 | [diff] [blame] | 110 | $(LOCAL_PATH)/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 111 | $(LOCAL_PATH)/audio/bluetooth_qti_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_hearing_aid_audio_policy_configuration.xml |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 112 | |
micky387 | 9a3bfa9 | 2022-12-15 11:40:45 +0100 | [diff] [blame] | 113 | # Biometric |
| 114 | PRODUCT_PACKAGES += \ |
| 115 | android.hardware.biometrics.fingerprint@2.1-service |
| 116 | |
micky387 | e96abca | 2019-06-11 02:35:20 +0200 | [diff] [blame] | 117 | # Boot control |
Hridya Valsaraju | 9bf1814 | 2018-08-21 21:22:37 -0700 | [diff] [blame] | 118 | PRODUCT_PACKAGES += \ |
micky387 | f9f8776 | 2022-11-03 14:56:37 +0100 | [diff] [blame] | 119 | android.hardware.boot@1.2-impl-qti \ |
| 120 | android.hardware.boot@1.2-impl-qti.recovery \ |
| 121 | android.hardware.boot@1.2-service |
Hridya Valsaraju | 9bf1814 | 2018-08-21 21:22:37 -0700 | [diff] [blame] | 122 | |
micky387 | e96abca | 2019-06-11 02:35:20 +0200 | [diff] [blame] | 123 | PRODUCT_PACKAGES_DEBUG += \ |
| 124 | bootctl |
| 125 | |
micky387 | 95b3a99 | 2019-06-11 03:21:49 +0200 | [diff] [blame] | 126 | # Charger images |
| 127 | PRODUCT_PACKAGES += \ |
| 128 | omni_charger_res_images \ |
| 129 | animation.txt \ |
| 130 | font_charger.png |
| 131 | |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 132 | # Dalvik |
| 133 | $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) |
| 134 | |
micky387 | 54bf102 | 2019-07-03 03:31:11 +0200 | [diff] [blame] | 135 | # DeviceParts |
| 136 | PRODUCT_PACKAGES += \ |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 137 | DeviceParts |
micky387 | 54bf102 | 2019-07-03 03:31:11 +0200 | [diff] [blame] | 138 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 139 | # Display |
| 140 | PRODUCT_PACKAGES += \ |
micky387 | bb34fb1 | 2022-12-02 18:29:35 +0100 | [diff] [blame] | 141 | android.hardware.graphics.common-V2-ndk_platform.vendor \ |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 142 | libion \ |
micky387 | a5d6752 | 2022-12-17 22:51:07 +0100 | [diff] [blame] | 143 | libtinyxml2 |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 144 | |
micky387 | d47120a | 2023-01-01 12:27:40 +0100 | [diff] [blame] | 145 | -include hardware/qcom-caf/sm8450/display/config/display-board.mk |
| 146 | -include hardware/qcom-caf/sm8450/display/config/display-product.mk |
| 147 | |
micky387 | cc66c36 | 2022-11-03 16:54:04 +0100 | [diff] [blame] | 148 | $(call inherit-product, vendor/qcom/opensource/commonsys/display/config/display-product-commonsys.mk) |
micky387 | 1da5f36 | 2022-02-11 19:24:58 +0100 | [diff] [blame] | 149 | $(call inherit-product, vendor/qcom/opensource/commonsys-intf/display/config/display-interfaces-product.mk) |
micky387 | ce31648 | 2022-03-02 14:12:31 +0100 | [diff] [blame] | 150 | $(call inherit-product, vendor/qcom/opensource/commonsys-intf/display/config/display-product-system.mk) |
micky387 | 1da5f36 | 2022-02-11 19:24:58 +0100 | [diff] [blame] | 151 | |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 152 | # DRM |
| 153 | PRODUCT_PACKAGES += \ |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 154 | android.hardware.drm@1.4-service.clearkey |
| 155 | |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 156 | # fastbootd |
| 157 | PRODUCT_PACKAGES += \ |
shrkum | a003afe | 2022-01-27 15:24:23 +0530 | [diff] [blame] | 158 | android.hardware.fastboot@1.1-impl-mock \ |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 159 | fastbootd |
Fenglin Wu | c1f19de | 2018-07-10 10:51:08 +0800 | [diff] [blame] | 160 | |
micky387 | 2a9055a | 2019-08-22 22:37:25 +0200 | [diff] [blame] | 161 | # FM |
mickael saibi | a701b82 | 2021-02-13 15:43:55 +0100 | [diff] [blame] | 162 | PRODUCT_PACKAGES += \ |
micky387 | 2a9055a | 2019-08-22 22:37:25 +0200 | [diff] [blame] | 163 | FM2 \ |
| 164 | libqcomfm_jni \ |
| 165 | qcom.fmradio |
| 166 | |
mickael saibi | a701b82 | 2021-02-13 15:43:55 +0100 | [diff] [blame] | 167 | PRODUCT_BOOT_JARS += qcom.fmradio |
micky387 | 2a9055a | 2019-08-22 22:37:25 +0200 | [diff] [blame] | 168 | |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 169 | # GPS |
| 170 | PRODUCT_PACKAGES += \ |
micky387 | bb34fb1 | 2022-12-02 18:29:35 +0100 | [diff] [blame] | 171 | android.hardware.gnss-V1-ndk_platform.vendor |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 172 | |
| 173 | # Health |
| 174 | PRODUCT_PACKAGES += \ |
micky387 | c49af0b | 2022-11-24 18:31:05 +0100 | [diff] [blame] | 175 | android.hardware.health@2.1-impl-qti \ |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 176 | android.hardware.health@2.1-service |
micky387 | 22c3b45 | 2020-01-04 07:59:01 +0100 | [diff] [blame] | 177 | |
micky387 | d8e31eb | 2021-02-19 21:23:59 +0100 | [diff] [blame] | 178 | # HIDL |
| 179 | PRODUCT_PACKAGES += \ |
Sebastiano Barezzi | 7187b21 | 2021-02-21 16:46:06 +0100 | [diff] [blame] | 180 | android.hidl.base@1.0 \ |
| 181 | android.hidl.base@1.0.vendor \ |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 182 | libhwbinder.vendor |
micky387 | d8e31eb | 2021-02-19 21:23:59 +0100 | [diff] [blame] | 183 | |
micky387 | bb34fb1 | 2022-12-02 18:29:35 +0100 | [diff] [blame] | 184 | # Identity |
| 185 | PRODUCT_PACKAGES += \ |
| 186 | android.hardware.identity-V3-ndk_platform.vendor |
| 187 | |
micky387 | 2e9a6b7 | 2019-07-02 20:48:08 +0200 | [diff] [blame] | 188 | # Input |
| 189 | PRODUCT_COPY_FILES += \ |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 190 | $(LOCAL_PATH)/keylayout/fts_ts.idc:system/usr/idc/fts_ts.idc \ |
| 191 | $(LOCAL_PATH)/keylayout/fts_ts.kcm:system/usr/keychars/fts_ts.kcm \ |
micky387 | 2e9a6b7 | 2019-07-02 20:48:08 +0200 | [diff] [blame] | 192 | $(LOCAL_PATH)/keylayout/fts_ts.kl:system/usr/keylayout/fts_ts.kl \ |
micky387 | f814c42 | 2022-11-03 13:08:24 +0100 | [diff] [blame] | 193 | $(LOCAL_PATH)/keylayout/goodixfp.kl:system/usr/keylayout/goodixfp.kl \ |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 194 | $(LOCAL_PATH)/keylayout/i-rocks_Bluetooth_Keyboard.kl:system/usr/keylayout/i-rocks_Bluetooth_Keyboard.kl |
micky387 | 2e9a6b7 | 2019-07-02 20:48:08 +0200 | [diff] [blame] | 195 | |
micky387 | bb34fb1 | 2022-12-02 18:29:35 +0100 | [diff] [blame] | 196 | # Keymint |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 197 | PRODUCT_PACKAGES += \ |
micky387 | bb34fb1 | 2022-12-02 18:29:35 +0100 | [diff] [blame] | 198 | android.hardware.security.keymint-V1-ndk_platform.vendor |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 199 | |
micky387 | 6f5b2ca | 2022-12-17 22:27:03 +0100 | [diff] [blame] | 200 | # Lights |
| 201 | PRODUCT_PACKAGES += \ |
| 202 | vendor.qti.hardware.lights.service |
| 203 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 204 | # Live Wallpapers |
| 205 | PRODUCT_PACKAGES += \ |
| 206 | LiveWallpapers \ |
| 207 | LiveWallpapersPicker \ |
| 208 | VisualizationWallpapers \ |
| 209 | librs_jni |
| 210 | |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 211 | # Media |
| 212 | PRODUCT_PACKAGES += \ |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 213 | libavservices_minijail \ |
| 214 | libavservices_minijail.vendor \ |
| 215 | libavservices_minijail_vendor \ |
micky387 | 7732758 | 2022-12-30 11:37:45 +0100 | [diff] [blame] | 216 | libgui_vendor \ |
micky387 | d943db8 | 2022-11-30 09:49:36 +0100 | [diff] [blame] | 217 | libOmxCore \ |
| 218 | libcodec2_hidl@1.0.vendor \ |
| 219 | libcodec2_vndk.vendor \ |
| 220 | libmm-omxcore \ |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 221 | libstagefright_softomx.vendor \ |
micky387 | d943db8 | 2022-11-30 09:49:36 +0100 | [diff] [blame] | 222 | libstagefrighthw \ |
| 223 | libplatformconfig |
| 224 | |
| 225 | $(call inherit-product, hardware/qcom-caf/sm8450/media/product.mk) |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 226 | |
micky387 | 6254031 | 2021-03-12 22:43:56 +0100 | [diff] [blame] | 227 | # NFC |
| 228 | PRODUCT_PACKAGES += \ |
| 229 | NfcNci \ |
micky387 | e5ae8c7 | 2019-08-07 20:01:48 +0200 | [diff] [blame] | 230 | Tag \ |
micky387 | 6254031 | 2021-03-12 22:43:56 +0100 | [diff] [blame] | 231 | SecureElement \ |
micky387 | e5ae8c7 | 2019-08-07 20:01:48 +0200 | [diff] [blame] | 232 | com.android.nfc_extras |
| 233 | |
micky387 | a7fbb1d | 2022-11-30 13:50:39 +0100 | [diff] [blame] | 234 | # Perf |
| 235 | PRODUCT_PACKAGES += \ |
| 236 | vendor.qti.hardware.perf@2.3 |
| 237 | |
micky387 | b8e2486 | 2023-02-04 18:39:13 +0100 | [diff] [blame^] | 238 | # Permisions |
| 239 | PRODUCT_COPY_FILES += \ |
| 240 | frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml |
| 241 | |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 242 | # Platform |
| 243 | PRODUCT_AAPT_CONFIG := normal |
| 244 | PRODUCT_AAPT_PREF_CONFIG := xxhdpi |
| 245 | PRODUCT_BUILD_SUPER_PARTITION := false |
| 246 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| 247 | |
| 248 | # Power |
| 249 | PRODUCT_PACKAGES += \ |
| 250 | android.hardware.power@1.2.vendor \ |
micky387 | b4ff44b | 2022-10-29 01:00:14 +0200 | [diff] [blame] | 251 | android.hardware.power-service-qti |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 252 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 253 | # Prebuilt |
| 254 | PRODUCT_COPY_FILES += \ |
micky387 | 18765c8 | 2022-11-03 12:51:36 +0100 | [diff] [blame] | 255 | $(call find-copy-subdir-files,*,device/asus/zenfone9/prebuilt/product,product) \ |
| 256 | $(call find-copy-subdir-files,*,device/asus/zenfone9/prebuilt/root,recovery/root) \ |
| 257 | $(call find-copy-subdir-files,*,device/asus/zenfone9/prebuilt/system,system) \ |
| 258 | $(call find-copy-subdir-files,*,device/asus/zenfone9/prebuilt/system_ext,system_ext) \ |
| 259 | $(call find-copy-subdir-files,*,device/asus/zenfone9/prebuilt/vendor,vendor) |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 260 | |
micky387 | 82dbd1a | 2019-09-17 08:11:02 +0200 | [diff] [blame] | 261 | # Properties |
| 262 | BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true |
| 263 | |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 264 | # Ramdisk |
Yifan Hong | 38fd8ee | 2020-12-10 12:14:58 -0800 | [diff] [blame] | 265 | $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk) |
| 266 | |
micky387 | 06c170f | 2022-11-26 13:47:33 +0100 | [diff] [blame] | 267 | PRODUCT_PACKAGES += \ |
| 268 | tune2fs.vendor_ramdisk \ |
| 269 | resize2fs.vendor_ramdisk |
| 270 | |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 271 | PRODUCT_COPY_FILES += \ |
micky387 | 62e7371 | 2022-11-03 13:13:29 +0100 | [diff] [blame] | 272 | $(LOCAL_PATH)/ramdisk/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom \ |
| 273 | $(LOCAL_PATH)/ramdisk/fstab.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom |
micky387 | 81c15c8 | 2021-05-21 12:59:35 +0200 | [diff] [blame] | 274 | |
Bruno Martins | ff55cad | 2019-09-05 12:17:15 +0100 | [diff] [blame] | 275 | # Soong namespaces |
| 276 | PRODUCT_SOONG_NAMESPACES += \ |
micky387 | dda387b | 2022-11-18 10:58:50 +0100 | [diff] [blame] | 277 | $(LOCAL_PATH) \ |
micky387 | dda387b | 2022-11-18 10:58:50 +0100 | [diff] [blame] | 278 | vendor/qcom/opensource/commonsys/display \ |
| 279 | vendor/qcom/opensource/commonsys-intf/display |
Bruno Martins | ff55cad | 2019-09-05 12:17:15 +0100 | [diff] [blame] | 280 | |
micky387 | 97fff40 | 2020-12-30 23:10:35 +0100 | [diff] [blame] | 281 | # Systemhelper |
| 282 | PRODUCT_PACKAGES += \ |
| 283 | vendor.qti.hardware.systemhelper@1.0 |
| 284 | |
micky387 | 7fec595 | 2019-09-28 10:19:41 +0200 | [diff] [blame] | 285 | # Telephony |
| 286 | PRODUCT_PACKAGES += \ |
micky387 | 9551655 | 2022-12-19 11:17:21 +0100 | [diff] [blame] | 287 | extphonelib \ |
| 288 | extphonelib.xml \ |
| 289 | extphonelib-product \ |
| 290 | extphonelib_product.xml \ |
micky387 | 7fec595 | 2019-09-28 10:19:41 +0200 | [diff] [blame] | 291 | ims-ext-common \ |
| 292 | ims_ext_common.xml \ |
| 293 | qti-telephony-hidl-wrapper \ |
| 294 | qti_telephony_hidl_wrapper.xml \ |
micky387 | 9551655 | 2022-12-19 11:17:21 +0100 | [diff] [blame] | 295 | qti-telephony-hidl-wrapper-prd \ |
| 296 | qti_telephony_hidl_wrapper_prd.xml \ |
micky387 | 7fec595 | 2019-09-28 10:19:41 +0200 | [diff] [blame] | 297 | qti-telephony-utils \ |
micky387 | 8459a0c | 2020-05-01 18:24:34 +0200 | [diff] [blame] | 298 | qti_telephony_utils.xml \ |
micky387 | 9551655 | 2022-12-19 11:17:21 +0100 | [diff] [blame] | 299 | qti-telephony-utils-prd \ |
| 300 | qti_telephony_utils_prd.xml \ |
micky387 | 8459a0c | 2020-05-01 18:24:34 +0200 | [diff] [blame] | 301 | tcmiface |
micky387 | 7fec595 | 2019-09-28 10:19:41 +0200 | [diff] [blame] | 302 | |
micky387 | be0ade6 | 2019-06-11 03:20:23 +0200 | [diff] [blame] | 303 | # Update engine |
| 304 | PRODUCT_PACKAGES += \ |
| 305 | otapreopt_script \ |
micky387 | be0ade6 | 2019-06-11 03:20:23 +0200 | [diff] [blame] | 306 | update_engine \ |
| 307 | update_engine_sideload \ |
| 308 | update_verifier |
| 309 | |
micky387 | 0f68c2b | 2019-09-11 14:28:27 +0200 | [diff] [blame] | 310 | PRODUCT_HOST_PACKAGES += \ |
| 311 | brillo_update_payload |
| 312 | |
micky387 | be0ade6 | 2019-06-11 03:20:23 +0200 | [diff] [blame] | 313 | PRODUCT_PACKAGES_DEBUG += \ |
| 314 | update_engine_client |
| 315 | |
micky387 | b45bb83 | 2022-12-16 18:32:40 +0100 | [diff] [blame] | 316 | # USB |
| 317 | TARGET_HAS_DIAG_ROUTER := true |
| 318 | $(call inherit-product, vendor/qcom/opensource/usb/vendor_product.mk) |
| 319 | |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 320 | # Vendor service manager |
| 321 | PRODUCT_PACKAGES += \ |
| 322 | vndservicemanager |
| 323 | |
micky387 | 3366e84 | 2022-12-09 00:21:07 +0100 | [diff] [blame] | 324 | # Vibrator |
| 325 | PRODUCT_PACKAGES += \ |
| 326 | vendor.qti.hardware.vibrator.service |
| 327 | |
Lucchetto | cc10278 | 2022-08-19 10:48:18 +0200 | [diff] [blame] | 328 | # VNDK |
Sebastiano Barezzi | 1c1c6ff | 2021-10-09 15:21:32 +0200 | [diff] [blame] | 329 | PRODUCT_EXTRA_VNDK_VERSIONS := 30 31 32 |
| 330 | |
Lucchetto | cc10278 | 2022-08-19 10:48:18 +0200 | [diff] [blame] | 331 | PRODUCT_COPY_FILES += \ |
| 332 | prebuilts/vndk/v32/arm64/arch-arm64-armv8-a/shared/vndk-sp/libhidlbase.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libhidlbase-v32.so |
| 333 | |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 334 | # Wifi |
| 335 | PRODUCT_PACKAGES += \ |
micky387 | 7a3d0e4 | 2022-02-02 19:37:28 +0100 | [diff] [blame] | 336 | android.hardware.wifi@1.0-service \ |
| 337 | hostapd \ |
| 338 | libwifi-hal-qcom \ |
| 339 | libwpa_client \ |
| 340 | wpa_supplicant \ |
| 341 | wpa_supplicant.conf |
micky387 | d58b643 | 2020-10-09 04:09:07 +0200 | [diff] [blame] | 342 | |
micky387 | d8e31eb | 2021-02-19 21:23:59 +0100 | [diff] [blame] | 343 | # Wifi Display |
| 344 | PRODUCT_PACKAGES += \ |
micky387 | 009b31a | 2022-01-20 18:48:41 +0100 | [diff] [blame] | 345 | libnl |