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