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 | |
| 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+ |
| 61 | PRODUCT_COPY_FILES += \ |
| 62 | external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:system/etc/permissions/com.dsi.ant.antradio_library.xml \ |
| 63 | |
| 64 | PRODUCT_PACKAGES += \ |
| 65 | AntHalService \ |
| 66 | com.dsi.ant.antradio_library \ |
| 67 | |
| 68 | # Audio |
| 69 | PRODUCT_PACKAGES += \ |
| 70 | android.hardware.audio@5.0-impl \ |
| 71 | android.hardware.audio.effect@5.0-impl \ |
| 72 | android.hardware.audio.service \ |
| 73 | android.hardware.soundtrigger@2.2-impl \ |
| 74 | audio.a2dp.default \ |
| 75 | audio.r_submix.default \ |
| 76 | audio.usb.default \ |
| 77 | libaudioalsa \ |
| 78 | libqcompostprocbundle \ |
| 79 | libqcomvisualizer \ |
| 80 | libqcomvoiceprocessing \ |
| 81 | libtinycompress \ |
| 82 | libvolumelistener \ |
| 83 | tinymix \ |
| 84 | |
| 85 | PRODUCT_COPY_FILES += \ |
| 86 | frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ |
| 87 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 88 | frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ |
| 89 | frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ |
| 90 | frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ |
| 91 | frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \ |
| 92 | |
| 93 | PRODUCT_COPY_FILES += \ |
| 94 | $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
| 95 | $(LOCAL_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ |
| 96 | $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \ |
| 97 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \ |
| 98 | $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ |
| 99 | $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \ |
| 100 | $(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \ |
| 101 | $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \ |
| 102 | $(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \ |
| 103 | $(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \ |
| 104 | $(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \ |
| 105 | $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \ |
| 106 | $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ |
| 107 | |
| 108 | # Bluetooth |
| 109 | PRODUCT_PACKAGES += \ |
| 110 | android.hardware.bluetooth.audio@2.0-impl \ |
| 111 | audio.bluetooth.default \ |
| 112 | libbthost_if \ |
| 113 | com.qualcomm.qti.bluetooth_audio@1.0 \ |
| 114 | com.qualcomm.qti.bluetooth_audio@1.0.vendor \ |
| 115 | vendor.qti.hardware.bluetooth_audio@2.0.vendor \ |
| 116 | vendor.qti.hardware.btconfigstore@1.0.vendor \ |
| 117 | |
| 118 | # Boot control |
| 119 | PRODUCT_PACKAGES += \ |
| 120 | android.hardware.boot@1.0-impl:64 \ |
| 121 | android.hardware.boot@1.0-service \ |
| 122 | bootctrl.sdm845 \ |
| 123 | |
| 124 | PRODUCT_PACKAGES += \ |
| 125 | android.hardware.boot@1.0-impl.recovery \ |
| 126 | bootctrl.sdm845.recovery \ |
| 127 | |
| 128 | PRODUCT_PACKAGES_DEBUG += \ |
| 129 | bootctl \ |
| 130 | |
| 131 | # Camera |
| 132 | PRODUCT_PACKAGES += \ |
| 133 | android.hardware.camera.provider@2.4-impl \ |
| 134 | android.hardware.camera.provider@2.4-service_64 \ |
| 135 | vendor.qti.hardware.camera.device@1.0.vendor \ |
| 136 | |
| 137 | PRODUCT_PACKAGES += \ |
| 138 | Snap \ |
| 139 | |
Alexander Martinz | f151030 | 2021-09-09 09:04:33 +0200 | [diff] [blame] | 140 | PRODUCT_COPY_FILES += \ |
| 141 | $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \ |
| 142 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 143 | # Component overrides |
| 144 | PRODUCT_COPY_FILES += \ |
| 145 | $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \ |
| 146 | |
| 147 | # Device-specific settings |
| 148 | PRODUCT_PACKAGES += \ |
| 149 | AxolotlParts \ |
| 150 | |
| 151 | # Display |
| 152 | PRODUCT_PACKAGES += \ |
| 153 | android.hardware.graphics.composer@2.3-service \ |
| 154 | android.hardware.graphics.mapper@2.0-impl-qti-display \ |
| 155 | android.hardware.memtrack@1.0-impl \ |
| 156 | android.hardware.memtrack@1.0-service \ |
| 157 | gralloc.sdm845 \ |
| 158 | hwcomposer.sdm845 \ |
| 159 | libdisplayconfig.qti \ |
| 160 | libqdMetaData \ |
| 161 | libtinyxml \ |
| 162 | memtrack.sdm845 \ |
| 163 | vendor.display.config@1.0.vendor \ |
| 164 | vendor.display.config@2.0 \ |
| 165 | vendor.qti.hardware.display.allocator@1.0-service \ |
| 166 | |
| 167 | # Display - Phase Offsets |
| 168 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 169 | ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \ |
| 170 | ro.surface_flinger.max_frame_buffer_acquired_buffers=2 \ |
| 171 | ro.surface_flinger.max_virtual_display_dimension=4096 \ |
| 172 | ro.surface_flinger.vsync_event_phase_offset_ns=2000000 \ |
| 173 | ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000 \ |
| 174 | |
| 175 | # DRM |
| 176 | PRODUCT_PACKAGES += \ |
| 177 | android.hardware.drm@1.0-impl:64 \ |
| 178 | android.hardware.drm@1.0-service \ |
Edwin Wong | 638769e | 2021-03-25 00:19:58 -0700 | [diff] [blame] | 179 | android.hardware.drm@1.4-service.clearkey \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 180 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 181 | # Fastbootd |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 182 | PRODUCT_PACKAGES += \ |
| 183 | android.hardware.fastboot@1.0-impl-mock \ |
| 184 | fastbootd \ |
| 185 | |
| 186 | # Filesystem |
| 187 | PRODUCT_PACKAGES += \ |
| 188 | check_f2fs \ |
| 189 | f2fs_io \ |
| 190 | sg_write_buffer \ |
| 191 | |
| 192 | # FM packages |
| 193 | PRODUCT_PACKAGES += \ |
| 194 | FM2 \ |
| 195 | libqcomfm_jni \ |
| 196 | qcom.fmradio \ |
| 197 | |
| 198 | # Framework permissions |
| 199 | PRODUCT_COPY_FILES += \ |
| 200 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 201 | frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \ |
| 202 | frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ |
| 203 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ |
| 204 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 205 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 206 | frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ |
| 207 | frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \ |
| 208 | frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \ |
| 209 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ |
| 210 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ |
| 211 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ |
| 212 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ |
| 213 | frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ |
| 214 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 215 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 216 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ |
| 217 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 218 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 219 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 220 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 221 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \ |
| 222 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 223 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 224 | frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \ |
| 225 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 226 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ |
| 227 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ |
| 228 | frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \ |
| 229 | frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \ |
| 230 | frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \ |
| 231 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ |
| 232 | frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ |
| 233 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 234 | |
| 235 | PRODUCT_COPY_FILES += \ |
| 236 | frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \ |
| 237 | frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \ |
| 238 | frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \ |
| 239 | frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \ |
| 240 | frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ |
| 241 | 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] | 242 | |
Alastair Donaldson | b0bd9b8 | 2020-12-18 13:53:59 +0000 | [diff] [blame^] | 243 | PRODUCT_COPY_FILES += \ |
| 244 | frameworks/native/data/etc/android.software.opengles.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \ |
| 245 | frameworks/native/data/etc/android.software.vulkan.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \ |
| 246 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 247 | # Fstab |
| 248 | PRODUCT_PACKAGES += \ |
| 249 | fstab.persist \ |
| 250 | fstab.qcom \ |
| 251 | |
| 252 | PRODUCT_COPY_FILES += \ |
| 253 | $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \ |
| 254 | $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \ |
| 255 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 256 | # GPS |
| 257 | PRODUCT_PACKAGES += \ |
| 258 | android.hardware.gnss@2.1-service-qti \ |
| 259 | |
| 260 | PRODUCT_COPY_FILES += \ |
| 261 | $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \ |
| 262 | $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \ |
| 263 | $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \ |
| 264 | $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \ |
| 265 | $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \ |
| 266 | $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \ |
| 267 | |
| 268 | # Health |
| 269 | PRODUCT_PACKAGES += \ |
| 270 | android.hardware.health@2.1-impl:64 \ |
| 271 | android.hardware.health@2.1-service \ |
| 272 | |
| 273 | # HIDL |
| 274 | PRODUCT_PACKAGES += \ |
| 275 | android.hidl.base@1.0_system \ |
| 276 | libhidltransport \ |
| 277 | libhidltransport.vendor \ |
| 278 | libhwbinder \ |
| 279 | libhwbinder.vendor \ |
| 280 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 281 | # Init |
| 282 | PRODUCT_PACKAGES += \ |
Alexander Martinz | f71a131 | 2021-08-05 13:16:42 +0200 | [diff] [blame] | 283 | init.qcom.rc \ |
Alexander Martinz | 6cb4c87 | 2021-09-21 18:59:46 +0200 | [diff] [blame] | 284 | init.qcom.early_boot.sh \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 285 | init.recovery.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 286 | init.target.performance.rc \ |
| 287 | init.target.rc \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 288 | ueventd.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 289 | |
Alexander Martinz | c61256d | 2021-11-02 18:58:27 +0100 | [diff] [blame] | 290 | PRODUCT_PACKAGES += \ |
| 291 | init.insmod.cfg \ |
| 292 | init.insmod.sh \ |
| 293 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 294 | # Input - TODO: copy keylayout files |
| 295 | |
| 296 | # IPA |
| 297 | PRODUCT_PACKAGES += \ |
| 298 | ipacm \ |
| 299 | IPACM_cfg.xml \ |
| 300 | |
| 301 | # Light HAL |
| 302 | PRODUCT_PACKAGES += \ |
| 303 | hardware.shift.light@1.0 \ |
| 304 | hardware.shift.light@1.0-impl \ |
| 305 | hardware.shift.light@1.0-service \ |
| 306 | |
| 307 | # LiveDisplay |
| 308 | #PRODUCT_PACKAGES += \ |
| 309 | # vendor.lineage.livedisplay@2.0-service-sdm \ |
| 310 | |
| 311 | # Media |
| 312 | PRODUCT_PACKAGES += \ |
| 313 | libavservices_minijail \ |
| 314 | libavservices_minijail.vendor \ |
| 315 | libc2dcolorconvert \ |
| 316 | libOmxAacEnc \ |
| 317 | libOmxAmrEnc \ |
| 318 | libOmxCore \ |
| 319 | libOmxEvrcEnc \ |
| 320 | libOmxG711Enc \ |
| 321 | libOmxQcelp13Enc \ |
| 322 | libOmxVdec \ |
| 323 | libOmxVenc \ |
| 324 | libstagefrighthw \ |
| 325 | |
| 326 | PRODUCT_COPY_FILES += \ |
| 327 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ |
| 328 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ |
| 329 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ |
| 330 | frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \ |
| 331 | |
| 332 | PRODUCT_COPY_FILES += \ |
| 333 | $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
| 334 | $(LOCAL_PATH)/configs/media/media_codecs_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_audio.xml \ |
| 335 | $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 336 | $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ |
| 337 | $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \ |
| 338 | |
| 339 | # Net |
| 340 | PRODUCT_PACKAGES += \ |
| 341 | netutils-wrapper-1.0 \ |
| 342 | |
| 343 | # NFC |
| 344 | PRODUCT_PACKAGES += \ |
| 345 | android.hardware.nfc@1.2-service \ |
| 346 | android.hardware.secure_element@1.2 \ |
| 347 | com.android.nfc_extras \ |
| 348 | NfcNci \ |
| 349 | Tag \ |
| 350 | |
| 351 | PRODUCT_COPY_FILES += \ |
| 352 | $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \ |
| 353 | $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \ |
| 354 | |
| 355 | # Overlays |
| 356 | DEVICE_PACKAGE_OVERLAYS += \ |
| 357 | $(LOCAL_PATH)/overlay \ |
| 358 | $(LOCAL_PATH)/overlay-lineage \ |
| 359 | |
| 360 | # Power |
| 361 | PRODUCT_PACKAGES += \ |
| 362 | android.hardware.power-service-qti \ |
| 363 | vendor.qti.hardware.perf@2.1.vendor \ |
| 364 | |
| 365 | # Properties |
| 366 | PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true |
| 367 | $(call inherit-product, $(LOCAL_PATH)/properties.mk) |
| 368 | |
| 369 | # Protobuf |
| 370 | PRODUCT_PACKAGES += \ |
| 371 | libprotobuf-cpp-full-vendorcompat \ |
| 372 | libprotobuf-cpp-lite-vendorcompat \ |
| 373 | |
| 374 | # QTI |
| 375 | PRODUCT_PACKAGES += \ |
| 376 | libqti_vndfwk_detect.vendor \ |
| 377 | |
| 378 | PRODUCT_COPY_FILES += \ |
| 379 | $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \ |
| 380 | $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \ |
| 381 | |
| 382 | # Radio |
| 383 | PRODUCT_PACKAGES += \ |
| 384 | libjson \ |
| 385 | librmnetctl \ |
| 386 | |
| 387 | # RenderScript |
| 388 | PRODUCT_PACKAGES += \ |
| 389 | android.hardware.renderscript@1.0-impl \ |
| 390 | |
| 391 | # Seccomp policy |
| 392 | PRODUCT_COPY_FILES += \ |
| 393 | $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \ |
| 394 | $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \ |
| 395 | $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ |
| 396 | |
| 397 | # Secure element |
| 398 | PRODUCT_PACKAGES += \ |
| 399 | SecureElement \ |
| 400 | |
| 401 | # Sensors |
| 402 | PRODUCT_PACKAGES += \ |
| 403 | android.hardware.sensors@2.0-impl \ |
| 404 | android.hardware.sensors@2.0-service \ |
| 405 | libsensorndkbridge \ |
| 406 | |
| 407 | # Soong namespaces |
| 408 | PRODUCT_SOONG_NAMESPACES += \ |
| 409 | $(LOCAL_PATH) \ |
| 410 | |
| 411 | # Telephony |
| 412 | PRODUCT_PACKAGES += \ |
| 413 | ims-ext-common \ |
| 414 | ims_ext_common.xml \ |
| 415 | qti-telephony-hidl-wrapper \ |
| 416 | qti_telephony_hidl_wrapper.xml \ |
| 417 | qti-telephony-utils \ |
| 418 | qti_telephony_utils.xml \ |
| 419 | telephony-ext \ |
| 420 | |
| 421 | PRODUCT_BOOT_JARS += \ |
| 422 | telephony-ext \ |
| 423 | |
| 424 | # Thermal |
| 425 | PRODUCT_PACKAGES += \ |
| 426 | android.hardware.thermal@1.0-impl:64 \ |
| 427 | android.hardware.thermal@1.0-service \ |
| 428 | |
| 429 | # Treble |
| 430 | PRODUCT_USE_VNDK_OVERRIDE := true |
| 431 | |
| 432 | # Trust HAL |
| 433 | PRODUCT_PACKAGES += \ |
| 434 | vendor.lineage.trust@1.0-service \ |
| 435 | |
| 436 | # Update engine |
| 437 | PRODUCT_PACKAGES += \ |
| 438 | update_engine \ |
| 439 | update_engine_sideload \ |
| 440 | update_verifier \ |
| 441 | |
| 442 | PRODUCT_PACKAGES_DEBUG += \ |
| 443 | update_engine_client \ |
| 444 | |
| 445 | # USB |
| 446 | PRODUCT_PACKAGES += \ |
| 447 | android.hardware.usb@1.0-service \ |
| 448 | libusb \ |
| 449 | |
| 450 | # Vibrator |
| 451 | PRODUCT_PACKAGES += \ |
| 452 | android.hardware.vibrator@1.0-impl:64 \ |
| 453 | android.hardware.vibrator@1.0-service \ |
| 454 | |
| 455 | # VNDK |
| 456 | PRODUCT_COPY_FILES += \ |
| 457 | prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libcutils-v29.so \ |
| 458 | prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libcutils-v29.so \ |
| 459 | |
| 460 | PRODUCT_PACKAGES += \ |
| 461 | libcomparetf2 \ |
| 462 | libgui_vendor \ |
| 463 | |
| 464 | # WiFi |
| 465 | PRODUCT_PACKAGES += \ |
| 466 | android.hardware.wifi@1.0-service \ |
| 467 | hostapd \ |
| 468 | libcld80211 \ |
| 469 | libwifi-hal-qcom \ |
| 470 | libwpa_client \ |
| 471 | WifiOverlay \ |
| 472 | wpa_supplicant \ |
| 473 | wpa_supplicant.conf \ |
| 474 | vendor.qti.hardware.wifi.hostapd@1.0.vendor \ |
| 475 | vendor.qti.hardware.wifi.hostapd@1.1.vendor \ |
| 476 | vendor.qti.hardware.wifi.supplicant@2.0.vendor \ |
| 477 | vendor.qti.hardware.wifi.supplicant@2.1.vendor \ |
| 478 | |
| 479 | # WiFi Display |
| 480 | PRODUCT_PACKAGES += \ |
| 481 | libnl \ |
| 482 | libwfdaac_vendor \ |
| 483 | |
| 484 | PRODUCT_BOOT_JARS += \ |
| 485 | WfdCommon \ |