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