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 |
| 16 | $(call inherit-product-if-exists, 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 | |
LuK1337 | 90006dd | 2021-12-14 11:45:20 +0100 | [diff] [blame] | 23 | # APEX |
| 24 | PRODUCT_COMPRESSED_APEX := false |
| 25 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 26 | # Boot animation |
| 27 | TARGET_SCREEN_HEIGHT := 2160 |
| 28 | TARGET_SCREEN_WIDTH := 1080 |
| 29 | |
| 30 | # Display |
| 31 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 32 | ro.sf.lcd_density=420 \ |
| 33 | vendor.display.lcd_density=420 \ |
| 34 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 35 | # Dynamic Partitions |
| 36 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| 37 | PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true |
| 38 | |
| 39 | ##### |
| 40 | |
| 41 | # A/B - post |
| 42 | PRODUCT_PACKAGES += \ |
| 43 | checkpoint_gc \ |
| 44 | otapreopt_script \ |
| 45 | |
| 46 | # A/B - post - system |
| 47 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 48 | RUN_POSTINSTALL_system=true \ |
| 49 | POSTINSTALL_PATH_system=system/bin/otapreopt_script \ |
| 50 | FILESYSTEM_TYPE_system=ext4 \ |
| 51 | |
| 52 | # A/B - post - vendor |
| 53 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 54 | RUN_POSTINSTALL_vendor=true \ |
| 55 | POSTINSTALL_PATH_vendor=bin/checkpoint_gc \ |
| 56 | FILESYSTEM_TYPE_vendor=ext4 \ |
| 57 | POSTINSTALL_OPTIONAL_vendor=true \ |
| 58 | |
| 59 | # AID/fs configs |
| 60 | PRODUCT_PACKAGES += \ |
| 61 | fs_config_files \ |
| 62 | |
| 63 | # ANT+ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 64 | PRODUCT_PACKAGES += \ |
| 65 | AntHalService \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 66 | |
| 67 | # Audio |
| 68 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 69 | android.hardware.audio@2.0.vendor \ |
| 70 | android.hardware.audio@4.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 71 | android.hardware.audio@5.0-impl \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 72 | android.hardware.audio.effect@2.0.vendor \ |
| 73 | android.hardware.audio.effect@4.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 74 | android.hardware.audio.effect@5.0-impl \ |
| 75 | android.hardware.audio.service \ |
| 76 | android.hardware.soundtrigger@2.2-impl \ |
| 77 | audio.a2dp.default \ |
| 78 | audio.r_submix.default \ |
| 79 | audio.usb.default \ |
| 80 | libaudioalsa \ |
| 81 | libqcompostprocbundle \ |
| 82 | libqcomvisualizer \ |
| 83 | libqcomvoiceprocessing \ |
| 84 | libtinycompress \ |
| 85 | libvolumelistener \ |
| 86 | tinymix \ |
| 87 | |
| 88 | PRODUCT_COPY_FILES += \ |
| 89 | frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ |
| 90 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 91 | frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ |
| 92 | frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ |
| 93 | frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ |
| 94 | frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \ |
| 95 | |
| 96 | PRODUCT_COPY_FILES += \ |
Alexander Martinz | 4caa10e | 2022-01-19 08:56:50 +0100 | [diff] [blame] | 97 | $(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] | 98 | $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
| 99 | $(LOCAL_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ |
Alexander Martinz | 4caa10e | 2022-01-19 08:56:50 +0100 | [diff] [blame] | 100 | $(LOCAL_PATH)/audio/audio_platform_info_i2s.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_i2s.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 101 | $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \ |
Alexander Martinz | 4caa10e | 2022-01-19 08:56:50 +0100 | [diff] [blame] | 102 | $(LOCAL_PATH)/audio/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \ |
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 \ |
Alexander Martinz | 4caa10e | 2022-01-19 08:56:50 +0100 | [diff] [blame] | 108 | $(LOCAL_PATH)/audio/bluetooth_qti_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_audio_policy_configuration.xml \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 109 | $(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \ |
| 110 | $(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \ |
| 111 | $(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \ |
| 112 | $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \ |
| 113 | $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ |
| 114 | |
| 115 | # Bluetooth |
| 116 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 117 | android.hardware.bluetooth@1.0.vendor \ |
| 118 | android.hardware.bluetooth.a2dp@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 119 | android.hardware.bluetooth.audio@2.0-impl \ |
| 120 | audio.bluetooth.default \ |
| 121 | libbthost_if \ |
| 122 | com.qualcomm.qti.bluetooth_audio@1.0 \ |
| 123 | com.qualcomm.qti.bluetooth_audio@1.0.vendor \ |
| 124 | vendor.qti.hardware.bluetooth_audio@2.0.vendor \ |
| 125 | vendor.qti.hardware.btconfigstore@1.0.vendor \ |
| 126 | |
| 127 | # Boot control |
| 128 | PRODUCT_PACKAGES += \ |
Alexander Martinz | c15b888 | 2022-01-07 11:36:10 +0100 | [diff] [blame] | 129 | android.hardware.boot@1.1-impl-qti \ |
| 130 | android.hardware.boot@1.1-impl-qti.recovery \ |
| 131 | android.hardware.boot@1.1-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 132 | bootctrl.sdm845 \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 133 | bootctrl.sdm845.recovery \ |
| 134 | |
| 135 | PRODUCT_PACKAGES_DEBUG += \ |
| 136 | bootctl \ |
| 137 | |
| 138 | # Camera |
| 139 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 140 | android.frameworks.cameraservice.common@2.0.vendor \ |
| 141 | android.frameworks.cameraservice.device@2.0.vendor \ |
| 142 | android.frameworks.cameraservice.service@2.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 143 | android.hardware.camera.provider@2.4-impl \ |
| 144 | android.hardware.camera.provider@2.4-service_64 \ |
| 145 | vendor.qti.hardware.camera.device@1.0.vendor \ |
| 146 | |
| 147 | PRODUCT_PACKAGES += \ |
| 148 | Snap \ |
| 149 | |
Alexander Martinz | f151030 | 2021-09-09 09:04:33 +0200 | [diff] [blame] | 150 | PRODUCT_COPY_FILES += \ |
| 151 | $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \ |
| 152 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 153 | # Component overrides |
| 154 | PRODUCT_COPY_FILES += \ |
| 155 | $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \ |
| 156 | |
| 157 | # Device-specific settings |
| 158 | PRODUCT_PACKAGES += \ |
| 159 | AxolotlParts \ |
| 160 | |
| 161 | # Display |
| 162 | PRODUCT_PACKAGES += \ |
| 163 | android.hardware.graphics.composer@2.3-service \ |
| 164 | android.hardware.graphics.mapper@2.0-impl-qti-display \ |
| 165 | android.hardware.memtrack@1.0-impl \ |
| 166 | android.hardware.memtrack@1.0-service \ |
| 167 | gralloc.sdm845 \ |
| 168 | hwcomposer.sdm845 \ |
| 169 | libdisplayconfig.qti \ |
| 170 | libqdMetaData \ |
| 171 | libtinyxml \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 172 | libtinyxml.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 173 | memtrack.sdm845 \ |
| 174 | vendor.display.config@1.0.vendor \ |
| 175 | vendor.display.config@2.0 \ |
| 176 | vendor.qti.hardware.display.allocator@1.0-service \ |
| 177 | |
| 178 | # Display - Phase Offsets |
| 179 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 180 | ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \ |
| 181 | ro.surface_flinger.max_frame_buffer_acquired_buffers=2 \ |
| 182 | ro.surface_flinger.max_virtual_display_dimension=4096 \ |
| 183 | ro.surface_flinger.vsync_event_phase_offset_ns=2000000 \ |
| 184 | ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000 \ |
| 185 | |
| 186 | # DRM |
| 187 | PRODUCT_PACKAGES += \ |
| 188 | android.hardware.drm@1.0-impl:64 \ |
| 189 | android.hardware.drm@1.0-service \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 190 | android.hardware.drm@1.3.vendor \ |
Edwin Wong | 638769e | 2021-03-25 00:19:58 -0700 | [diff] [blame] | 191 | android.hardware.drm@1.4-service.clearkey \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 192 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 193 | # Fastbootd |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 194 | PRODUCT_PACKAGES += \ |
| 195 | android.hardware.fastboot@1.0-impl-mock \ |
| 196 | fastbootd \ |
| 197 | |
| 198 | # Filesystem |
| 199 | PRODUCT_PACKAGES += \ |
| 200 | check_f2fs \ |
| 201 | f2fs_io \ |
| 202 | sg_write_buffer \ |
| 203 | |
| 204 | # FM packages |
| 205 | PRODUCT_PACKAGES += \ |
| 206 | FM2 \ |
| 207 | libqcomfm_jni \ |
| 208 | qcom.fmradio \ |
| 209 | |
| 210 | # Framework permissions |
| 211 | PRODUCT_COPY_FILES += \ |
| 212 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 213 | frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \ |
| 214 | frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ |
| 215 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ |
| 216 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 217 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 218 | frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ |
| 219 | frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ |
| 220 | frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \ |
| 221 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ |
| 222 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ |
| 223 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ |
| 224 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ |
| 225 | frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ |
| 226 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 227 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 228 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ |
| 229 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 230 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 231 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 232 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 233 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \ |
| 234 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 235 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 236 | frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \ |
| 237 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 238 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ |
| 239 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ |
| 240 | frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \ |
| 241 | frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \ |
| 242 | frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \ |
| 243 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ |
| 244 | frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ |
| 245 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 246 | |
| 247 | PRODUCT_COPY_FILES += \ |
| 248 | frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \ |
| 249 | frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \ |
| 250 | frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \ |
| 251 | frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \ |
| 252 | frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ |
| 253 | 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] | 254 | |
Alastair Donaldson | b0bd9b8 | 2020-12-18 13:53:59 +0000 | [diff] [blame] | 255 | PRODUCT_COPY_FILES += \ |
linjoey | ad79b75 | 2021-06-16 21:29:00 +0800 | [diff] [blame] | 256 | 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 \ |
| 257 | 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] | 258 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 259 | # Fstab |
| 260 | PRODUCT_PACKAGES += \ |
| 261 | fstab.persist \ |
| 262 | fstab.qcom \ |
| 263 | |
| 264 | PRODUCT_COPY_FILES += \ |
| 265 | $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \ |
| 266 | $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \ |
| 267 | |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 268 | # Gatekeeper |
| 269 | PRODUCT_PACKAGES += \ |
| 270 | android.hardware.gatekeeper@1.0.vendor \ |
| 271 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 272 | # GPS |
| 273 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 274 | android.hardware.gnss@2.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 275 | android.hardware.gnss@2.1-service-qti \ |
| 276 | |
| 277 | PRODUCT_COPY_FILES += \ |
| 278 | $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \ |
| 279 | $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \ |
| 280 | $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \ |
| 281 | $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \ |
| 282 | $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \ |
| 283 | $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \ |
| 284 | |
| 285 | # Health |
| 286 | PRODUCT_PACKAGES += \ |
| 287 | android.hardware.health@2.1-impl:64 \ |
| 288 | android.hardware.health@2.1-service \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 289 | android.hardware.health@2.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 290 | |
| 291 | # HIDL |
| 292 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 293 | android.hidl.allocator@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 294 | android.hidl.base@1.0_system \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 295 | android.hidl.memory@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 296 | libhidltransport \ |
| 297 | libhidltransport.vendor \ |
| 298 | libhwbinder \ |
| 299 | libhwbinder.vendor \ |
| 300 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 301 | # Init |
| 302 | PRODUCT_PACKAGES += \ |
Alexander Martinz | f71a131 | 2021-08-05 13:16:42 +0200 | [diff] [blame] | 303 | init.qcom.rc \ |
Alexander Martinz | 6cb4c87 | 2021-09-21 18:59:46 +0200 | [diff] [blame] | 304 | init.qcom.early_boot.sh \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 305 | init.recovery.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 306 | init.target.performance.rc \ |
| 307 | init.target.rc \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 308 | ueventd.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 309 | |
Alexander Martinz | c61256d | 2021-11-02 18:58:27 +0100 | [diff] [blame] | 310 | PRODUCT_PACKAGES += \ |
| 311 | init.insmod.cfg \ |
| 312 | init.insmod.sh \ |
| 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 | |
| 361 | # Net |
| 362 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 363 | android.system.net.netd@1.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 364 | netutils-wrapper-1.0 \ |
| 365 | |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 366 | # Neural Network |
| 367 | PRODUCT_PACKAGES += \ |
| 368 | android.hardware.neuralnetworks@1.2.vendor \ |
| 369 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 370 | # NFC |
| 371 | PRODUCT_PACKAGES += \ |
| 372 | android.hardware.nfc@1.2-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 373 | com.android.nfc_extras \ |
| 374 | NfcNci \ |
| 375 | Tag \ |
| 376 | |
| 377 | PRODUCT_COPY_FILES += \ |
| 378 | $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \ |
| 379 | $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \ |
| 380 | |
| 381 | # Overlays |
| 382 | DEVICE_PACKAGE_OVERLAYS += \ |
| 383 | $(LOCAL_PATH)/overlay \ |
| 384 | $(LOCAL_PATH)/overlay-lineage \ |
| 385 | |
| 386 | # Power |
| 387 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 388 | android.hardware.power@1.2.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 389 | android.hardware.power-service-qti \ |
| 390 | vendor.qti.hardware.perf@2.1.vendor \ |
| 391 | |
| 392 | # Properties |
| 393 | PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true |
| 394 | $(call inherit-product, $(LOCAL_PATH)/properties.mk) |
| 395 | |
| 396 | # Protobuf |
| 397 | PRODUCT_PACKAGES += \ |
| 398 | libprotobuf-cpp-full-vendorcompat \ |
| 399 | libprotobuf-cpp-lite-vendorcompat \ |
| 400 | |
| 401 | # QTI |
| 402 | PRODUCT_PACKAGES += \ |
| 403 | libqti_vndfwk_detect.vendor \ |
| 404 | |
| 405 | PRODUCT_COPY_FILES += \ |
| 406 | $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \ |
| 407 | $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \ |
| 408 | |
| 409 | # Radio |
| 410 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 411 | android.hardware.secure_element@1.2 \ |
| 412 | android.hardware.secure_element@1.2.vendor \ |
| 413 | android.hardware.radio@1.5.vendor \ |
| 414 | android.hardware.radio.config@1.2.vendor \ |
| 415 | android.hardware.radio.deprecated@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 416 | libjson \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 417 | libjson.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 418 | librmnetctl \ |
| 419 | |
| 420 | # RenderScript |
| 421 | PRODUCT_PACKAGES += \ |
| 422 | android.hardware.renderscript@1.0-impl \ |
| 423 | |
| 424 | # Seccomp policy |
| 425 | PRODUCT_COPY_FILES += \ |
| 426 | $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \ |
| 427 | $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \ |
| 428 | $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ |
| 429 | |
| 430 | # Secure element |
| 431 | PRODUCT_PACKAGES += \ |
| 432 | SecureElement \ |
| 433 | |
| 434 | # Sensors |
| 435 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 436 | android.hardware.sensors@2.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 437 | android.hardware.sensors@2.0-impl \ |
| 438 | android.hardware.sensors@2.0-service \ |
| 439 | libsensorndkbridge \ |
| 440 | |
| 441 | # Soong namespaces |
| 442 | PRODUCT_SOONG_NAMESPACES += \ |
| 443 | $(LOCAL_PATH) \ |
| 444 | |
| 445 | # Telephony |
| 446 | PRODUCT_PACKAGES += \ |
| 447 | ims-ext-common \ |
| 448 | ims_ext_common.xml \ |
| 449 | qti-telephony-hidl-wrapper \ |
| 450 | qti_telephony_hidl_wrapper.xml \ |
| 451 | qti-telephony-utils \ |
| 452 | qti_telephony_utils.xml \ |
| 453 | telephony-ext \ |
| 454 | |
| 455 | PRODUCT_BOOT_JARS += \ |
| 456 | telephony-ext \ |
| 457 | |
| 458 | # Thermal |
| 459 | PRODUCT_PACKAGES += \ |
Alexander Martinz | d397dff | 2022-04-26 18:18:58 +0200 | [diff] [blame] | 460 | android.hardware.thermal@2.0-service.qti \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 461 | |
| 462 | # Treble |
| 463 | PRODUCT_USE_VNDK_OVERRIDE := true |
Alexander Martinz | ce1dfaa | 2022-02-09 18:43:28 +0100 | [diff] [blame] | 464 | PRODUCT_EXTRA_VNDK_VERSIONS := 29 30 |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 465 | |
| 466 | # Trust HAL |
| 467 | PRODUCT_PACKAGES += \ |
| 468 | vendor.lineage.trust@1.0-service \ |
| 469 | |
| 470 | # Update engine |
| 471 | PRODUCT_PACKAGES += \ |
| 472 | update_engine \ |
| 473 | update_engine_sideload \ |
| 474 | update_verifier \ |
| 475 | |
| 476 | PRODUCT_PACKAGES_DEBUG += \ |
| 477 | update_engine_client \ |
| 478 | |
| 479 | # USB |
| 480 | PRODUCT_PACKAGES += \ |
| 481 | android.hardware.usb@1.0-service \ |
| 482 | libusb \ |
| 483 | |
| 484 | # Vibrator |
| 485 | PRODUCT_PACKAGES += \ |
| 486 | android.hardware.vibrator@1.0-impl:64 \ |
| 487 | android.hardware.vibrator@1.0-service \ |
| 488 | |
| 489 | # VNDK |
| 490 | PRODUCT_COPY_FILES += \ |
| 491 | prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libcutils-v29.so \ |
| 492 | prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libcutils-v29.so \ |
| 493 | |
| 494 | PRODUCT_PACKAGES += \ |
| 495 | libcomparetf2 \ |
| 496 | libgui_vendor \ |
| 497 | |
| 498 | # WiFi |
| 499 | PRODUCT_PACKAGES += \ |
| 500 | android.hardware.wifi@1.0-service \ |
| 501 | hostapd \ |
| 502 | libcld80211 \ |
| 503 | libwifi-hal-qcom \ |
| 504 | libwpa_client \ |
| 505 | WifiOverlay \ |
| 506 | wpa_supplicant \ |
| 507 | wpa_supplicant.conf \ |
| 508 | vendor.qti.hardware.wifi.hostapd@1.0.vendor \ |
| 509 | vendor.qti.hardware.wifi.hostapd@1.1.vendor \ |
| 510 | vendor.qti.hardware.wifi.supplicant@2.0.vendor \ |
| 511 | vendor.qti.hardware.wifi.supplicant@2.1.vendor \ |