blob: 853ab0b6eb39ed3963ef0619b16215a3b6a0e184 [file] [log] [blame]
Alexander Martinz54fdc2d2021-04-22 14:19:05 +02001#
Alexander Martinz87f2d952021-08-26 17:27:03 +02002# Copyright (C) 2021 SHIFT GmbH
3# Copyright (C) 2021 The LineageOS Project
Alexander Martinz54fdc2d2021-04-22 14:19:05 +02004#
Alexander Martinz87f2d952021-08-26 17:27:03 +02005# SPDX-License-Identifier: Apache-2.0
Alexander Martinz54fdc2d2021-04-22 14:19:05 +02006#
7
Alexander Martinz87f2d952021-08-26 17:27:03 +02008# 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 Martinz54fdc2d2021-04-22 14:19:05 +020011
Alexander Martinz87f2d952021-08-26 17:27:03 +020012# Enable updating of APEXes
13$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020014
Alexander Martinz87f2d952021-08-26 17:27:03 +020015# Inherit vendor blobs
16$(call inherit-product-if-exists, vendor/shift/axolotl/axolotl-vendor.mk)
Alexander Martinz54fdc2d2021-04-22 14:19:05 +020017
18# AAPT
19PRODUCT_AAPT_CONFIG := normal
20PRODUCT_AAPT_PREF_CONFIG := 420dpi
21PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi
22
23# Boot animation
24TARGET_SCREEN_HEIGHT := 2160
25TARGET_SCREEN_WIDTH := 1080
26
27# Display
28PRODUCT_PROPERTY_OVERRIDES += \
29 ro.sf.lcd_density=420 \
30 vendor.display.lcd_density=420 \
31
Alexander Martinz87f2d952021-08-26 17:27:03 +020032# Dynamic Partitions
33PRODUCT_USE_DYNAMIC_PARTITIONS := true
34PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
35
36#####
37
38# A/B - post
39PRODUCT_PACKAGES += \
40 checkpoint_gc \
41 otapreopt_script \
42
43# A/B - post - system
44AB_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
50AB_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
57PRODUCT_PACKAGES += \
58 fs_config_files \
59
60# ANT+
61PRODUCT_COPY_FILES += \
62 external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:system/etc/permissions/com.dsi.ant.antradio_library.xml \
63
64PRODUCT_PACKAGES += \
65 AntHalService \
66 com.dsi.ant.antradio_library \
67
68# Audio
69PRODUCT_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
85PRODUCT_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
93PRODUCT_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
109PRODUCT_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
119PRODUCT_PACKAGES += \
120 android.hardware.boot@1.0-impl:64 \
121 android.hardware.boot@1.0-service \
122 bootctrl.sdm845 \
123
124PRODUCT_PACKAGES += \
125 android.hardware.boot@1.0-impl.recovery \
126 bootctrl.sdm845.recovery \
127
128PRODUCT_PACKAGES_DEBUG += \
129 bootctl \
130
131# Camera
132PRODUCT_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
137PRODUCT_PACKAGES += \
138 Snap \
139
Alexander Martinzf1510302021-09-09 09:04:33 +0200140PRODUCT_COPY_FILES += \
141 $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \
142
Alexander Martinz87f2d952021-08-26 17:27:03 +0200143# Component overrides
144PRODUCT_COPY_FILES += \
145 $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \
146
147# Device-specific settings
148PRODUCT_PACKAGES += \
149 AxolotlParts \
150
151# Display
152PRODUCT_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
168PRODUCT_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
176PRODUCT_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 Martinz54fdc2d2021-04-22 14:19:05 +0200181# Fastbootd
Alexander Martinz87f2d952021-08-26 17:27:03 +0200182PRODUCT_PACKAGES += \
183 android.hardware.fastboot@1.0-impl-mock \
184 fastbootd \
185
186# Filesystem
187PRODUCT_PACKAGES += \
188 check_f2fs \
189 f2fs_io \
190 sg_write_buffer \
191
192# FM packages
193PRODUCT_PACKAGES += \
194 FM2 \
195 libqcomfm_jni \
196 qcom.fmradio \
197
198# Framework permissions
199PRODUCT_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
235PRODUCT_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 Martinz54fdc2d2021-04-22 14:19:05 +0200242
243# Fstab
244PRODUCT_PACKAGES += \
245 fstab.persist \
246 fstab.qcom \
247
248PRODUCT_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 Martinz87f2d952021-08-26 17:27:03 +0200252# GPS
253PRODUCT_PACKAGES += \
254 android.hardware.gnss@2.1-service-qti \
255
256PRODUCT_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
265PRODUCT_PACKAGES += \
266 android.hardware.health@2.1-impl:64 \
267 android.hardware.health@2.1-service \
268
269# HIDL
270PRODUCT_PACKAGES += \
271 android.hidl.base@1.0_system \
272 libhidltransport \
273 libhidltransport.vendor \
274 libhwbinder \
275 libhwbinder.vendor \
276
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200277# Init
278PRODUCT_PACKAGES += \
Alexander Martinzf71a1312021-08-05 13:16:42 +0200279 init.qcom.rc \
Alexander Martinz6cb4c872021-09-21 18:59:46 +0200280 init.qcom.early_boot.sh \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200281 init.recovery.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200282 init.target.performance.rc \
283 init.target.rc \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200284 ueventd.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200285
286# Input - TODO: copy keylayout files
287
288# IPA
289PRODUCT_PACKAGES += \
290 ipacm \
291 IPACM_cfg.xml \
292
293# Light HAL
294PRODUCT_PACKAGES += \
295 hardware.shift.light@1.0 \
296 hardware.shift.light@1.0-impl \
297 hardware.shift.light@1.0-service \
298
299# LiveDisplay
300#PRODUCT_PACKAGES += \
301# vendor.lineage.livedisplay@2.0-service-sdm \
302
303# Media
304PRODUCT_PACKAGES += \
305 libavservices_minijail \
306 libavservices_minijail.vendor \
307 libc2dcolorconvert \
308 libOmxAacEnc \
309 libOmxAmrEnc \
310 libOmxCore \
311 libOmxEvrcEnc \
312 libOmxG711Enc \
313 libOmxQcelp13Enc \
314 libOmxVdec \
315 libOmxVenc \
316 libstagefrighthw \
317
318PRODUCT_COPY_FILES += \
319 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
320 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
321 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
322 frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \
323
324PRODUCT_COPY_FILES += \
325 $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
326 $(LOCAL_PATH)/configs/media/media_codecs_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_audio.xml \
327 $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
328 $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
329 $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \
330
331# Net
332PRODUCT_PACKAGES += \
333 netutils-wrapper-1.0 \
334
335# NFC
336PRODUCT_PACKAGES += \
337 android.hardware.nfc@1.2-service \
338 android.hardware.secure_element@1.2 \
339 com.android.nfc_extras \
340 NfcNci \
341 Tag \
342
343PRODUCT_COPY_FILES += \
344 $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \
345 $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
346
347# Overlays
348DEVICE_PACKAGE_OVERLAYS += \
349 $(LOCAL_PATH)/overlay \
350 $(LOCAL_PATH)/overlay-lineage \
351
352# Power
353PRODUCT_PACKAGES += \
354 android.hardware.power-service-qti \
355 vendor.qti.hardware.perf@2.1.vendor \
356
357# Properties
358PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
359$(call inherit-product, $(LOCAL_PATH)/properties.mk)
360
361# Protobuf
362PRODUCT_PACKAGES += \
363 libprotobuf-cpp-full-vendorcompat \
364 libprotobuf-cpp-lite-vendorcompat \
365
366# QTI
367PRODUCT_PACKAGES += \
368 libqti_vndfwk_detect.vendor \
369
370PRODUCT_COPY_FILES += \
371 $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
372 $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \
373
374# Radio
375PRODUCT_PACKAGES += \
376 libjson \
377 librmnetctl \
378
379# RenderScript
380PRODUCT_PACKAGES += \
381 android.hardware.renderscript@1.0-impl \
382
383# Seccomp policy
384PRODUCT_COPY_FILES += \
385 $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \
386 $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \
387 $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
388
389# Secure element
390PRODUCT_PACKAGES += \
391 SecureElement \
392
393# Sensors
394PRODUCT_PACKAGES += \
395 android.hardware.sensors@2.0-impl \
396 android.hardware.sensors@2.0-service \
397 libsensorndkbridge \
398
399# Soong namespaces
400PRODUCT_SOONG_NAMESPACES += \
401 $(LOCAL_PATH) \
402
403# Telephony
404PRODUCT_PACKAGES += \
405 ims-ext-common \
406 ims_ext_common.xml \
407 qti-telephony-hidl-wrapper \
408 qti_telephony_hidl_wrapper.xml \
409 qti-telephony-utils \
410 qti_telephony_utils.xml \
411 telephony-ext \
412
413PRODUCT_BOOT_JARS += \
414 telephony-ext \
415
416# Thermal
417PRODUCT_PACKAGES += \
418 android.hardware.thermal@1.0-impl:64 \
419 android.hardware.thermal@1.0-service \
420
421# Treble
422PRODUCT_USE_VNDK_OVERRIDE := true
423
424# Trust HAL
425PRODUCT_PACKAGES += \
426 vendor.lineage.trust@1.0-service \
427
428# Update engine
429PRODUCT_PACKAGES += \
430 update_engine \
431 update_engine_sideload \
432 update_verifier \
433
434PRODUCT_PACKAGES_DEBUG += \
435 update_engine_client \
436
437# USB
438PRODUCT_PACKAGES += \
439 android.hardware.usb@1.0-service \
440 libusb \
441
442# Vibrator
443PRODUCT_PACKAGES += \
444 android.hardware.vibrator@1.0-impl:64 \
445 android.hardware.vibrator@1.0-service \
446
447# VNDK
448PRODUCT_COPY_FILES += \
449 prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libcutils-v29.so \
450 prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libcutils-v29.so \
451
452PRODUCT_PACKAGES += \
453 libcomparetf2 \
454 libgui_vendor \
455
456# WiFi
457PRODUCT_PACKAGES += \
458 android.hardware.wifi@1.0-service \
459 hostapd \
460 libcld80211 \
461 libwifi-hal-qcom \
462 libwpa_client \
463 WifiOverlay \
464 wpa_supplicant \
465 wpa_supplicant.conf \
466 vendor.qti.hardware.wifi.hostapd@1.0.vendor \
467 vendor.qti.hardware.wifi.hostapd@1.1.vendor \
468 vendor.qti.hardware.wifi.supplicant@2.0.vendor \
469 vendor.qti.hardware.wifi.supplicant@2.1.vendor \
470
471# WiFi Display
472PRODUCT_PACKAGES += \
473 libnl \
474 libwfdaac_vendor \
475
476PRODUCT_BOOT_JARS += \
477 WfdCommon \