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 | c15b888 | 2022-01-07 11:36:10 +0100 | [diff] [blame] | 15 | # Retrofit virtual A/B |
| 16 | $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota_retrofit.mk) |
| 17 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 18 | # Inherit vendor blobs |
| 19 | $(call inherit-product-if-exists, vendor/shift/axolotl/axolotl-vendor.mk) |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 20 | |
| 21 | # AAPT |
| 22 | PRODUCT_AAPT_CONFIG := normal |
| 23 | PRODUCT_AAPT_PREF_CONFIG := 420dpi |
| 24 | PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi |
| 25 | |
LuK1337 | 90006dd | 2021-12-14 11:45:20 +0100 | [diff] [blame] | 26 | # APEX |
| 27 | PRODUCT_COMPRESSED_APEX := false |
| 28 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 29 | # Boot animation |
| 30 | TARGET_SCREEN_HEIGHT := 2160 |
| 31 | TARGET_SCREEN_WIDTH := 1080 |
| 32 | |
| 33 | # Display |
| 34 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 35 | ro.sf.lcd_density=420 \ |
| 36 | vendor.display.lcd_density=420 \ |
| 37 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 38 | # Dynamic Partitions |
| 39 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| 40 | PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true |
| 41 | |
| 42 | ##### |
| 43 | |
| 44 | # A/B - post |
| 45 | PRODUCT_PACKAGES += \ |
| 46 | checkpoint_gc \ |
| 47 | otapreopt_script \ |
| 48 | |
| 49 | # A/B - post - system |
| 50 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 51 | RUN_POSTINSTALL_system=true \ |
| 52 | POSTINSTALL_PATH_system=system/bin/otapreopt_script \ |
| 53 | FILESYSTEM_TYPE_system=ext4 \ |
| 54 | |
| 55 | # A/B - post - vendor |
| 56 | AB_OTA_POSTINSTALL_CONFIG += \ |
| 57 | RUN_POSTINSTALL_vendor=true \ |
| 58 | POSTINSTALL_PATH_vendor=bin/checkpoint_gc \ |
| 59 | FILESYSTEM_TYPE_vendor=ext4 \ |
| 60 | POSTINSTALL_OPTIONAL_vendor=true \ |
| 61 | |
| 62 | # AID/fs configs |
| 63 | PRODUCT_PACKAGES += \ |
| 64 | fs_config_files \ |
| 65 | |
| 66 | # ANT+ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 67 | PRODUCT_PACKAGES += \ |
| 68 | AntHalService \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 69 | |
| 70 | # Audio |
| 71 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 72 | android.hardware.audio@2.0.vendor \ |
| 73 | android.hardware.audio@4.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 74 | android.hardware.audio@5.0-impl \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 75 | android.hardware.audio.effect@2.0.vendor \ |
| 76 | android.hardware.audio.effect@4.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 77 | android.hardware.audio.effect@5.0-impl \ |
| 78 | android.hardware.audio.service \ |
| 79 | android.hardware.soundtrigger@2.2-impl \ |
| 80 | audio.a2dp.default \ |
| 81 | audio.r_submix.default \ |
| 82 | audio.usb.default \ |
| 83 | libaudioalsa \ |
| 84 | libqcompostprocbundle \ |
| 85 | libqcomvisualizer \ |
| 86 | libqcomvoiceprocessing \ |
| 87 | libtinycompress \ |
| 88 | libvolumelistener \ |
| 89 | tinymix \ |
| 90 | |
| 91 | PRODUCT_COPY_FILES += \ |
| 92 | frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ |
| 93 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 94 | frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ |
| 95 | frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ |
| 96 | frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ |
| 97 | frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \ |
| 98 | |
| 99 | PRODUCT_COPY_FILES += \ |
Alexander Martinz | 4caa10e | 2022-01-19 08:56:50 +0100 | [diff] [blame^] | 100 | $(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] | 101 | $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
| 102 | $(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^] | 103 | $(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] | 104 | $(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^] | 105 | $(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] | 106 | $(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] | 107 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
| 108 | $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \ |
| 109 | $(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \ |
| 110 | $(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^] | 111 | $(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] | 112 | $(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \ |
| 113 | $(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \ |
| 114 | $(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \ |
| 115 | $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \ |
| 116 | $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ |
| 117 | |
| 118 | # Bluetooth |
| 119 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 120 | android.hardware.bluetooth@1.0.vendor \ |
| 121 | android.hardware.bluetooth.a2dp@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 122 | android.hardware.bluetooth.audio@2.0-impl \ |
| 123 | audio.bluetooth.default \ |
| 124 | libbthost_if \ |
| 125 | com.qualcomm.qti.bluetooth_audio@1.0 \ |
| 126 | com.qualcomm.qti.bluetooth_audio@1.0.vendor \ |
| 127 | vendor.qti.hardware.bluetooth_audio@2.0.vendor \ |
| 128 | vendor.qti.hardware.btconfigstore@1.0.vendor \ |
| 129 | |
| 130 | # Boot control |
| 131 | PRODUCT_PACKAGES += \ |
Alexander Martinz | c15b888 | 2022-01-07 11:36:10 +0100 | [diff] [blame] | 132 | android.hardware.boot@1.1-impl-qti \ |
| 133 | android.hardware.boot@1.1-impl-qti.recovery \ |
| 134 | android.hardware.boot@1.1-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 135 | bootctrl.sdm845 \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 136 | bootctrl.sdm845.recovery \ |
| 137 | |
| 138 | PRODUCT_PACKAGES_DEBUG += \ |
| 139 | bootctl \ |
| 140 | |
| 141 | # Camera |
| 142 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 143 | android.frameworks.cameraservice.common@2.0.vendor \ |
| 144 | android.frameworks.cameraservice.device@2.0.vendor \ |
| 145 | android.frameworks.cameraservice.service@2.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 146 | android.hardware.camera.provider@2.4-impl \ |
| 147 | android.hardware.camera.provider@2.4-service_64 \ |
| 148 | vendor.qti.hardware.camera.device@1.0.vendor \ |
| 149 | |
| 150 | PRODUCT_PACKAGES += \ |
| 151 | Snap \ |
| 152 | |
Alexander Martinz | f151030 | 2021-09-09 09:04:33 +0200 | [diff] [blame] | 153 | PRODUCT_COPY_FILES += \ |
| 154 | $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \ |
| 155 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 156 | # Component overrides |
| 157 | PRODUCT_COPY_FILES += \ |
| 158 | $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \ |
| 159 | |
| 160 | # Device-specific settings |
| 161 | PRODUCT_PACKAGES += \ |
| 162 | AxolotlParts \ |
| 163 | |
| 164 | # Display |
| 165 | PRODUCT_PACKAGES += \ |
| 166 | android.hardware.graphics.composer@2.3-service \ |
| 167 | android.hardware.graphics.mapper@2.0-impl-qti-display \ |
| 168 | android.hardware.memtrack@1.0-impl \ |
| 169 | android.hardware.memtrack@1.0-service \ |
| 170 | gralloc.sdm845 \ |
| 171 | hwcomposer.sdm845 \ |
| 172 | libdisplayconfig.qti \ |
| 173 | libqdMetaData \ |
| 174 | libtinyxml \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 175 | libtinyxml.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 176 | memtrack.sdm845 \ |
| 177 | vendor.display.config@1.0.vendor \ |
| 178 | vendor.display.config@2.0 \ |
| 179 | vendor.qti.hardware.display.allocator@1.0-service \ |
| 180 | |
| 181 | # Display - Phase Offsets |
| 182 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 183 | ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \ |
| 184 | ro.surface_flinger.max_frame_buffer_acquired_buffers=2 \ |
| 185 | ro.surface_flinger.max_virtual_display_dimension=4096 \ |
| 186 | ro.surface_flinger.vsync_event_phase_offset_ns=2000000 \ |
| 187 | ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000 \ |
| 188 | |
| 189 | # DRM |
| 190 | PRODUCT_PACKAGES += \ |
| 191 | android.hardware.drm@1.0-impl:64 \ |
| 192 | android.hardware.drm@1.0-service \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 193 | android.hardware.drm@1.3.vendor \ |
Edwin Wong | 638769e | 2021-03-25 00:19:58 -0700 | [diff] [blame] | 194 | android.hardware.drm@1.4-service.clearkey \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 195 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 196 | # Fastbootd |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 197 | PRODUCT_PACKAGES += \ |
| 198 | android.hardware.fastboot@1.0-impl-mock \ |
| 199 | fastbootd \ |
| 200 | |
| 201 | # Filesystem |
| 202 | PRODUCT_PACKAGES += \ |
| 203 | check_f2fs \ |
| 204 | f2fs_io \ |
| 205 | sg_write_buffer \ |
| 206 | |
| 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 \ |
| 255 | frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ |
| 256 | 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] | 257 | |
Alastair Donaldson | b0bd9b8 | 2020-12-18 13:53:59 +0000 | [diff] [blame] | 258 | PRODUCT_COPY_FILES += \ |
linjoey | ad79b75 | 2021-06-16 21:29:00 +0800 | [diff] [blame] | 259 | 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 \ |
| 260 | 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] | 261 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 262 | # Fstab |
| 263 | PRODUCT_PACKAGES += \ |
| 264 | fstab.persist \ |
| 265 | fstab.qcom \ |
| 266 | |
| 267 | PRODUCT_COPY_FILES += \ |
| 268 | $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \ |
| 269 | $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \ |
| 270 | |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 271 | # Gatekeeper |
| 272 | PRODUCT_PACKAGES += \ |
| 273 | android.hardware.gatekeeper@1.0.vendor \ |
| 274 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 275 | # GPS |
| 276 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 277 | android.hardware.gnss@2.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 278 | android.hardware.gnss@2.1-service-qti \ |
| 279 | |
| 280 | PRODUCT_COPY_FILES += \ |
| 281 | $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \ |
| 282 | $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \ |
| 283 | $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \ |
| 284 | $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \ |
| 285 | $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \ |
| 286 | $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \ |
| 287 | |
| 288 | # Health |
| 289 | PRODUCT_PACKAGES += \ |
| 290 | android.hardware.health@2.1-impl:64 \ |
| 291 | android.hardware.health@2.1-service \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 292 | android.hardware.health@2.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 293 | |
| 294 | # HIDL |
| 295 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 296 | android.hidl.allocator@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 297 | android.hidl.base@1.0_system \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 298 | android.hidl.memory@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 299 | libhidltransport \ |
| 300 | libhidltransport.vendor \ |
| 301 | libhwbinder \ |
| 302 | libhwbinder.vendor \ |
| 303 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 304 | # Init |
| 305 | PRODUCT_PACKAGES += \ |
Alexander Martinz | f71a131 | 2021-08-05 13:16:42 +0200 | [diff] [blame] | 306 | init.qcom.rc \ |
Alexander Martinz | 6cb4c87 | 2021-09-21 18:59:46 +0200 | [diff] [blame] | 307 | init.qcom.early_boot.sh \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 308 | init.recovery.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 309 | init.target.performance.rc \ |
| 310 | init.target.rc \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 311 | ueventd.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 312 | |
Alexander Martinz | c61256d | 2021-11-02 18:58:27 +0100 | [diff] [blame] | 313 | PRODUCT_PACKAGES += \ |
| 314 | init.insmod.cfg \ |
| 315 | init.insmod.sh \ |
| 316 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 317 | # IPA |
| 318 | PRODUCT_PACKAGES += \ |
| 319 | ipacm \ |
| 320 | IPACM_cfg.xml \ |
| 321 | |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 322 | # Keymaster |
| 323 | PRODUCT_PACKAGES += \ |
| 324 | android.hardware.keymaster@4.0.vendor \ |
| 325 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 326 | # Light HAL |
| 327 | PRODUCT_PACKAGES += \ |
| 328 | hardware.shift.light@1.0 \ |
| 329 | hardware.shift.light@1.0-impl \ |
| 330 | hardware.shift.light@1.0-service \ |
| 331 | |
| 332 | # LiveDisplay |
| 333 | #PRODUCT_PACKAGES += \ |
| 334 | # vendor.lineage.livedisplay@2.0-service-sdm \ |
| 335 | |
| 336 | # Media |
| 337 | PRODUCT_PACKAGES += \ |
| 338 | libavservices_minijail \ |
| 339 | libavservices_minijail.vendor \ |
| 340 | libc2dcolorconvert \ |
| 341 | libOmxAacEnc \ |
| 342 | libOmxAmrEnc \ |
| 343 | libOmxCore \ |
| 344 | libOmxEvrcEnc \ |
| 345 | libOmxG711Enc \ |
| 346 | libOmxQcelp13Enc \ |
| 347 | libOmxVdec \ |
| 348 | libOmxVenc \ |
| 349 | libstagefrighthw \ |
| 350 | |
| 351 | PRODUCT_COPY_FILES += \ |
| 352 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ |
| 353 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ |
| 354 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ |
| 355 | frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \ |
| 356 | |
| 357 | PRODUCT_COPY_FILES += \ |
| 358 | $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
| 359 | $(LOCAL_PATH)/configs/media/media_codecs_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_audio.xml \ |
| 360 | $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 361 | $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ |
| 362 | $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \ |
| 363 | |
| 364 | # Net |
| 365 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 366 | android.system.net.netd@1.1.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 367 | netutils-wrapper-1.0 \ |
| 368 | |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 369 | # Neural Network |
| 370 | PRODUCT_PACKAGES += \ |
| 371 | android.hardware.neuralnetworks@1.2.vendor \ |
| 372 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 373 | # NFC |
| 374 | PRODUCT_PACKAGES += \ |
| 375 | android.hardware.nfc@1.2-service \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 376 | com.android.nfc_extras \ |
| 377 | NfcNci \ |
| 378 | Tag \ |
| 379 | |
| 380 | PRODUCT_COPY_FILES += \ |
| 381 | $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \ |
| 382 | $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \ |
| 383 | |
| 384 | # Overlays |
| 385 | DEVICE_PACKAGE_OVERLAYS += \ |
| 386 | $(LOCAL_PATH)/overlay \ |
| 387 | $(LOCAL_PATH)/overlay-lineage \ |
| 388 | |
| 389 | # Power |
| 390 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 391 | android.hardware.power@1.2.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 392 | android.hardware.power-service-qti \ |
| 393 | vendor.qti.hardware.perf@2.1.vendor \ |
| 394 | |
| 395 | # Properties |
| 396 | PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true |
| 397 | $(call inherit-product, $(LOCAL_PATH)/properties.mk) |
| 398 | |
| 399 | # Protobuf |
| 400 | PRODUCT_PACKAGES += \ |
| 401 | libprotobuf-cpp-full-vendorcompat \ |
| 402 | libprotobuf-cpp-lite-vendorcompat \ |
| 403 | |
| 404 | # QTI |
| 405 | PRODUCT_PACKAGES += \ |
| 406 | libqti_vndfwk_detect.vendor \ |
| 407 | |
| 408 | PRODUCT_COPY_FILES += \ |
| 409 | $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \ |
| 410 | $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \ |
| 411 | |
| 412 | # Radio |
| 413 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 414 | android.hardware.secure_element@1.2 \ |
| 415 | android.hardware.secure_element@1.2.vendor \ |
| 416 | android.hardware.radio@1.5.vendor \ |
| 417 | android.hardware.radio.config@1.2.vendor \ |
| 418 | android.hardware.radio.deprecated@1.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 419 | libjson \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 420 | libjson.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 421 | librmnetctl \ |
| 422 | |
| 423 | # RenderScript |
| 424 | PRODUCT_PACKAGES += \ |
| 425 | android.hardware.renderscript@1.0-impl \ |
| 426 | |
| 427 | # Seccomp policy |
| 428 | PRODUCT_COPY_FILES += \ |
| 429 | $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \ |
| 430 | $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \ |
| 431 | $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ |
| 432 | |
| 433 | # Secure element |
| 434 | PRODUCT_PACKAGES += \ |
| 435 | SecureElement \ |
| 436 | |
| 437 | # Sensors |
| 438 | PRODUCT_PACKAGES += \ |
Alexander Martinz | 11cb84a | 2022-01-10 13:16:37 +0100 | [diff] [blame] | 439 | android.hardware.sensors@2.0.vendor \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 440 | android.hardware.sensors@2.0-impl \ |
| 441 | android.hardware.sensors@2.0-service \ |
| 442 | libsensorndkbridge \ |
| 443 | |
| 444 | # Soong namespaces |
| 445 | PRODUCT_SOONG_NAMESPACES += \ |
| 446 | $(LOCAL_PATH) \ |
| 447 | |
| 448 | # Telephony |
| 449 | PRODUCT_PACKAGES += \ |
| 450 | ims-ext-common \ |
| 451 | ims_ext_common.xml \ |
| 452 | qti-telephony-hidl-wrapper \ |
| 453 | qti_telephony_hidl_wrapper.xml \ |
| 454 | qti-telephony-utils \ |
| 455 | qti_telephony_utils.xml \ |
| 456 | telephony-ext \ |
| 457 | |
| 458 | PRODUCT_BOOT_JARS += \ |
| 459 | telephony-ext \ |
| 460 | |
| 461 | # Thermal |
| 462 | PRODUCT_PACKAGES += \ |
| 463 | android.hardware.thermal@1.0-impl:64 \ |
| 464 | android.hardware.thermal@1.0-service \ |
| 465 | |
| 466 | # Treble |
| 467 | PRODUCT_USE_VNDK_OVERRIDE := true |
| 468 | |
| 469 | # Trust HAL |
| 470 | PRODUCT_PACKAGES += \ |
| 471 | vendor.lineage.trust@1.0-service \ |
| 472 | |
| 473 | # Update engine |
| 474 | PRODUCT_PACKAGES += \ |
| 475 | update_engine \ |
| 476 | update_engine_sideload \ |
| 477 | update_verifier \ |
| 478 | |
| 479 | PRODUCT_PACKAGES_DEBUG += \ |
| 480 | update_engine_client \ |
| 481 | |
| 482 | # USB |
| 483 | PRODUCT_PACKAGES += \ |
| 484 | android.hardware.usb@1.0-service \ |
| 485 | libusb \ |
| 486 | |
| 487 | # Vibrator |
| 488 | PRODUCT_PACKAGES += \ |
| 489 | android.hardware.vibrator@1.0-impl:64 \ |
| 490 | android.hardware.vibrator@1.0-service \ |
| 491 | |
| 492 | # VNDK |
| 493 | PRODUCT_COPY_FILES += \ |
| 494 | prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libcutils-v29.so \ |
| 495 | prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libcutils-v29.so \ |
| 496 | |
| 497 | PRODUCT_PACKAGES += \ |
| 498 | libcomparetf2 \ |
| 499 | libgui_vendor \ |
| 500 | |
| 501 | # WiFi |
| 502 | PRODUCT_PACKAGES += \ |
| 503 | android.hardware.wifi@1.0-service \ |
| 504 | hostapd \ |
| 505 | libcld80211 \ |
| 506 | libwifi-hal-qcom \ |
| 507 | libwpa_client \ |
| 508 | WifiOverlay \ |
| 509 | wpa_supplicant \ |
| 510 | wpa_supplicant.conf \ |
| 511 | vendor.qti.hardware.wifi.hostapd@1.0.vendor \ |
| 512 | vendor.qti.hardware.wifi.hostapd@1.1.vendor \ |
| 513 | vendor.qti.hardware.wifi.supplicant@2.0.vendor \ |
| 514 | vendor.qti.hardware.wifi.supplicant@2.1.vendor \ |