blob: 95b086a8580b4ee0a71c52348c76db1d423cbb59 [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
140# Component overrides
141PRODUCT_COPY_FILES += \
142 $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \
143
144# Device-specific settings
145PRODUCT_PACKAGES += \
146 AxolotlParts \
147
148# Display
149PRODUCT_PACKAGES += \
150 android.hardware.graphics.composer@2.3-service \
151 android.hardware.graphics.mapper@2.0-impl-qti-display \
152 android.hardware.memtrack@1.0-impl \
153 android.hardware.memtrack@1.0-service \
154 gralloc.sdm845 \
155 hwcomposer.sdm845 \
156 libdisplayconfig.qti \
157 libqdMetaData \
158 libtinyxml \
159 memtrack.sdm845 \
160 vendor.display.config@1.0.vendor \
161 vendor.display.config@2.0 \
162 vendor.qti.hardware.display.allocator@1.0-service \
163
164# Display - Phase Offsets
165PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
166 ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \
167 ro.surface_flinger.max_frame_buffer_acquired_buffers=2 \
168 ro.surface_flinger.max_virtual_display_dimension=4096 \
169 ro.surface_flinger.vsync_event_phase_offset_ns=2000000 \
170 ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000 \
171
172# DRM
173PRODUCT_PACKAGES += \
174 android.hardware.drm@1.0-impl:64 \
175 android.hardware.drm@1.0-service \
176 android.hardware.drm@1.3-service.clearkey \
177
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200178# Fastbootd
Alexander Martinz87f2d952021-08-26 17:27:03 +0200179PRODUCT_PACKAGES += \
180 android.hardware.fastboot@1.0-impl-mock \
181 fastbootd \
182
183# Filesystem
184PRODUCT_PACKAGES += \
185 check_f2fs \
186 f2fs_io \
187 sg_write_buffer \
188
189# FM packages
190PRODUCT_PACKAGES += \
191 FM2 \
192 libqcomfm_jni \
193 qcom.fmradio \
194
195# Framework permissions
196PRODUCT_COPY_FILES += \
197 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
198 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
199 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
200 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
201 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
202 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
203 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
204 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
205 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
206 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
207 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
208 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
209 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
210 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
211 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
212 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
213 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
214 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
215 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
216 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
217 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
218 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
219 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
220 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
221 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
222 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
223 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
224 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
225 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
226 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
227 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
228 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
229 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
230 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
231
232PRODUCT_COPY_FILES += \
233 frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
234 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
235 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
236 frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
237 frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
238 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 +0200239
240# Fstab
241PRODUCT_PACKAGES += \
242 fstab.persist \
243 fstab.qcom \
244
245PRODUCT_COPY_FILES += \
246 $(LOCAL_PATH)/rootdir/etc/fstab.axolotl:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \
247 $(LOCAL_PATH)/rootdir/etc/fstab.persist:$(TARGET_COPY_OUT_RAMDISK)/fstab.persist \
248
Alexander Martinz87f2d952021-08-26 17:27:03 +0200249# GPS
250PRODUCT_PACKAGES += \
251 android.hardware.gnss@2.1-service-qti \
252
253PRODUCT_COPY_FILES += \
254 $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
255 $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
256 $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
257 $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
258 $(LOCAL_PATH)/configs/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
259 $(LOCAL_PATH)/configs/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \
260
261# Health
262PRODUCT_PACKAGES += \
263 android.hardware.health@2.1-impl:64 \
264 android.hardware.health@2.1-service \
265
266# HIDL
267PRODUCT_PACKAGES += \
268 android.hidl.base@1.0_system \
269 libhidltransport \
270 libhidltransport.vendor \
271 libhwbinder \
272 libhwbinder.vendor \
273
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200274# Init
275PRODUCT_PACKAGES += \
Alexander Martinzf71a1312021-08-05 13:16:42 +0200276 init.qcom.rc \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200277 init.recovery.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200278 init.target.performance.rc \
279 init.target.rc \
Alexander Martinz54fdc2d2021-04-22 14:19:05 +0200280 ueventd.qcom.rc \
Alexander Martinz87f2d952021-08-26 17:27:03 +0200281
282# Input - TODO: copy keylayout files
283
284# IPA
285PRODUCT_PACKAGES += \
286 ipacm \
287 IPACM_cfg.xml \
288
289# Light HAL
290PRODUCT_PACKAGES += \
291 hardware.shift.light@1.0 \
292 hardware.shift.light@1.0-impl \
293 hardware.shift.light@1.0-service \
294
295# LiveDisplay
296#PRODUCT_PACKAGES += \
297# vendor.lineage.livedisplay@2.0-service-sdm \
298
299# Media
300PRODUCT_PACKAGES += \
301 libavservices_minijail \
302 libavservices_minijail.vendor \
303 libc2dcolorconvert \
304 libOmxAacEnc \
305 libOmxAmrEnc \
306 libOmxCore \
307 libOmxEvrcEnc \
308 libOmxG711Enc \
309 libOmxQcelp13Enc \
310 libOmxVdec \
311 libOmxVenc \
312 libstagefrighthw \
313
314PRODUCT_COPY_FILES += \
315 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
316 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
317 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
318 frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \
319
320PRODUCT_COPY_FILES += \
321 $(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
322 $(LOCAL_PATH)/configs/media/media_codecs_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_audio.xml \
323 $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
324 $(LOCAL_PATH)/configs/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
325 $(LOCAL_PATH)/configs/media/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \
326
327# Net
328PRODUCT_PACKAGES += \
329 netutils-wrapper-1.0 \
330
331# NFC
332PRODUCT_PACKAGES += \
333 android.hardware.nfc@1.2-service \
334 android.hardware.secure_element@1.2 \
335 com.android.nfc_extras \
336 NfcNci \
337 Tag \
338
339PRODUCT_COPY_FILES += \
340 $(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf \
341 $(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
342
343# Overlays
344DEVICE_PACKAGE_OVERLAYS += \
345 $(LOCAL_PATH)/overlay \
346 $(LOCAL_PATH)/overlay-lineage \
347
348# Power
349PRODUCT_PACKAGES += \
350 android.hardware.power-service-qti \
351 vendor.qti.hardware.perf@2.1.vendor \
352
353# Properties
354PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
355$(call inherit-product, $(LOCAL_PATH)/properties.mk)
356
357# Protobuf
358PRODUCT_PACKAGES += \
359 libprotobuf-cpp-full-vendorcompat \
360 libprotobuf-cpp-lite-vendorcompat \
361
362# QTI
363PRODUCT_PACKAGES += \
364 libqti_vndfwk_detect.vendor \
365
366PRODUCT_COPY_FILES += \
367 $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
368 $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml \
369
370# Radio
371PRODUCT_PACKAGES += \
372 libjson \
373 librmnetctl \
374
375# RenderScript
376PRODUCT_PACKAGES += \
377 android.hardware.renderscript@1.0-impl \
378
379# Seccomp policy
380PRODUCT_COPY_FILES += \
381 $(LOCAL_PATH)/seccomp/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \
382 $(LOCAL_PATH)/seccomp/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \
383 $(LOCAL_PATH)/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
384
385# Secure element
386PRODUCT_PACKAGES += \
387 SecureElement \
388
389# Sensors
390PRODUCT_PACKAGES += \
391 android.hardware.sensors@2.0-impl \
392 android.hardware.sensors@2.0-service \
393 libsensorndkbridge \
394
395# Soong namespaces
396PRODUCT_SOONG_NAMESPACES += \
397 $(LOCAL_PATH) \
398
399# Telephony
400PRODUCT_PACKAGES += \
401 ims-ext-common \
402 ims_ext_common.xml \
403 qti-telephony-hidl-wrapper \
404 qti_telephony_hidl_wrapper.xml \
405 qti-telephony-utils \
406 qti_telephony_utils.xml \
407 telephony-ext \
408
409PRODUCT_BOOT_JARS += \
410 telephony-ext \
411
412# Thermal
413PRODUCT_PACKAGES += \
414 android.hardware.thermal@1.0-impl:64 \
415 android.hardware.thermal@1.0-service \
416
417# Treble
418PRODUCT_USE_VNDK_OVERRIDE := true
419
420# Trust HAL
421PRODUCT_PACKAGES += \
422 vendor.lineage.trust@1.0-service \
423
424# Update engine
425PRODUCT_PACKAGES += \
426 update_engine \
427 update_engine_sideload \
428 update_verifier \
429
430PRODUCT_PACKAGES_DEBUG += \
431 update_engine_client \
432
433# USB
434PRODUCT_PACKAGES += \
435 android.hardware.usb@1.0-service \
436 libusb \
437
438# Vibrator
439PRODUCT_PACKAGES += \
440 android.hardware.vibrator@1.0-impl:64 \
441 android.hardware.vibrator@1.0-service \
442
443# VNDK
444PRODUCT_COPY_FILES += \
445 prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM)/lib/libcutils-v29.so \
446 prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libcutils-v29.so \
447
448PRODUCT_PACKAGES += \
449 libcomparetf2 \
450 libgui_vendor \
451
452# WiFi
453PRODUCT_PACKAGES += \
454 android.hardware.wifi@1.0-service \
455 hostapd \
456 libcld80211 \
457 libwifi-hal-qcom \
458 libwpa_client \
459 WifiOverlay \
460 wpa_supplicant \
461 wpa_supplicant.conf \
462 vendor.qti.hardware.wifi.hostapd@1.0.vendor \
463 vendor.qti.hardware.wifi.hostapd@1.1.vendor \
464 vendor.qti.hardware.wifi.supplicant@2.0.vendor \
465 vendor.qti.hardware.wifi.supplicant@2.1.vendor \
466
467# WiFi Display
468PRODUCT_PACKAGES += \
469 libnl \
470 libwfdaac_vendor \
471
472PRODUCT_BOOT_JARS += \
473 WfdCommon \