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 \ |
| 179 | android.hardware.drm@1.3-service.clearkey \ |
| 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 | |
| 243 | # Fstab |
| 244 | PRODUCT_PACKAGES += \ |
| 245 | fstab.persist \ |
| 246 | fstab.qcom \ |
| 247 | |
| 248 | PRODUCT_COPY_FILES += \ |
| 249 | $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \ |
| 250 | $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \ |
| 251 | |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 252 | # GPS |
| 253 | PRODUCT_PACKAGES += \ |
| 254 | android.hardware.gnss@2.1-service-qti \ |
| 255 | |
| 256 | PRODUCT_COPY_FILES += \ |
| 257 | $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \ |
| 258 | $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \ |
| 259 | $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \ |
| 260 | $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \ |
| 261 | $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \ |
| 262 | $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \ |
| 263 | |
| 264 | # Health |
| 265 | PRODUCT_PACKAGES += \ |
| 266 | android.hardware.health@2.1-impl:64 \ |
| 267 | android.hardware.health@2.1-service \ |
| 268 | |
| 269 | # HIDL |
| 270 | PRODUCT_PACKAGES += \ |
| 271 | android.hidl.base@1.0_system \ |
| 272 | libhidltransport \ |
| 273 | libhidltransport.vendor \ |
| 274 | libhwbinder \ |
| 275 | libhwbinder.vendor \ |
| 276 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 277 | # Init |
| 278 | PRODUCT_PACKAGES += \ |
Alexander Martinz | f71a131 | 2021-08-05 13:16:42 +0200 | [diff] [blame] | 279 | init.qcom.rc \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 280 | init.recovery.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 281 | init.target.performance.rc \ |
| 282 | init.target.rc \ |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 283 | ueventd.qcom.rc \ |
Alexander Martinz | 87f2d95 | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 284 | |
| 285 | # Input - TODO: copy keylayout files |
| 286 | |
| 287 | # IPA |
| 288 | PRODUCT_PACKAGES += \ |
| 289 | ipacm \ |
| 290 | IPACM_cfg.xml \ |
| 291 | |
| 292 | # Light HAL |
| 293 | PRODUCT_PACKAGES += \ |
| 294 | hardware.shift.light@1.0 \ |
| 295 | hardware.shift.light@1.0-impl \ |
| 296 | hardware.shift.light@1.0-service \ |
| 297 | |
| 298 | # LiveDisplay |
| 299 | #PRODUCT_PACKAGES += \ |
| 300 | # vendor.lineage.livedisplay@2.0-service-sdm \ |
| 301 | |
| 302 | # Media |
| 303 | PRODUCT_PACKAGES += \ |
| 304 | libavservices_minijail \ |
| 305 | libavservices_minijail.vendor \ |
| 306 | libc2dcolorconvert \ |
| 307 | libOmxAacEnc \ |
| 308 | libOmxAmrEnc \ |
| 309 | libOmxCore \ |
| 310 | libOmxEvrcEnc \ |
| 311 | libOmxG711Enc \ |
| 312 | libOmxQcelp13Enc \ |
| 313 | libOmxVdec \ |
| 314 | libOmxVenc \ |
| 315 | libstagefrighthw \ |
| 316 | |
| 317 | PRODUCT_COPY_FILES += \ |
| 318 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ |
| 319 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ |
| 320 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ |
| 321 | frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \ |
| 322 | |
| 323 | PRODUCT_COPY_FILES += \ |
| 324 | $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
| 325 | $(LOCAL_PATH)/configs/media/media_codecs_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_audio.xml \ |
| 326 | $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 327 | $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ |
| 328 | $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \ |
| 329 | |
| 330 | # Net |
| 331 | PRODUCT_PACKAGES += \ |
| 332 | netutils-wrapper-1.0 \ |
| 333 | |
| 334 | # NFC |
| 335 | PRODUCT_PACKAGES += \ |
| 336 | android.hardware.nfc@1.2-service \ |
| 337 | android.hardware.secure_element@1.2 \ |
| 338 | com.android.nfc_extras \ |
| 339 | NfcNci \ |
| 340 | Tag \ |
| 341 | |
| 342 | PRODUCT_COPY_FILES += \ |
| 343 | $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \ |
| 344 | $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \ |
| 345 | |
| 346 | # Overlays |
| 347 | DEVICE_PACKAGE_OVERLAYS += \ |
| 348 | $(LOCAL_PATH)/overlay \ |
| 349 | $(LOCAL_PATH)/overlay-lineage \ |
| 350 | |
| 351 | # Power |
| 352 | PRODUCT_PACKAGES += \ |
| 353 | android.hardware.power-service-qti \ |
| 354 | vendor.qti.hardware.perf@2.1.vendor \ |
| 355 | |
| 356 | # Properties |
| 357 | PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true |
| 358 | $(call inherit-product, $(LOCAL_PATH)/properties.mk) |
| 359 | |
| 360 | # Protobuf |
| 361 | PRODUCT_PACKAGES += \ |
| 362 | libprotobuf-cpp-full-vendorcompat \ |
| 363 | libprotobuf-cpp-lite-vendorcompat \ |
| 364 | |
| 365 | # QTI |
| 366 | PRODUCT_PACKAGES += \ |
| 367 | libqti_vndfwk_detect.vendor \ |
| 368 | |
| 369 | PRODUCT_COPY_FILES += \ |
| 370 | $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \ |
| 371 | $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \ |
| 372 | |
| 373 | # Radio |
| 374 | PRODUCT_PACKAGES += \ |
| 375 | libjson \ |
| 376 | librmnetctl \ |
| 377 | |
| 378 | # RenderScript |
| 379 | PRODUCT_PACKAGES += \ |
| 380 | android.hardware.renderscript@1.0-impl \ |
| 381 | |
| 382 | # Seccomp policy |
| 383 | PRODUCT_COPY_FILES += \ |
| 384 | $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \ |
| 385 | $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \ |
| 386 | $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ |
| 387 | |
| 388 | # Secure element |
| 389 | PRODUCT_PACKAGES += \ |
| 390 | SecureElement \ |
| 391 | |
| 392 | # Sensors |
| 393 | PRODUCT_PACKAGES += \ |
| 394 | android.hardware.sensors@2.0-impl \ |
| 395 | android.hardware.sensors@2.0-service \ |
| 396 | libsensorndkbridge \ |
| 397 | |
| 398 | # Soong namespaces |
| 399 | PRODUCT_SOONG_NAMESPACES += \ |
| 400 | $(LOCAL_PATH) \ |
| 401 | |
| 402 | # Telephony |
| 403 | PRODUCT_PACKAGES += \ |
| 404 | ims-ext-common \ |
| 405 | ims_ext_common.xml \ |
| 406 | qti-telephony-hidl-wrapper \ |
| 407 | qti_telephony_hidl_wrapper.xml \ |
| 408 | qti-telephony-utils \ |
| 409 | qti_telephony_utils.xml \ |
| 410 | telephony-ext \ |
| 411 | |
| 412 | PRODUCT_BOOT_JARS += \ |
| 413 | telephony-ext \ |
| 414 | |
| 415 | # Thermal |
| 416 | PRODUCT_PACKAGES += \ |
| 417 | android.hardware.thermal@1.0-impl:64 \ |
| 418 | android.hardware.thermal@1.0-service \ |
| 419 | |
| 420 | # Treble |
| 421 | PRODUCT_USE_VNDK_OVERRIDE := true |
| 422 | |
| 423 | # Trust HAL |
| 424 | PRODUCT_PACKAGES += \ |
| 425 | vendor.lineage.trust@1.0-service \ |
| 426 | |
| 427 | # Update engine |
| 428 | PRODUCT_PACKAGES += \ |
| 429 | update_engine \ |
| 430 | update_engine_sideload \ |
| 431 | update_verifier \ |
| 432 | |
| 433 | PRODUCT_PACKAGES_DEBUG += \ |
| 434 | update_engine_client \ |
| 435 | |
| 436 | # USB |
| 437 | PRODUCT_PACKAGES += \ |
| 438 | android.hardware.usb@1.0-service \ |
| 439 | libusb \ |
| 440 | |
| 441 | # Vibrator |
| 442 | PRODUCT_PACKAGES += \ |
| 443 | android.hardware.vibrator@1.0-impl:64 \ |
| 444 | android.hardware.vibrator@1.0-service \ |
| 445 | |
| 446 | # VNDK |
| 447 | PRODUCT_COPY_FILES += \ |
| 448 | prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libcutils-v29.so \ |
| 449 | prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libcutils-v29.so \ |
| 450 | |
| 451 | PRODUCT_PACKAGES += \ |
| 452 | libcomparetf2 \ |
| 453 | libgui_vendor \ |
| 454 | |
| 455 | # WiFi |
| 456 | PRODUCT_PACKAGES += \ |
| 457 | android.hardware.wifi@1.0-service \ |
| 458 | hostapd \ |
| 459 | libcld80211 \ |
| 460 | libwifi-hal-qcom \ |
| 461 | libwpa_client \ |
| 462 | WifiOverlay \ |
| 463 | wpa_supplicant \ |
| 464 | wpa_supplicant.conf \ |
| 465 | vendor.qti.hardware.wifi.hostapd@1.0.vendor \ |
| 466 | vendor.qti.hardware.wifi.hostapd@1.1.vendor \ |
| 467 | vendor.qti.hardware.wifi.supplicant@2.0.vendor \ |
| 468 | vendor.qti.hardware.wifi.supplicant@2.1.vendor \ |
| 469 | |
| 470 | # WiFi Display |
| 471 | PRODUCT_PACKAGES += \ |
| 472 | libnl \ |
| 473 | libwfdaac_vendor \ |
| 474 | |
| 475 | PRODUCT_BOOT_JARS += \ |
| 476 | WfdCommon \ |