Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 1 | # |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 2 | # Copyright (C) 2021 SHIFT GmbH |
| 3 | # Copyright (C) 2021 The LineageOS Project |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 4 | # |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: Apache-2.0 |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 8 | # Inherit from those products. Most specific first. |
| 9 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) |
| 10 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 11 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 12 | # Enable updating of APEXes |
| 13 | $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 14 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 15 | # Inherit vendor blobs |
Kevin F. Haggerty | dc80eaa | 2021-04-09 08:18:37 -0600 | [diff] [blame] | 16 | $(call inherit-product, vendor/shift/axolotl/axolotl-vendor.mk) |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 17 | |
| 18 | # AAPT |
| 19 | PRODUCT_AAPT_CONFIG := normal |
| 20 | PRODUCT_AAPT_PREF_CONFIG := 420dpi |
| 21 | PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi |
| 22 | |
| 23 | # Boot animation |
| 24 | TARGET_SCREEN_HEIGHT := 2160 |
| 25 | TARGET_SCREEN_WIDTH := 1080 |
| 26 | |
| 27 | # Display |
| 28 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 29 | ro.sf.lcd_density=420 \ |
| 30 | vendor.display.lcd_density=420 \ |
| 31 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 32 | # Dynamic Partitions |
| 33 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| 34 | PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true |
| 35 | |
| 36 | ##### |
| 37 | |
| 38 | # A/B - post |
| 39 | PRODUCT_PACKAGES += \ |
| 40 | checkpoint_gc \ |
| 41 | otapreopt_script \ |
| 42 | |
| 43 | # A/B - post - system |
| 44 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 45 | RUN_POSTINSTALL_system=true \ |
| 46 | POSTINSTALL_PATH_system=system/bin/otapreopt_script \ |
| 47 | FILESYSTEM_TYPE_system=ext4 \ |
| 48 | |
| 49 | # A/B - post - vendor |
| 50 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 51 | RUN_POSTINSTALL_vendor=true \ |
| 52 | POSTINSTALL_PATH_vendor=bin/checkpoint_gc \ |
| 53 | FILESYSTEM_TYPE_vendor=ext4 \ |
| 54 | POSTINSTALL_OPTIONAL_vendor=true \ |
| 55 | |
| 56 | # AID/fs configs |
| 57 | PRODUCT_PACKAGES += \ |
| 58 | fs_config_files \ |
| 59 | |
| 60 | # ANT+ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 61 | PRODUCT_PACKAGES += \ |
| 62 | AntHalService \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 63 | |
| 64 | # Audio |
| 65 | PRODUCT_PACKAGES += \ |
Mikhail Naganov | bd9cd57 | 2019-11-22 10:56:29 -0800 | [diff] [blame] | 66 | android.hardware.audio@6.0-impl \ |
| 67 | android.hardware.audio.effect@6.0-impl \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 68 | android.hardware.audio.service \ |
Michael Bestas | 4378244 | 2022-10-24 02:17:20 +0300 | [diff] [blame] | 69 | audio.primary.sdm845 \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 70 | audio.r_submix.default \ |
| 71 | audio.usb.default \ |
Michael Bestas | 4378244 | 2022-10-24 02:17:20 +0300 | [diff] [blame] | 72 | liba2dpoffload \ |
| 73 | libbatterylistener \ |
| 74 | libcomprcapture \ |
| 75 | libexthwplugin \ |
| 76 | libhdmiedid \ |
| 77 | libhfp \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 78 | libqcompostprocbundle \ |
| 79 | libqcomvisualizer \ |
| 80 | libqcomvoiceprocessing \ |
Michael Bestas | 4378244 | 2022-10-24 02:17:20 +0300 | [diff] [blame] | 81 | libsndmonitor \ |
| 82 | libspkrprot \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 83 | libtinycompress \ |
| 84 | libvolumelistener \ |
| 85 | tinymix \ |
| 86 | |
Alexander Martinz | 3f93efe | 2022-11-11 16:06:29 +0100 | [diff] [blame] | 87 | PRODUCT_PACKAGES += \ |
| 88 | android.hardware.soundtrigger@2.2-impl \ |
| 89 | sound_trigger.primary.sdm845 \ |
| 90 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 91 | PRODUCT_COPY_FILES += \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 92 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 93 | frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ |
| 94 | frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ |
| 95 | frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ |
| 96 | frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \ |
| 97 | |
| 98 | PRODUCT_COPY_FILES += \ |
Alexander Martinz | 4caa10e | 2022-01-19 08:56:50 +0100 | [diff] [blame] | 99 | $(LOCAL_PATH)/audio/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 100 | $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
| 101 | $(LOCAL_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ |
| 102 | $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \ |
Alexander Martinz | 2029b11 | 2022-01-13 16:20:51 +0100 | [diff] [blame] | 103 | $(LOCAL_PATH)/audio/audio_policy_configuration_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 104 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
| 105 | $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \ |
| 106 | $(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \ |
| 107 | $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \ |
| 108 | $(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \ |
| 109 | $(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \ |
| 110 | $(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \ |
| 111 | $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \ |
| 112 | $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ |
| 113 | |
Alexander Martinz | 1c40220 | 2022-12-19 20:42:25 +0100 | [diff] [blame] | 114 | # Audio - ACDB |
| 115 | PRODUCT_COPY_FILES += \ |
| 116 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Bluetooth_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Bluetooth_cal.acdb \ |
| 117 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Codec_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Codec_cal.acdb \ |
| 118 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_General_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_General_cal.acdb \ |
| 119 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Global_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Global_cal.acdb \ |
| 120 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Handset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Handset_cal.acdb \ |
| 121 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Hdmi_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Hdmi_cal.acdb \ |
| 122 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Headset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Headset_cal.acdb \ |
| 123 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_Speaker_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_Speaker_cal.acdb \ |
| 124 | $(LOCAL_PATH)/audio/acdbdata/QRD/QRD_workspaceFile.qwsp:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/QRD/QRD_workspaceFile.qwsp \ |
| 125 | $(LOCAL_PATH)/audio/acdbdata/adsp_avs_config.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/adsp_avs_config.acdb \ |
| 126 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 127 | # Bluetooth |
| 128 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 129 | android.hardware.bluetooth@1.0.vendor \ |
| 130 | android.hardware.bluetooth.a2dp@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 131 | android.hardware.bluetooth.audio@2.0-impl \ |
| 132 | audio.bluetooth.default \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 133 | vendor.qti.hardware.bluetooth_audio@2.0.vendor \ |
| 134 | vendor.qti.hardware.btconfigstore@1.0.vendor \ |
| 135 | |
| 136 | # Boot control |
| 137 | PRODUCT_PACKAGES += \ |
Alexander Martinz | c15b888 | 2022-01-07 11:36:10 +0100 | [diff] [blame] | 138 | android.hardware.boot@1.1-impl-qti \ |
| 139 | android.hardware.boot@1.1-impl-qti.recovery \ |
| 140 | android.hardware.boot@1.1-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 141 | bootctrl.sdm845 \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 142 | bootctrl.sdm845.recovery \ |
| 143 | |
| 144 | PRODUCT_PACKAGES_DEBUG += \ |
| 145 | bootctl \ |
| 146 | |
| 147 | # Camera |
| 148 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 149 | android.frameworks.cameraservice.common@2.0.vendor \ |
| 150 | android.frameworks.cameraservice.device@2.0.vendor \ |
| 151 | android.frameworks.cameraservice.service@2.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 152 | android.hardware.camera.provider@2.4-impl \ |
| 153 | android.hardware.camera.provider@2.4-service_64 \ |
| 154 | vendor.qti.hardware.camera.device@1.0.vendor \ |
| 155 | |
Alexander Martinz | f151030 | 2021-09-09 09:04:33 +0200 | [diff] [blame] | 156 | PRODUCT_COPY_FILES += \ |
| 157 | $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \ |
| 158 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 159 | # Device-specific settings |
| 160 | PRODUCT_PACKAGES += \ |
| 161 | AxolotlParts \ |
| 162 | |
| 163 | # Display |
| 164 | PRODUCT_PACKAGES += \ |
| 165 | android.hardware.graphics.composer@2.3-service \ |
| 166 | android.hardware.graphics.mapper@2.0-impl-qti-display \ |
| 167 | android.hardware.memtrack@1.0-impl \ |
| 168 | android.hardware.memtrack@1.0-service \ |
| 169 | gralloc.sdm845 \ |
| 170 | hwcomposer.sdm845 \ |
| 171 | libdisplayconfig.qti \ |
| 172 | libqdMetaData \ |
| 173 | libtinyxml \ |
| 174 | memtrack.sdm845 \ |
| 175 | vendor.display.config@1.0.vendor \ |
| 176 | vendor.display.config@2.0 \ |
| 177 | vendor.qti.hardware.display.allocator@1.0-service \ |
| 178 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 179 | # DRM |
| 180 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 947edf9 | 2023-01-18 15:11:57 +0100 | [diff] [blame] | 181 | android.hardware.drm@1.3.vendor \ |
Alexander Martinz | c3ebe8f | 2023-03-21 11:44:17 +0100 | [diff] [blame] | 182 | android.hardware.drm@1.4-service.clearkey \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 183 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 184 | # Fastbootd |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 185 | PRODUCT_PACKAGES += \ |
| 186 | android.hardware.fastboot@1.0-impl-mock \ |
| 187 | fastbootd \ |
| 188 | |
| 189 | # Filesystem |
| 190 | PRODUCT_PACKAGES += \ |
| 191 | check_f2fs \ |
| 192 | f2fs_io \ |
| 193 | sg_write_buffer \ |
| 194 | |
Jaegeuk Kim | ae0ef8b | 2020-03-10 11:08:34 -0700 | [diff] [blame] | 195 | PRODUCT_PACKAGES += \ |
| 196 | e2fsck_ramdisk \ |
| 197 | tune2fs_ramdisk \ |
| 198 | resize2fs_ramdisk \ |
| 199 | |
Paul Crowley | abf7710 | 2019-04-01 13:44:46 -0700 | [diff] [blame] | 200 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 201 | ro.crypto.volume.filenames_mode=aes-256-cts \ |
| 202 | |
Michael Bestas | d91e1ee | 2022-10-24 18:03:33 +0300 | [diff] [blame] | 203 | # Fingerprint |
| 204 | PRODUCT_PACKAGES += \ |
| 205 | android.hardware.biometrics.fingerprint@2.1-service \ |
| 206 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 207 | # FM packages |
| 208 | PRODUCT_PACKAGES += \ |
| 209 | FM2 \ |
| 210 | libqcomfm_jni \ |
| 211 | qcom.fmradio \ |
| 212 | |
| 213 | # Framework permissions |
| 214 | PRODUCT_COPY_FILES += \ |
| 215 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 216 | frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \ |
| 217 | frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ |
| 218 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ |
| 219 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 220 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 221 | frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ |
| 222 | frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ |
| 223 | frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \ |
| 224 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ |
| 225 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ |
| 226 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ |
| 227 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ |
| 228 | frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ |
| 229 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 230 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 231 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ |
| 232 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 233 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 234 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 235 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 236 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \ |
| 237 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 238 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 239 | frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \ |
| 240 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 241 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ |
| 242 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ |
| 243 | frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \ |
| 244 | frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \ |
| 245 | frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \ |
| 246 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ |
| 247 | frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ |
| 248 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 249 | |
| 250 | PRODUCT_COPY_FILES += \ |
| 251 | frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \ |
| 252 | frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \ |
| 253 | frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \ |
| 254 | frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \ |
Dominik Baronelli | c501719 | 2022-12-06 15:25:16 +0100 | [diff] [blame] | 255 | frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 256 | frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ |
| 257 | frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 258 | |
Alastair Donaldson | b0bd9b8 | 2020-12-18 13:53:59 +0000 | [diff] [blame] | 259 | PRODUCT_COPY_FILES += \ |
linjoey | ad79b75 | 2021-06-16 21:29:00 +0800 | [diff] [blame] | 260 | 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 \ |
| 261 | 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 \ |
Alastair Donaldson | b0bd9b8 | 2020-12-18 13:53:59 +0000 | [diff] [blame] | 262 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 263 | # Fstab |
| 264 | PRODUCT_PACKAGES += \ |
| 265 | fstab.persist \ |
| 266 | fstab.qcom \ |
| 267 | |
| 268 | PRODUCT_COPY_FILES += \ |
| 269 | $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \ |
| 270 | $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \ |
| 271 | |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 272 | # Gatekeeper |
| 273 | PRODUCT_PACKAGES += \ |
| 274 | android.hardware.gatekeeper@1.0.vendor \ |
| 275 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 276 | # GPS |
| 277 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 278 | android.hardware.gnss@2.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 279 | android.hardware.gnss@2.1-service-qti \ |
| 280 | |
| 281 | PRODUCT_COPY_FILES += \ |
| 282 | $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \ |
| 283 | $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \ |
| 284 | $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \ |
| 285 | $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \ |
| 286 | $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \ |
| 287 | $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \ |
| 288 | |
| 289 | # Health |
| 290 | PRODUCT_PACKAGES += \ |
| 291 | android.hardware.health@2.1-impl:64 \ |
| 292 | android.hardware.health@2.1-service \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 293 | android.hardware.health@2.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 294 | |
| 295 | # HIDL |
| 296 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 297 | android.hidl.allocator@1.0.vendor \ |
Michael Bestas | 2adf437 | 2022-10-24 01:45:54 +0300 | [diff] [blame] | 298 | android.hidl.base@1.0.vendor \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 299 | android.hidl.memory@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 300 | libhidltransport \ |
| 301 | libhidltransport.vendor \ |
| 302 | libhwbinder \ |
| 303 | libhwbinder.vendor \ |
| 304 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 305 | # Init |
| 306 | PRODUCT_PACKAGES += \ |
Alexander Martinz | f71a131 | 2021-08-05 13:16:42 +0200 | [diff] [blame] | 307 | init.qcom.rc \ |
Alexander Martinz | 6cb4c87 | 2021-09-21 18:59:46 +0200 | [diff] [blame] | 308 | init.qcom.early_boot.sh \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 309 | init.recovery.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 310 | init.target.performance.rc \ |
| 311 | init.target.rc \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 312 | ueventd.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 313 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 314 | # IPA |
| 315 | PRODUCT_PACKAGES += \ |
| 316 | ipacm \ |
| 317 | IPACM_cfg.xml \ |
| 318 | |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 319 | # Keymaster |
| 320 | PRODUCT_PACKAGES += \ |
| 321 | android.hardware.keymaster@4.0.vendor \ |
| 322 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 323 | # Light HAL |
| 324 | PRODUCT_PACKAGES += \ |
| 325 | hardware.shift.light@1.0 \ |
| 326 | hardware.shift.light@1.0-impl \ |
| 327 | hardware.shift.light@1.0-service \ |
| 328 | |
| 329 | # LiveDisplay |
| 330 | #PRODUCT_PACKAGES += \ |
| 331 | # vendor.lineage.livedisplay@2.0-service-sdm \ |
| 332 | |
| 333 | # Media |
| 334 | PRODUCT_PACKAGES += \ |
| 335 | libavservices_minijail \ |
| 336 | libavservices_minijail.vendor \ |
| 337 | libc2dcolorconvert \ |
| 338 | libOmxAacEnc \ |
| 339 | libOmxAmrEnc \ |
| 340 | libOmxCore \ |
| 341 | libOmxEvrcEnc \ |
| 342 | libOmxG711Enc \ |
| 343 | libOmxQcelp13Enc \ |
| 344 | libOmxVdec \ |
| 345 | libOmxVenc \ |
| 346 | libstagefrighthw \ |
| 347 | |
| 348 | PRODUCT_COPY_FILES += \ |
| 349 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ |
| 350 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ |
| 351 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ |
| 352 | frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \ |
| 353 | |
| 354 | PRODUCT_COPY_FILES += \ |
| 355 | $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
| 356 | $(LOCAL_PATH)/configs/media/media_codecs_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_audio.xml \ |
| 357 | $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 358 | $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ |
| 359 | $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \ |
| 360 | |
Bharath | eb9bbfa | 2022-10-10 20:15:30 +0530 | [diff] [blame^] | 361 | # Media - Transcoding |
| 362 | PRODUCT_VENDOR_PROPERTIES += \ |
| 363 | persist.sys.fuse.transcode_user_control=true \ |
| 364 | persist.sys.fuse.transcode_enabled=false \ |
| 365 | |
Alexander Martinz | 2a1f1a8 | 2023-03-23 10:43:30 +0100 | [diff] [blame] | 366 | # Namespaces - Native Libraries |
| 367 | PRODUCT_COPY_FILES += \ |
| 368 | $(LOCAL_PATH)/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \ |
| 369 | |
| 370 | # Namespaces - Soong |
| 371 | PRODUCT_SOONG_NAMESPACES += \ |
| 372 | $(LOCAL_PATH) \ |
| 373 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 374 | # Net |
| 375 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 376 | android.system.net.netd@1.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 377 | netutils-wrapper-1.0 \ |
| 378 | |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 379 | # Neural Network |
| 380 | PRODUCT_PACKAGES += \ |
| 381 | android.hardware.neuralnetworks@1.2.vendor \ |
| 382 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 383 | # NFC |
| 384 | PRODUCT_PACKAGES += \ |
| 385 | android.hardware.nfc@1.2-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 386 | com.android.nfc_extras \ |
| 387 | NfcNci \ |
| 388 | Tag \ |
| 389 | |
| 390 | PRODUCT_COPY_FILES += \ |
| 391 | $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \ |
| 392 | $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \ |
| 393 | |
| 394 | # Overlays |
| 395 | DEVICE_PACKAGE_OVERLAYS += \ |
| 396 | $(LOCAL_PATH)/overlay \ |
| 397 | $(LOCAL_PATH)/overlay-lineage \ |
| 398 | |
Anton Hansson | 1bae2ff | 2018-11-07 16:10:05 +0000 | [diff] [blame] | 399 | PRODUCT_ENFORCE_RRO_TARGETS := * |
| 400 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 401 | # Power |
| 402 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 403 | android.hardware.power@1.2.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 404 | android.hardware.power-service-qti \ |
| 405 | vendor.qti.hardware.perf@2.1.vendor \ |
| 406 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 407 | # Protobuf |
| 408 | PRODUCT_PACKAGES += \ |
| 409 | libprotobuf-cpp-full-vendorcompat \ |
| 410 | libprotobuf-cpp-lite-vendorcompat \ |
| 411 | |
| 412 | # QTI |
| 413 | PRODUCT_PACKAGES += \ |
| 414 | libqti_vndfwk_detect.vendor \ |
| 415 | |
| 416 | PRODUCT_COPY_FILES += \ |
Michael Bestas | fe3cbb3 | 2022-10-30 19:01:36 +0200 | [diff] [blame] | 417 | $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/qti_whitelist.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 418 | $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \ |
| 419 | |
| 420 | # Radio |
| 421 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 422 | android.hardware.secure_element@1.2 \ |
| 423 | android.hardware.secure_element@1.2.vendor \ |
| 424 | android.hardware.radio@1.5.vendor \ |
| 425 | android.hardware.radio.config@1.2.vendor \ |
| 426 | android.hardware.radio.deprecated@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 427 | libjson \ |
| 428 | librmnetctl \ |
| 429 | |
| 430 | # RenderScript |
| 431 | PRODUCT_PACKAGES += \ |
| 432 | android.hardware.renderscript@1.0-impl \ |
| 433 | |
| 434 | # Seccomp policy |
| 435 | PRODUCT_COPY_FILES += \ |
| 436 | $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \ |
| 437 | $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \ |
| 438 | $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ |
| 439 | |
| 440 | # Secure element |
| 441 | PRODUCT_PACKAGES += \ |
| 442 | SecureElement \ |
| 443 | |
| 444 | # Sensors |
| 445 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 446 | android.hardware.sensors@2.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 447 | libsensorndkbridge \ |
| 448 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 449 | # Telephony |
| 450 | PRODUCT_PACKAGES += \ |
| 451 | ims-ext-common \ |
| 452 | ims_ext_common.xml \ |
Alexander Martinz | 6cf7e9e | 2023-01-18 12:09:37 +0100 | [diff] [blame] | 453 | libgui_shim \ |
| 454 | libui_shim \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 455 | qti-telephony-hidl-wrapper \ |
| 456 | qti_telephony_hidl_wrapper.xml \ |
| 457 | qti-telephony-utils \ |
| 458 | qti_telephony_utils.xml \ |
| 459 | telephony-ext \ |
| 460 | |
| 461 | PRODUCT_BOOT_JARS += \ |
| 462 | telephony-ext \ |
| 463 | |
| 464 | # Thermal |
| 465 | PRODUCT_PACKAGES += \ |
Alexander Martinz | d397dff | 2022-04-26 18:18:58 +0200 | [diff] [blame] | 466 | android.hardware.thermal@2.0-service.qti \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 467 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 468 | # Trust HAL |
| 469 | PRODUCT_PACKAGES += \ |
| 470 | vendor.lineage.trust@1.0-service \ |
| 471 | |
| 472 | # Update engine |
| 473 | PRODUCT_PACKAGES += \ |
| 474 | update_engine \ |
| 475 | update_engine_sideload \ |
| 476 | update_verifier \ |
| 477 | |
| 478 | PRODUCT_PACKAGES_DEBUG += \ |
| 479 | update_engine_client \ |
| 480 | |
| 481 | # USB |
| 482 | PRODUCT_PACKAGES += \ |
| 483 | android.hardware.usb@1.0-service \ |
| 484 | libusb \ |
| 485 | |
| 486 | # Vibrator |
| 487 | PRODUCT_PACKAGES += \ |
| 488 | android.hardware.vibrator@1.0-impl:64 \ |
| 489 | android.hardware.vibrator@1.0-service \ |
| 490 | |
| 491 | # VNDK |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 492 | PRODUCT_PACKAGES += \ |
| 493 | libcomparetf2 \ |
| 494 | libgui_vendor \ |
| 495 | |
| 496 | # WiFi |
| 497 | PRODUCT_PACKAGES += \ |
| 498 | android.hardware.wifi@1.0-service \ |
| 499 | hostapd \ |
| 500 | libcld80211 \ |
| 501 | libwifi-hal-qcom \ |
| 502 | libwpa_client \ |
| 503 | WifiOverlay \ |
| 504 | wpa_supplicant \ |
| 505 | wpa_supplicant.conf \ |