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 += \ |
Michael Bestas | 9bb5a14 | 2024-05-29 00:19:57 +0300 | [diff] [blame] | 189 | fstab.qcom \ |
| 190 | fstab.qcom.vendor_ramdisk \ |
Michael Bestas | d492351 | 2024-05-10 02:57:20 +0300 | [diff] [blame] | 191 | init.class_main.sh \ |
| 192 | init.qcom.early_boot.sh \ |
| 193 | init.qcom.post_boot.sh \ |
| 194 | init.qcom.rc \ |
| 195 | init.qcom.recovery.rc \ |
| 196 | init.qcom.sh \ |
| 197 | init.qcom.usb.rc \ |
| 198 | init.qcom.usb.sh \ |
Michael Bestas | d492351 | 2024-05-10 02:57:20 +0300 | [diff] [blame] | 199 | init.target.rc \ |
| 200 | ueventd.qcom.rc |
| 201 | |
Sebastiano Barezzi | 7e8029e | 2021-02-10 22:02:37 +0100 | [diff] [blame] | 202 | # IPACM |
| 203 | PRODUCT_PACKAGES += \ |
| 204 | ipacm \ |
Michael Bestas | 6cf1504 | 2024-05-09 01:13:02 +0300 | [diff] [blame] | 205 | IPACM_cfg.xml |
Sebastiano Barezzi | 7e8029e | 2021-02-10 22:02:37 +0100 | [diff] [blame] | 206 | |
Chirayu Desai | f03c769 | 2024-06-13 22:02:20 +0530 | [diff] [blame] | 207 | # Kernel |
| 208 | PRODUCT_ENABLE_UFFD_GC := false |
| 209 | |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 210 | # Keymaster |
| 211 | PRODUCT_PACKAGES += \ |
Cosmin Tanislav | 547d9de | 2024-08-17 04:59:30 +0300 | [diff] [blame] | 212 | android.hardware.hardware_keystore.km41.xml |
LuK1337 | 37154bf | 2021-12-14 11:42:44 +0100 | [diff] [blame] | 213 | |
merothh | 431b69d | 2022-01-03 01:32:52 +0530 | [diff] [blame] | 214 | # Media |
merothh | f25a4a7 | 2022-01-02 21:45:42 +0530 | [diff] [blame] | 215 | PRODUCT_COPY_FILES += \ |
Michael Bestas | 2535808 | 2023-08-30 13:19:27 +0300 | [diff] [blame] | 216 | $(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] | 217 | $(LOCAL_PATH)/media/media_codecs_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_yupik_iot.xml \ |
| 218 | $(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] | 219 | |
Andrew Hexen | a9aed25 | 2020-09-26 11:51:58 -0700 | [diff] [blame] | 220 | # NFC |
| 221 | PRODUCT_PACKAGES += \ |
Andrew Hexen | a9aed25 | 2020-09-26 11:51:58 -0700 | [diff] [blame] | 222 | com.android.nfc_extras \ |
Andrew Hexen | a9aed25 | 2020-09-26 11:51:58 -0700 | [diff] [blame] | 223 | Tag |
| 224 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 225 | PRODUCT_COPY_FILES += \ |
| 226 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ |
| 227 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ |
| 228 | frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \ |
| 229 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ |
| 230 | frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \ |
| 231 | 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] | 232 | 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] | 233 | |
Sebastiano Barezzi | ed13832 | 2021-02-10 22:04:15 +0100 | [diff] [blame] | 234 | # OMX |
| 235 | PRODUCT_PACKAGES += \ |
Sebastiano Barezzi | ed13832 | 2021-02-10 22:04:15 +0100 | [diff] [blame] | 236 | libOmxAacEnc \ |
| 237 | libOmxAmrEnc \ |
| 238 | libOmxCore \ |
| 239 | libOmxEvrcEnc \ |
| 240 | libOmxG711Enc \ |
| 241 | libOmxQcelp13Enc \ |
Sebastiano Barezzi | ed13832 | 2021-02-10 22:04:15 +0100 | [diff] [blame] | 242 | libstagefrighthw |
| 243 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 244 | # Overlays |
| 245 | DEVICE_PACKAGE_OVERLAYS += \ |
| 246 | $(LOCAL_PATH)/overlay-lineage |
| 247 | |
| 248 | PRODUCT_ENFORCE_RRO_TARGETS := * |
| 249 | PRODUCT_PACKAGES += \ |
| 250 | CarrierConfigResCommon \ |
| 251 | FrameworksResCommon \ |
| 252 | FrameworksResTarget \ |
| 253 | SettingsProviderResCommon \ |
| 254 | SettingsResCommon \ |
| 255 | SystemUIResCommon \ |
| 256 | SystemUIResTarget \ |
| 257 | TelephonyResCommon \ |
Rohit Sekhar | 5613561 | 2023-08-03 22:18:31 +0530 | [diff] [blame] | 258 | WifiResCommon \ |
| 259 | WifiResTarget |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 260 | |
| 261 | # Partitions |
| 262 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| 263 | |
Sebastiano Barezzi | ff0754a | 2021-02-10 22:05:37 +0100 | [diff] [blame] | 264 | # Power |
| 265 | PRODUCT_PACKAGES += \ |
Cosmin Tanislav | 547d9de | 2024-08-17 04:59:30 +0300 | [diff] [blame] | 266 | android.hardware.power-service-qti |
Sebastiano Barezzi | ff0754a | 2021-02-10 22:05:37 +0100 | [diff] [blame] | 267 | |
merothh | 00be060 | 2022-01-02 23:00:09 +0530 | [diff] [blame] | 268 | # Public libraries |
| 269 | PRODUCT_COPY_FILES += \ |
| 270 | $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt |
| 271 | |
Sebastiano Barezzi | 17434b2 | 2021-02-10 22:06:22 +0100 | [diff] [blame] | 272 | # QTI fwk-detect |
| 273 | PRODUCT_PACKAGES += \ |
Cosmin Tanislav | 547d9de | 2024-08-17 04:59:30 +0300 | [diff] [blame] | 274 | libvndfwk_detect_jni.qti.vendor # Needed by CNE app |
Sebastiano Barezzi | 0441dfa | 2021-02-10 22:06:43 +0100 | [diff] [blame] | 275 | |
Andrew Hexen | 3929a45 | 2021-02-15 06:33:18 -0800 | [diff] [blame] | 276 | # Sensors |
| 277 | PRODUCT_PACKAGES += \ |
| 278 | android.hardware.sensors@2.0-service.multihal |
| 279 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 280 | PRODUCT_COPY_FILES += \ |
| 281 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 282 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ |
| 283 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 284 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 285 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 286 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 287 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml |
| 288 | |
| 289 | # Shipping API |
Michael Bestas | 40301cc | 2023-08-31 20:48:36 +0300 | [diff] [blame] | 290 | PRODUCT_SHIPPING_API_LEVEL := 33 |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 291 | |
| 292 | # Soong namespaces |
merothh | 5485610 | 2021-11-04 12:07:41 +0530 | [diff] [blame] | 293 | PRODUCT_SOONG_NAMESPACES += \ |
| 294 | $(LOCAL_PATH) |
| 295 | |
Michael Bestas | 40301cc | 2023-08-31 20:48:36 +0300 | [diff] [blame] | 296 | # Storage |
| 297 | $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk) |
| 298 | |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 299 | # Telephony |
| 300 | PRODUCT_PACKAGES += \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 301 | extphonelib \ |
| 302 | extphonelib-product \ |
| 303 | extphonelib.xml \ |
| 304 | extphonelib_product.xml \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 305 | ims-ext-common \ |
| 306 | ims_ext_common.xml \ |
| 307 | qti-telephony-hidl-wrapper \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 308 | qti-telephony-hidl-wrapper-prd \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 309 | qti_telephony_hidl_wrapper.xml \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 310 | qti_telephony_hidl_wrapper_prd.xml \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 311 | qti-telephony-utils \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 312 | qti-telephony-utils-prd \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 313 | qti_telephony_utils.xml \ |
Michael Bestas | b603e38 | 2023-02-02 17:41:45 +0200 | [diff] [blame] | 314 | qti_telephony_utils_prd.xml \ |
Sebastiano Barezzi | d70ce29 | 2021-02-10 22:08:35 +0100 | [diff] [blame] | 315 | telephony-ext |
| 316 | |
| 317 | PRODUCT_BOOT_JARS += \ |
| 318 | telephony-ext |
| 319 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 320 | PRODUCT_COPY_FILES += \ |
| 321 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 322 | 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] | 323 | 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] | 324 | |
Sebastiano Barezzi | a488c66 | 2021-02-17 17:21:17 +0100 | [diff] [blame] | 325 | # Thermal |
| 326 | PRODUCT_PACKAGES += \ |
| 327 | android.hardware.thermal@2.0-service.qti |
| 328 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 329 | # Update engine |
| 330 | PRODUCT_PACKAGES += \ |
| 331 | update_engine \ |
| 332 | update_engine_sideload \ |
| 333 | update_verifier |
| 334 | |
| 335 | PRODUCT_PACKAGES_DEBUG += \ |
| 336 | update_engine_client |
| 337 | |
Sebastiano Barezzi | 64068f1 | 2021-02-10 22:09:03 +0100 | [diff] [blame] | 338 | # USB |
| 339 | PRODUCT_PACKAGES += \ |
Albert Wang | 0dcdbc9 | 2021-03-25 00:03:02 +0800 | [diff] [blame] | 340 | android.hardware.usb@1.3-service-qti |
Roger Liao | dcb2e03 | 2020-04-10 04:46:38 +0800 | [diff] [blame] | 341 | |
Alexander Koskovich | e62c05c | 2022-04-12 05:00:05 -0700 | [diff] [blame] | 342 | PRODUCT_SOONG_NAMESPACES += \ |
| 343 | vendor/qcom/opensource/usb/etc |
| 344 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 345 | PRODUCT_COPY_FILES += \ |
| 346 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ |
| 347 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml |
| 348 | |
| 349 | # Vendor service manager |
Roger Liao | dcb2e03 | 2020-04-10 04:46:38 +0800 | [diff] [blame] | 350 | PRODUCT_PACKAGES += \ |
| 351 | vndservicemanager |
merothh | 66682a5 | 2021-11-13 19:20:17 +0530 | [diff] [blame] | 352 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 353 | # Verified Boot |
| 354 | PRODUCT_COPY_FILES += \ |
| 355 | frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml |
| 356 | |
merothh | 66682a5 | 2021-11-13 19:20:17 +0530 | [diff] [blame] | 357 | # Vibrator |
| 358 | PRODUCT_PACKAGES += \ |
Michael Bestas | 9e3d0d6 | 2024-05-28 03:47:26 +0300 | [diff] [blame] | 359 | vendor.qti.hardware.vibrator.service.otter |
Bruno Martins | 3316584 | 2021-06-19 12:54:58 +0100 | [diff] [blame] | 360 | |
| 361 | PRODUCT_COPY_FILES += \ |
Rohit Sekhar | ffae9e4 | 2023-08-23 15:30:52 +0530 | [diff] [blame] | 362 | $(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] | 363 | |
| 364 | # WiFi |
| 365 | PRODUCT_PACKAGES += \ |
Gabriel Biren | d6c1ff3 | 2023-03-27 22:33:41 +0000 | [diff] [blame] | 366 | android.hardware.wifi-service \ |
Sebastiano Barezzi | fd6e1f8 | 2021-02-10 22:10:19 +0100 | [diff] [blame] | 367 | hostapd \ |
| 368 | libwpa_client \ |
| 369 | libwifi-hal-ctrl \ |
| 370 | libwifi-hal-qcom \ |
Sebastiano Barezzi | fd6e1f8 | 2021-02-10 22:10:19 +0100 | [diff] [blame] | 371 | wpa_supplicant \ |
| 372 | wpa_supplicant.conf |
| 373 | |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 374 | PRODUCT_COPY_FILES += \ |
Michael Bestas | 069d86e | 2023-08-30 17:55:01 +0300 | [diff] [blame] | 375 | 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] | 376 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ |
| 377 | 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] | 378 | 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] | 379 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 380 | frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml |
| 381 | |
Bruno Martins | 1051d04 | 2024-06-23 21:58:49 +0100 | [diff] [blame] | 382 | # WiFi firmware symlink |
| 383 | PRODUCT_PACKAGES += \ |
| 384 | firmware_WCNSS_qcom_cfg.ini_symlink |
| 385 | |
Sebastiano Barezzi | 6262fdd | 2021-02-10 22:10:39 +0100 | [diff] [blame] | 386 | # WiFi Display |
| 387 | PRODUCT_PACKAGES += \ |
Michael Bestas | 6cf1504 | 2024-05-09 01:13:02 +0300 | [diff] [blame] | 388 | libwfdaac_vendor:32 |
Sebastiano Barezzi | 6262fdd | 2021-02-10 22:10:39 +0100 | [diff] [blame] | 389 | |
| 390 | PRODUCT_BOOT_JARS += \ |
| 391 | WfdCommon |
Michael Bestas | 9d8a5f6 | 2024-05-12 08:50:28 +0300 | [diff] [blame] | 392 | |
| 393 | # Inherit from the proprietary files makefile. |
Michael Bestas | 9e3d0d6 | 2024-05-28 03:47:26 +0300 | [diff] [blame] | 394 | $(call inherit-product, vendor/shift/otter/otter-vendor.mk) |