blob: aea80cb98633bcf6e6c068feeb9fba12231ef523 [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 \
Michael Bestas43782442022-10-24 02:17:20 +030073 audio.primary.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +020074 audio.r_submix.default \
75 audio.usb.default \
Michael Bestas43782442022-10-24 02:17:20 +030076 liba2dpoffload \
77 libbatterylistener \
78 libcomprcapture \
79 libexthwplugin \
80 libhdmiedid \
81 libhfp \
Alexander Martinz87f2d952021-08-26 17:27:03 +020082 libqcompostprocbundle \
83 libqcomvisualizer \
84 libqcomvoiceprocessing \
Michael Bestas43782442022-10-24 02:17:20 +030085 libsndmonitor \
86 libspkrprot \
Alexander Martinz87f2d952021-08-26 17:27:03 +020087 libtinycompress \
88 libvolumelistener \
89 tinymix \
90
91PRODUCT_COPY_FILES += \
92 frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
93 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
94 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
95 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
96 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
97 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
98
99PRODUCT_COPY_FILES += \
Alexander Martinz4caa10e2022-01-19 08:56:50 +0100100 $(LOCAL_PATH)/audio/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200101 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
102 $(LOCAL_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \
Alexander Martinz4caa10e2022-01-19 08:56:50 +0100103 $(LOCAL_PATH)/audio/audio_platform_info_i2s.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_i2s.xml \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200104 $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
Alexander Martinz4caa10e2022-01-19 08:56:50 +0100105 $(LOCAL_PATH)/audio/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \
Alexander Martinz2029b112022-01-13 16:20:51 +0100106 $(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 +0200107 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
108 $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
109 $(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \
110 $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
111 $(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \
112 $(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \
113 $(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \
114 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \
115 $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
116
117# Bluetooth
118PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100119 android.hardware.bluetooth@1.0.vendor \
120 android.hardware.bluetooth.a2dp@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200121 android.hardware.bluetooth.audio@2.0-impl \
122 audio.bluetooth.default \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200123 vendor.qti.hardware.bluetooth_audio@2.0.vendor \
124 vendor.qti.hardware.btconfigstore@1.0.vendor \
125
126# Boot control
127PRODUCT_PACKAGES += \
Alexander Martinzc15b8882022-01-07 11:36:10 +0100128 android.hardware.boot@1.1-impl-qti \
129 android.hardware.boot@1.1-impl-qti.recovery \
130 android.hardware.boot@1.1-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200131 bootctrl.sdm845 \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200132 bootctrl.sdm845.recovery \
133
134PRODUCT_PACKAGES_DEBUG += \
135 bootctl \
136
137# Camera
138PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100139 android.frameworks.cameraservice.common@2.0.vendor \
140 android.frameworks.cameraservice.device@2.0.vendor \
141 android.frameworks.cameraservice.service@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200142 android.hardware.camera.provider@2.4-impl \
143 android.hardware.camera.provider@2.4-service_64 \
144 vendor.qti.hardware.camera.device@1.0.vendor \
145
Alexander Martinzf1510302021-09-09 09:04:33 +0200146PRODUCT_COPY_FILES += \
147 $(LOCAL_PATH)/configs/camera/camxoverridesettings.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camxoverridesettings.txt \
148
Alexander Martinz87f2d952021-08-26 17:27:03 +0200149# Component overrides
150PRODUCT_COPY_FILES += \
151 $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \
152
153# Device-specific settings
154PRODUCT_PACKAGES += \
155 AxolotlParts \
156
157# Display
158PRODUCT_PACKAGES += \
159 android.hardware.graphics.composer@2.3-service \
160 android.hardware.graphics.mapper@2.0-impl-qti-display \
161 android.hardware.memtrack@1.0-impl \
162 android.hardware.memtrack@1.0-service \
163 gralloc.sdm845 \
164 hwcomposer.sdm845 \
165 libdisplayconfig.qti \
166 libqdMetaData \
167 libtinyxml \
168 memtrack.sdm845 \
169 vendor.display.config@1.0.vendor \
170 vendor.display.config@2.0 \
171 vendor.qti.hardware.display.allocator@1.0-service \
172
Alexander Martinz87f2d952021-08-26 17:27:03 +0200173# DRM
174PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100175 android.hardware.drm@1.3.vendor \
Alexander Martinz19e629e2022-10-17 19:28:29 +0200176 android.hardware.drm@1.4.vendor \
Edwin Wong638769e2021-03-25 00:19:58 -0700177 android.hardware.drm@1.4-service.clearkey \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200178
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200179# Fastbootd
Alexander Martinz87f2d952021-08-26 17:27:03 +0200180PRODUCT_PACKAGES += \
181 android.hardware.fastboot@1.0-impl-mock \
182 fastbootd \
183
184# Filesystem
185PRODUCT_PACKAGES += \
186 check_f2fs \
187 f2fs_io \
188 sg_write_buffer \
189
Michael Bestasd91e1ee2022-10-24 18:03:33 +0300190# Fingerprint
191PRODUCT_PACKAGES += \
192 android.hardware.biometrics.fingerprint@2.1-service \
193
Alexander Martinz87f2d952021-08-26 17:27:03 +0200194# FM packages
195PRODUCT_PACKAGES += \
196 FM2 \
197 libqcomfm_jni \
198 qcom.fmradio \
199
200# Framework permissions
201PRODUCT_COPY_FILES += \
202 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
203 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
204 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
205 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
206 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
207 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
208 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
209 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
210 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
211 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
212 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
213 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
214 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
215 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
216 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
217 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
218 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
219 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
220 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
221 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
222 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
223 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
224 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
225 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
226 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
227 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
228 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
229 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
230 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
231 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
232 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
233 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
234 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
235 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
236
237PRODUCT_COPY_FILES += \
238 frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
239 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
240 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
241 frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
242 frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
243 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 +0200244
Alastair Donaldsonb0bd9b82020-12-18 13:53:59 +0000245PRODUCT_COPY_FILES += \
linjoeyad79b752021-06-16 21:29:00 +0800246 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 \
247 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 +0000248
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200249# Fstab
250PRODUCT_PACKAGES += \
251 fstab.persist \
252 fstab.qcom \
253
254PRODUCT_COPY_FILES += \
255 $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \
256 $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \
257
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100258# Gatekeeper
259PRODUCT_PACKAGES += \
260 android.hardware.gatekeeper@1.0.vendor \
261
Alexander Martinz87f2d952021-08-26 17:27:03 +0200262# GPS
263PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100264 android.hardware.gnss@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200265 android.hardware.gnss@2.1-service-qti \
266
267PRODUCT_COPY_FILES += \
268 $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
269 $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
270 $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
271 $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
272 $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
273 $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \
274
275# Health
276PRODUCT_PACKAGES += \
277 android.hardware.health@2.1-impl:64 \
278 android.hardware.health@2.1-service \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100279 android.hardware.health@2.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200280
281# HIDL
282PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100283 android.hidl.allocator@1.0.vendor \
Michael Bestas2adf4372022-10-24 01:45:54 +0300284 android.hidl.base@1.0.vendor \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100285 android.hidl.memory@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200286 libhidltransport \
287 libhidltransport.vendor \
288 libhwbinder \
289 libhwbinder.vendor \
290
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200291# Init
292PRODUCT_PACKAGES += \
Alexander Martinzf71a1312021-08-05 13:16:42 +0200293 init.qcom.rc \
Alexander Martinz6cb4c872021-09-21 18:59:46 +0200294 init.qcom.early_boot.sh \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200295 init.recovery.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200296 init.target.performance.rc \
297 init.target.rc \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200298 ueventd.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200299
Alexander Martinzc61256d2021-11-02 18:58:27 +0100300PRODUCT_PACKAGES += \
301 init.insmod.cfg \
302 init.insmod.sh \
303
Alexander Martinz87f2d952021-08-26 17:27:03 +0200304# IPA
305PRODUCT_PACKAGES += \
306 ipacm \
307 IPACM_cfg.xml \
308
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100309# Keymaster
310PRODUCT_PACKAGES += \
311 android.hardware.keymaster@4.0.vendor \
312
Alexander Martinz87f2d952021-08-26 17:27:03 +0200313# Light HAL
314PRODUCT_PACKAGES += \
315 hardware.shift.light@1.0 \
316 hardware.shift.light@1.0-impl \
317 hardware.shift.light@1.0-service \
318
319# LiveDisplay
320#PRODUCT_PACKAGES += \
321# vendor.lineage.livedisplay@2.0-service-sdm \
322
323# Media
324PRODUCT_PACKAGES += \
325 libavservices_minijail \
326 libavservices_minijail.vendor \
327 libc2dcolorconvert \
328 libOmxAacEnc \
329 libOmxAmrEnc \
330 libOmxCore \
331 libOmxEvrcEnc \
332 libOmxG711Enc \
333 libOmxQcelp13Enc \
334 libOmxVdec \
335 libOmxVenc \
336 libstagefrighthw \
337
338PRODUCT_COPY_FILES += \
339 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
340 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
341 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
342 frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \
343
344PRODUCT_COPY_FILES += \
345 $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
346 $(LOCAL_PATH)/configs/media/media_codecs_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_audio.xml \
347 $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
348 $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
349 $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \
350
351# Net
352PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100353 android.system.net.netd@1.1.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200354 netutils-wrapper-1.0 \
355
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100356# Neural Network
357PRODUCT_PACKAGES += \
358 android.hardware.neuralnetworks@1.2.vendor \
359
Alexander Martinz87f2d952021-08-26 17:27:03 +0200360# NFC
361PRODUCT_PACKAGES += \
362 android.hardware.nfc@1.2-service \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200363 com.android.nfc_extras \
364 NfcNci \
365 Tag \
366
367PRODUCT_COPY_FILES += \
368 $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \
369 $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
370
371# Overlays
372DEVICE_PACKAGE_OVERLAYS += \
373 $(LOCAL_PATH)/overlay \
374 $(LOCAL_PATH)/overlay-lineage \
375
376# Power
377PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100378 android.hardware.power@1.2.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200379 android.hardware.power-service-qti \
380 vendor.qti.hardware.perf@2.1.vendor \
381
Alexander Martinz87f2d952021-08-26 17:27:03 +0200382# Protobuf
383PRODUCT_PACKAGES += \
384 libprotobuf-cpp-full-vendorcompat \
385 libprotobuf-cpp-lite-vendorcompat \
386
387# QTI
388PRODUCT_PACKAGES += \
389 libqti_vndfwk_detect.vendor \
390
391PRODUCT_COPY_FILES += \
392 $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
393 $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \
394
395# Radio
396PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100397 android.hardware.secure_element@1.2 \
398 android.hardware.secure_element@1.2.vendor \
399 android.hardware.radio@1.5.vendor \
400 android.hardware.radio.config@1.2.vendor \
401 android.hardware.radio.deprecated@1.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200402 libjson \
403 librmnetctl \
404
405# RenderScript
406PRODUCT_PACKAGES += \
407 android.hardware.renderscript@1.0-impl \
408
409# Seccomp policy
410PRODUCT_COPY_FILES += \
411 $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \
412 $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \
413 $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
414
415# Secure element
416PRODUCT_PACKAGES += \
417 SecureElement \
418
419# Sensors
420PRODUCT_PACKAGES += \
Alexander Martinz11cb84a2022-01-10 13:16:37 +0100421 android.hardware.sensors@2.0.vendor \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200422 libsensorndkbridge \
423
424# Soong namespaces
425PRODUCT_SOONG_NAMESPACES += \
426 $(LOCAL_PATH) \
427
428# Telephony
429PRODUCT_PACKAGES += \
430 ims-ext-common \
431 ims_ext_common.xml \
432 qti-telephony-hidl-wrapper \
433 qti_telephony_hidl_wrapper.xml \
434 qti-telephony-utils \
435 qti_telephony_utils.xml \
436 telephony-ext \
437
438PRODUCT_BOOT_JARS += \
439 telephony-ext \
440
441# Thermal
442PRODUCT_PACKAGES += \
Alexander Martinzd397dff2022-04-26 18:18:58 +0200443 android.hardware.thermal@2.0-service.qti \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200444
445# Treble
446PRODUCT_USE_VNDK_OVERRIDE := true
Alexander Martinzce1dfaa2022-02-09 18:43:28 +0100447PRODUCT_EXTRA_VNDK_VERSIONS := 29 30
Alexander Martinz87f2d952021-08-26 17:27:03 +0200448
449# Trust HAL
450PRODUCT_PACKAGES += \
451 vendor.lineage.trust@1.0-service \
452
453# Update engine
454PRODUCT_PACKAGES += \
455 update_engine \
456 update_engine_sideload \
457 update_verifier \
458
459PRODUCT_PACKAGES_DEBUG += \
460 update_engine_client \
461
462# USB
463PRODUCT_PACKAGES += \
464 android.hardware.usb@1.0-service \
465 libusb \
466
467# Vibrator
468PRODUCT_PACKAGES += \
469 android.hardware.vibrator@1.0-impl:64 \
470 android.hardware.vibrator@1.0-service \
471
472# VNDK
473PRODUCT_COPY_FILES += \
474 prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libcutils-v29.so \
475 prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libcutils-v29.so \
476
477PRODUCT_PACKAGES += \
478 libcomparetf2 \
479 libgui_vendor \
480
481# WiFi
482PRODUCT_PACKAGES += \
483 android.hardware.wifi@1.0-service \
484 hostapd \
485 libcld80211 \
486 libwifi-hal-qcom \
487 libwpa_client \
488 WifiOverlay \
489 wpa_supplicant \
490 wpa_supplicant.conf \