merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 1 | # |
Michael Bestas | 4e1ba2f | 2024-05-12 06:38:39 +0300 | [diff] [blame] | 2 | # SPDX-FileCopyrightText: 2021-2024 The LineageOS Project |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | # |
| 5 | |
Alexander Martinz | 9ed48af | 2024-12-05 11:42:04 +0100 | [diff] [blame] | 6 | # Inherit from those products. Most specific first. |
| 7 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) |
| 8 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) |
| 9 | |
Bruno Martins | d40ad79 | 2024-06-23 12:29:15 +0100 | [diff] [blame] | 10 | # Add common definitions for Qualcomm |
| 11 | $(call inherit-product, hardware/qcom-caf/common/common.mk) |
| 12 | |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 13 | # A/B |
Michael Bestas | 99a5c71 | 2023-08-30 21:12:04 +0300 | [diff] [blame] | 14 | $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk) |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 15 | |
| 16 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 17 | RUN_POSTINSTALL_system=true \ |
| 18 | POSTINSTALL_PATH_system=system/bin/otapreopt_script \ |
| 19 | FILESYSTEM_TYPE_system=ext4 \ |
| 20 | POSTINSTALL_OPTIONAL_system=true |
| 21 | |
| 22 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 23 | RUN_POSTINSTALL_vendor=true \ |
| 24 | POSTINSTALL_PATH_vendor=bin/checkpoint_gc \ |
| 25 | FILESYSTEM_TYPE_vendor=ext4 \ |
| 26 | POSTINSTALL_OPTIONAL_vendor=true |
| 27 | |
| 28 | PRODUCT_PACKAGES += \ |
| 29 | checkpoint_gc \ |
| 30 | otapreopt_script |
| 31 | |
Michael Bestas | ebc23d0 | 2024-05-12 08:53:48 +0300 | [diff] [blame] | 32 | # ANT+ |
| 33 | PRODUCT_PACKAGES += \ |
Cosmin Tanislav | 547d9de | 2024-08-17 04:59:30 +0300 | [diff] [blame] | 34 | AntHalService-Soong |
Michael Bestas | ebc23d0 | 2024-05-12 08:53:48 +0300 | [diff] [blame] | 35 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 36 | # Audio |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 37 | PRODUCT_PACKAGES += \ |
| 38 | android.hardware.audio@6.0-impl \ |
| 39 | android.hardware.audio.effect@6.0-impl \ |
| 40 | android.hardware.audio.service \ |
Josh Wu | d049c48 | 2022-01-24 22:56:14 -0800 | [diff] [blame] | 41 | android.hardware.bluetooth.audio-impl \ |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 42 | android.hardware.soundtrigger@2.3-impl \ |
| 43 | audio.bluetooth.default \ |
Michael Bestas | 7daa2d4 | 2023-08-29 20:12:57 +0300 | [diff] [blame] | 44 | audio.primary.lahaina \ |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 45 | audio.r_submix.default \ |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 46 | audio.usb.default \ |
Michael Bestas | 8fad461 | 2023-08-30 03:25:06 +0300 | [diff] [blame] | 47 | audioadsprpcd \ |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 48 | liba2dpoffload \ |
| 49 | libbatterylistener \ |
Michael Bestas | 8fad461 | 2023-08-30 03:25:06 +0300 | [diff] [blame] | 50 | libcirrusspkrprot \ |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 51 | libcomprcapture \ |
| 52 | libexthwplugin \ |
| 53 | libhdmiedid \ |
| 54 | libhfp \ |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 55 | libqcompostprocbundle \ |
| 56 | libqcomvisualizer \ |
| 57 | libqcomvoiceprocessing \ |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 58 | libsndmonitor \ |
| 59 | libspkrprot \ |
Michael Bestas | 8fad461 | 2023-08-30 03:25:06 +0300 | [diff] [blame] | 60 | libvolumelistener \ |
| 61 | sound_trigger.primary.lahaina |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 62 | |
merothh | d7649fd | 2022-01-02 20:05:19 +0530 | [diff] [blame] | 63 | PRODUCT_COPY_FILES += \ |
| 64 | $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
Michael Bestas | 418f9e4 | 2023-08-30 04:50:56 +0300 | [diff] [blame] | 65 | $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/audio_io_policy.conf \ |
| 66 | $(LOCAL_PATH)/audio/audio_platform_info_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/audio_platform_info_yupikidp.xml \ |
merothh | d7649fd | 2022-01-02 20:05:19 +0530 | [diff] [blame] | 67 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
Michael Bestas | bbdf153 | 2022-03-28 20:22:52 +0300 | [diff] [blame] | 68 | $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \ |
Michael Bestas | 418f9e4 | 2023-08-30 04:50:56 +0300 | [diff] [blame] | 69 | $(LOCAL_PATH)/audio/audio_policy_configuration_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \ |
| 70 | $(LOCAL_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \ |
Michael Bestas | bbdf153 | 2022-03-28 20:22:52 +0300 | [diff] [blame] | 71 | $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \ |
Michael Bestas | 418f9e4 | 2023-08-30 04:50:56 +0300 | [diff] [blame] | 72 | $(LOCAL_PATH)/audio/mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/mixer_paths_yupikidp.xml \ |
| 73 | $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_mixer_paths_yupikidp.xml \ |
| 74 | $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_platform_info.xml |
merothh | d7649fd | 2022-01-02 20:05:19 +0530 | [diff] [blame] | 75 | |
| 76 | PRODUCT_COPY_FILES += \ |
merothh | d7649fd | 2022-01-02 20:05:19 +0530 | [diff] [blame] | 77 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 78 | frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ |
| 79 | frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ |
Michael Bestas | 418f9e4 | 2023-08-30 04:50:56 +0300 | [diff] [blame] | 80 | frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml |
merothh | d7649fd | 2022-01-02 20:05:19 +0530 | [diff] [blame] | 81 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 82 | PRODUCT_COPY_FILES += \ |
| 83 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 84 | frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \ |
| 85 | frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml |
merothh | 2e0e568 | 2022-01-02 20:25:57 +0530 | [diff] [blame] | 86 | |
merothh | 750fa00 | 2022-01-02 19:42:51 +0530 | [diff] [blame] | 87 | # Bluetooth |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 88 | PRODUCT_COPY_FILES += \ |
| 89 | frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ |
| 90 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml |
| 91 | |
SGCMarkus | c329374 | 2022-10-31 18:07:07 +0100 | [diff] [blame] | 92 | # Board API level |
Chirayu Desai | 2b6c545 | 2024-06-13 21:10:42 +0530 | [diff] [blame] | 93 | BOARD_SHIPPING_API_LEVEL := 30 |
SGCMarkus | c329374 | 2022-10-31 18:07:07 +0100 | [diff] [blame] | 94 | |
Alexander Martinz | 9ed48af | 2024-12-05 11:42:04 +0100 | [diff] [blame] | 95 | # Boot animation |
| 96 | TARGET_SCREEN_HEIGHT := 2400 |
| 97 | TARGET_SCREEN_WIDTH := 1080 |
| 98 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 99 | # Boot control |
| 100 | PRODUCT_PACKAGES += \ |
| 101 | android.hardware.boot@1.1-impl-qti \ |
| 102 | android.hardware.boot@1.1-impl-qti.recovery \ |
| 103 | android.hardware.boot@1.1-service |
| 104 | |
merothh | a507a0f | 2022-01-02 20:11:36 +0530 | [diff] [blame] | 105 | # Camera |
| 106 | PRODUCT_PACKAGES += \ |
| 107 | android.hardware.camera.provider@2.4-impl \ |
Cosmin Tanislav | 547d9de | 2024-08-17 04:59:30 +0300 | [diff] [blame] | 108 | android.hardware.camera.provider@2.4-service_64 |
merothh | a507a0f | 2022-01-02 20:11:36 +0530 | [diff] [blame] | 109 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 110 | PRODUCT_COPY_FILES += \ |
| 111 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 112 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 113 | frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ |
| 114 | frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml |
| 115 | |
| 116 | # Dalvik |
| 117 | $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) |
| 118 | |
| 119 | # DebugFS |
| 120 | PRODUCT_SET_DEBUGFS_RESTRICTIONS := true |
| 121 | |
Michael Bestas | b35c3d7 | 2024-05-29 01:22:20 +0300 | [diff] [blame] | 122 | # Device ID attestation |
| 123 | PRODUCT_COPY_FILES += \ |
| 124 | frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml |
| 125 | |
merothh | 7af51cb | 2022-01-02 20:14:21 +0530 | [diff] [blame] | 126 | # Display |
| 127 | PRODUCT_PACKAGES += \ |
| 128 | android.hardware.graphics.mapper@3.0-impl-qti-display \ |
| 129 | android.hardware.graphics.mapper@4.0-impl-qti-display \ |
merothh | 7af51cb | 2022-01-02 20:14:21 +0530 | [diff] [blame] | 130 | android.hardware.renderscript@1.0-impl \ |
Michael Bestas | bcba050 | 2023-08-29 22:43:01 +0300 | [diff] [blame] | 131 | init.qti.display_boot.rc \ |
Rohit R Sekhar | 260f7c1 | 2022-11-17 21:27:27 +0530 | [diff] [blame] | 132 | init.qti.display_boot.sh \ |
merothh | 7af51cb | 2022-01-02 20:14:21 +0530 | [diff] [blame] | 133 | vendor.qti.hardware.display.allocator-service \ |
Michael Bestas | 8059f98 | 2024-08-27 02:04:54 +0300 | [diff] [blame] | 134 | vendor.qti.hardware.display.composer-service.rc \ |
| 135 | vendor.qti.hardware.display.composer-service.xml \ |
Yumi Yukimura | 8e5ec5a | 2024-07-13 23:22:02 +0530 | [diff] [blame] | 136 | vendor.qti.hardware.memtrack-service |
merothh | 7af51cb | 2022-01-02 20:14:21 +0530 | [diff] [blame] | 137 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 138 | PRODUCT_COPY_FILES += \ |
| 139 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml |
Hridya Valsaraju | acf5430 | 2021-04-02 11:33:45 -0700 | [diff] [blame] | 140 | |
Sebastiano Barezzi | 2789dea | 2021-02-10 22:01:11 +0100 | [diff] [blame] | 141 | # DRM |
| 142 | PRODUCT_PACKAGES += \ |
Bruno Martins | 09cfb26 | 2022-09-14 14:51:15 +0100 | [diff] [blame] | 143 | android.hardware.drm-service.clearkey |
Sebastiano Barezzi | 2789dea | 2021-02-10 22:01:11 +0100 | [diff] [blame] | 144 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 145 | # e-SIM |
merothh | 2b9692d | 2022-01-14 00:55:59 +0530 | [diff] [blame] | 146 | PRODUCT_COPY_FILES += \ |
Michael Bestas | d7bd73f | 2024-08-31 03:27:54 +0300 | [diff] [blame] | 147 | $(LOCAL_PATH)/configs/default-permissions_com.google.android.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/default-permissions/default-permissions_com.google.android.euicc.xml \ |
| 148 | $(LOCAL_PATH)/configs/privapp_allowlist_com.google.android.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp_allowlist_com.google.android.euicc.xml |
merothh | 2b9692d | 2022-01-14 00:55:59 +0530 | [diff] [blame] | 149 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 150 | PRODUCT_COPY_FILES += \ |
| 151 | frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml |
| 152 | |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 153 | # fastbootd |
| 154 | PRODUCT_PACKAGES += \ |
| 155 | fastbootd |
| 156 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 157 | # Fingerprint |
| 158 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 02a5ea9 | 2024-09-02 12:00:42 +0200 | [diff] [blame] | 159 | android.hardware.biometrics.fingerprint@2.3-service.otter |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 160 | |
| 161 | PRODUCT_COPY_FILES += \ |
| 162 | frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml |
| 163 | |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 164 | # GPS |
| 165 | PRODUCT_PACKAGES += \ |
Michael Bestas | 6cf1504 | 2024-05-09 01:13:02 +0300 | [diff] [blame] | 166 | android.hardware.gnss@2.1-impl-qti:64 \ |
Michael Bestas | d870a48 | 2023-05-04 01:19:43 +0300 | [diff] [blame] | 167 | android.hardware.gnss@2.1-service-qti \ |
| 168 | gnss@2.0-base.policy \ |
| 169 | gnss@2.0-xtra-daemon.policy \ |
Michael Bestas | 6cf1504 | 2024-05-09 01:13:02 +0300 | [diff] [blame] | 170 | libbatching:64 \ |
| 171 | libgeofencing:64 \ |
| 172 | libgnss:64 \ |
| 173 | libloc_socket:64 |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 174 | |
Michael Bestas | 097b890 | 2023-05-12 16:24:16 +0300 | [diff] [blame] | 175 | PRODUCT_PACKAGES += \ |
| 176 | flp.conf \ |
Michael Bestas | dd91126 | 2024-05-09 01:36:21 +0300 | [diff] [blame] | 177 | gnss_antenna_info.conf \ |
Michael Bestas | 097b890 | 2023-05-12 16:24:16 +0300 | [diff] [blame] | 178 | gps.conf \ |
| 179 | izat.conf |
| 180 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 181 | PRODUCT_COPY_FILES += \ |
| 182 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml |
| 183 | |
| 184 | # Graphics |
| 185 | PRODUCT_COPY_FILES += \ |
| 186 | frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ |
| 187 | frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \ |
| 188 | frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \ |
| 189 | frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \ |
linjoey | 2a0ff28 | 2021-06-16 21:29:00 +0800 | [diff] [blame] | 190 | frameworks/native/data/etc/android.software.opengles.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \ |
| 191 | frameworks/native/data/etc/android.software.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 192 | |
Sebastiano Barezzi | f97d62a | 2021-02-10 22:01:44 +0100 | [diff] [blame] | 193 | # Health |
| 194 | PRODUCT_PACKAGES += \ |
Michael Bestas | 99a5c71 | 2023-08-30 21:12:04 +0300 | [diff] [blame] | 195 | android.hardware.health-service.qti |
Sebastiano Barezzi | f97d62a | 2021-02-10 22:01:44 +0100 | [diff] [blame] | 196 | |
Michael Bestas | d492351 | 2024-05-10 02:57:20 +0300 | [diff] [blame] | 197 | # Init |
| 198 | PRODUCT_PACKAGES += \ |
Michael Bestas | 9bb5a14 | 2024-05-29 00:19:57 +0300 | [diff] [blame] | 199 | fstab.qcom \ |
| 200 | fstab.qcom.vendor_ramdisk \ |
Michael Bestas | d492351 | 2024-05-10 02:57:20 +0300 | [diff] [blame] | 201 | init.class_main.sh \ |
| 202 | init.qcom.early_boot.sh \ |
| 203 | init.qcom.post_boot.sh \ |
| 204 | init.qcom.rc \ |
| 205 | init.qcom.recovery.rc \ |
| 206 | init.qcom.sh \ |
| 207 | init.qcom.usb.rc \ |
| 208 | init.qcom.usb.sh \ |
Michael Bestas | d492351 | 2024-05-10 02:57:20 +0300 | [diff] [blame] | 209 | init.target.rc \ |
| 210 | ueventd.qcom.rc |
| 211 | |
Sebastiano Barezzi | 7e8029e | 2021-02-10 22:02:37 +0100 | [diff] [blame] | 212 | # IPACM |
| 213 | PRODUCT_PACKAGES += \ |
| 214 | ipacm \ |
Michael Bestas | 6cf1504 | 2024-05-09 01:13:02 +0300 | [diff] [blame] | 215 | IPACM_cfg.xml |
Sebastiano Barezzi | 7e8029e | 2021-02-10 22:02:37 +0100 | [diff] [blame] | 216 | |
Chirayu Desai | f03c769 | 2024-06-13 22:02:20 +0530 | [diff] [blame] | 217 | # Kernel |
| 218 | PRODUCT_ENABLE_UFFD_GC := false |
| 219 | |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 220 | # Keymaster |
| 221 | PRODUCT_PACKAGES += \ |
Cosmin Tanislav | 547d9de | 2024-08-17 04:59:30 +0300 | [diff] [blame] | 222 | android.hardware.hardware_keystore.km41.xml |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 223 | |
merothh | 431b69d | 2022-01-03 01:32:52 +0530 | [diff] [blame] | 224 | # Media |
merothh | f25a4a7 | 2022-01-02 21:45:42 +0530 | [diff] [blame] | 225 | PRODUCT_COPY_FILES += \ |
Michael Bestas | 2535808 | 2023-08-30 13:19:27 +0300 | [diff] [blame] | 226 | $(LOCAL_PATH)/media/media_codecs_performance_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_yupik_iot.xml \ |
Michael Bestas | 2535808 | 2023-08-30 13:19:27 +0300 | [diff] [blame] | 227 | $(LOCAL_PATH)/media/media_codecs_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_yupik_iot.xml \ |
| 228 | $(LOCAL_PATH)/media/media_profiles_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml |
merothh | f25a4a7 | 2022-01-02 21:45:42 +0530 | [diff] [blame] | 229 | |
Andrew Hexen | a9aed25 | 2020-09-26 11:51:58 -0700 | [diff] [blame] | 230 | # NFC |
| 231 | PRODUCT_PACKAGES += \ |
Andrew Hexen | a9aed25 | 2020-09-26 11:51:58 -0700 | [diff] [blame] | 232 | com.android.nfc_extras \ |
Andrew Hexen | a9aed25 | 2020-09-26 11:51:58 -0700 | [diff] [blame] | 233 | Tag |
| 234 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 235 | PRODUCT_COPY_FILES += \ |
| 236 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ |
| 237 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ |
| 238 | frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \ |
| 239 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ |
| 240 | frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \ |
| 241 | frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ |
Michael Bestas | 9c04f29 | 2024-05-12 12:11:50 +0300 | [diff] [blame] | 242 | frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 243 | |
Sebastiano Barezzi | ed13832 | 2021-02-10 22:04:15 +0100 | [diff] [blame] | 244 | # OMX |
| 245 | PRODUCT_PACKAGES += \ |
Michael Bestas | 738f579 | 2024-08-31 22:03:42 +0300 | [diff] [blame] | 246 | android.hardware.media.omx@1.0-service \ |
Sebastiano Barezzi | ed13832 | 2021-02-10 22:04:15 +0100 | [diff] [blame] | 247 | libOmxAacEnc \ |
| 248 | libOmxAmrEnc \ |
| 249 | libOmxCore \ |
| 250 | libOmxEvrcEnc \ |
| 251 | libOmxG711Enc \ |
| 252 | libOmxQcelp13Enc \ |
Sebastiano Barezzi | ed13832 | 2021-02-10 22:04:15 +0100 | [diff] [blame] | 253 | libstagefrighthw |
| 254 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 255 | # Overlays |
| 256 | DEVICE_PACKAGE_OVERLAYS += \ |
| 257 | $(LOCAL_PATH)/overlay-lineage |
| 258 | |
| 259 | PRODUCT_ENFORCE_RRO_TARGETS := * |
| 260 | PRODUCT_PACKAGES += \ |
| 261 | CarrierConfigResCommon \ |
| 262 | FrameworksResCommon \ |
| 263 | FrameworksResTarget \ |
| 264 | SettingsProviderResCommon \ |
| 265 | SettingsResCommon \ |
| 266 | SystemUIResCommon \ |
| 267 | SystemUIResTarget \ |
| 268 | TelephonyResCommon \ |
Rohit Sekhar | 5613561 | 2023-08-03 22:18:31 +0530 | [diff] [blame] | 269 | WifiResCommon \ |
| 270 | WifiResTarget |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 271 | |
| 272 | # Partitions |
| 273 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| 274 | |
Sebastiano Barezzi | ff0754a | 2021-02-10 22:05:37 +0100 | [diff] [blame] | 275 | # Power |
| 276 | PRODUCT_PACKAGES += \ |
Cosmin Tanislav | 547d9de | 2024-08-17 04:59:30 +0300 | [diff] [blame] | 277 | android.hardware.power-service-qti |
Sebastiano Barezzi | ff0754a | 2021-02-10 22:05:37 +0100 | [diff] [blame] | 278 | |
merothh | 00be060 | 2022-01-02 23:00:09 +0530 | [diff] [blame] | 279 | # Public libraries |
| 280 | PRODUCT_COPY_FILES += \ |
| 281 | $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt |
| 282 | |
Sebastiano Barezzi | 17434b2 | 2021-02-10 22:06:22 +0100 | [diff] [blame] | 283 | # QTI fwk-detect |
| 284 | PRODUCT_PACKAGES += \ |
Cosmin Tanislav | 547d9de | 2024-08-17 04:59:30 +0300 | [diff] [blame] | 285 | libvndfwk_detect_jni.qti.vendor # Needed by CNE app |
Sebastiano Barezzi | 0441dfa | 2021-02-10 22:06:43 +0100 | [diff] [blame] | 286 | |
Andrew Hexen | 3929a45 | 2021-02-15 06:33:18 -0800 | [diff] [blame] | 287 | # Sensors |
| 288 | PRODUCT_PACKAGES += \ |
| 289 | android.hardware.sensors@2.0-service.multihal |
| 290 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 291 | PRODUCT_COPY_FILES += \ |
| 292 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
Michael Bestas | b35c3d7 | 2024-05-29 01:22:20 +0300 | [diff] [blame] | 293 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \ |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 294 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ |
| 295 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
Michael Bestas | b35c3d7 | 2024-05-29 01:22:20 +0300 | [diff] [blame] | 296 | frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hifi_sensors.xml \ |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 297 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 298 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 299 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 300 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml |
| 301 | |
| 302 | # Shipping API |
Michael Bestas | b16c8bb | 2024-05-29 02:00:36 +0300 | [diff] [blame] | 303 | PRODUCT_SHIPPING_API_LEVEL := 34 |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 304 | |
| 305 | # Soong namespaces |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 306 | PRODUCT_SOONG_NAMESPACES += \ |
| 307 | $(LOCAL_PATH) |
| 308 | |
Michael Bestas | 40301cc | 2023-08-31 20:48:36 +0300 | [diff] [blame] | 309 | # Storage |
| 310 | $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk) |
| 311 | |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 312 | # Telephony |
| 313 | PRODUCT_PACKAGES += \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 314 | extphonelib \ |
| 315 | extphonelib-product \ |
| 316 | extphonelib.xml \ |
| 317 | extphonelib_product.xml \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 318 | ims-ext-common \ |
| 319 | ims_ext_common.xml \ |
| 320 | qti-telephony-hidl-wrapper \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 321 | qti-telephony-hidl-wrapper-prd \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 322 | qti_telephony_hidl_wrapper.xml \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 323 | qti_telephony_hidl_wrapper_prd.xml \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 324 | qti-telephony-utils \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 325 | qti-telephony-utils-prd \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 326 | qti_telephony_utils.xml \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 327 | qti_telephony_utils_prd.xml \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 328 | telephony-ext |
| 329 | |
| 330 | PRODUCT_BOOT_JARS += \ |
| 331 | telephony-ext |
| 332 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 333 | PRODUCT_COPY_FILES += \ |
| 334 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 335 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ |
Dhina17 | 29fccc2 | 2023-07-04 12:38:01 +0530 | [diff] [blame] | 336 | frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 337 | |
Sebastiano Barezzi | a488c66 | 2021-02-17 17:21:17 +0100 | [diff] [blame] | 338 | # Thermal |
| 339 | PRODUCT_PACKAGES += \ |
Michael Bestas | 9fd8f0c | 2024-09-26 01:39:32 +0300 | [diff] [blame] | 340 | android.hardware.thermal-service.qti |
Sebastiano Barezzi | a488c66 | 2021-02-17 17:21:17 +0100 | [diff] [blame] | 341 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 342 | # Update engine |
| 343 | PRODUCT_PACKAGES += \ |
| 344 | update_engine \ |
| 345 | update_engine_sideload \ |
| 346 | update_verifier |
| 347 | |
| 348 | PRODUCT_PACKAGES_DEBUG += \ |
| 349 | update_engine_client |
| 350 | |
Sebastiano Barezzi | 64068f1 | 2021-02-10 22:09:03 +0100 | [diff] [blame] | 351 | # USB |
| 352 | PRODUCT_PACKAGES += \ |
Michael Bestas | a93d331 | 2024-09-26 01:39:46 +0300 | [diff] [blame] | 353 | android.hardware.usb-service.qti |
Roger Liao | dcb2e03 | 2020-04-10 04:46:38 +0800 | [diff] [blame] | 354 | |
Alexander Koskovich | e62c05c | 2022-04-12 05:00:05 -0700 | [diff] [blame] | 355 | PRODUCT_SOONG_NAMESPACES += \ |
| 356 | vendor/qcom/opensource/usb/etc |
| 357 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 358 | PRODUCT_COPY_FILES += \ |
| 359 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ |
| 360 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml |
| 361 | |
| 362 | # Vendor service manager |
Roger Liao | dcb2e03 | 2020-04-10 04:46:38 +0800 | [diff] [blame] | 363 | PRODUCT_PACKAGES += \ |
| 364 | vndservicemanager |
merothh | 66682a5 | 2021-11-13 19:20:17 +0530 | [diff] [blame] | 365 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 366 | # Verified Boot |
| 367 | PRODUCT_COPY_FILES += \ |
| 368 | frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml |
| 369 | |
merothh | 66682a5 | 2021-11-13 19:20:17 +0530 | [diff] [blame] | 370 | # Vibrator |
| 371 | PRODUCT_PACKAGES += \ |
Michael Bestas | 9e3d0d6 | 2024-05-28 03:47:26 +0300 | [diff] [blame] | 372 | vendor.qti.hardware.vibrator.service.otter |
Bruno Martins | 3316584 | 2021-06-19 12:54:58 +0100 | [diff] [blame] | 373 | |
| 374 | PRODUCT_COPY_FILES += \ |
Rohit Sekhar | ffae9e4 | 2023-08-23 15:30:52 +0530 | [diff] [blame] | 375 | $(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml |
Sebastiano Barezzi | fd6e1f8 | 2021-02-10 22:10:19 +0100 | [diff] [blame] | 376 | |
| 377 | # WiFi |
| 378 | PRODUCT_PACKAGES += \ |
Gabriel Biren | d6c1ff3 | 2023-03-27 22:33:41 +0000 | [diff] [blame] | 379 | android.hardware.wifi-service \ |
Sebastiano Barezzi | fd6e1f8 | 2021-02-10 22:10:19 +0100 | [diff] [blame] | 380 | hostapd \ |
| 381 | libwpa_client \ |
| 382 | libwifi-hal-ctrl \ |
| 383 | libwifi-hal-qcom \ |
Sebastiano Barezzi | fd6e1f8 | 2021-02-10 22:10:19 +0100 | [diff] [blame] | 384 | wpa_supplicant \ |
| 385 | wpa_supplicant.conf |
| 386 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 387 | PRODUCT_COPY_FILES += \ |
Michael Bestas | 069d86e | 2023-08-30 17:55:01 +0300 | [diff] [blame] | 388 | frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \ |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 389 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ |
| 390 | frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ |
Michael Bestas | 069d86e | 2023-08-30 17:55:01 +0300 | [diff] [blame] | 391 | frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \ |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 392 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 393 | frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml |
| 394 | |
Bruno Martins | 1051d04 | 2024-06-23 21:58:49 +0100 | [diff] [blame] | 395 | # WiFi firmware symlink |
| 396 | PRODUCT_PACKAGES += \ |
Rohit Sekhar | 9fe52ad | 2024-11-28 15:52:05 +0530 | [diff] [blame] | 397 | firmware_WCNSS_qcom_cfg.ini_symlink \ |
| 398 | firmware_wlan_mac.bin_symlink |
Bruno Martins | 1051d04 | 2024-06-23 21:58:49 +0100 | [diff] [blame] | 399 | |
Sebastiano Barezzi | 6262fdd | 2021-02-10 22:10:39 +0100 | [diff] [blame] | 400 | # WiFi Display |
Sebastiano Barezzi | 6262fdd | 2021-02-10 22:10:39 +0100 | [diff] [blame] | 401 | PRODUCT_BOOT_JARS += \ |
| 402 | WfdCommon |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 403 | |
| 404 | # Inherit from the proprietary files makefile. |
Michael Bestas | 9e3d0d6 | 2024-05-28 03:47:26 +0300 | [diff] [blame] | 405 | $(call inherit-product, vendor/shift/otter/otter-vendor.mk) |