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