blob: 2d9a09ddaa6edf3a3603a1debee1dc3cf007324a [file] [log] [blame]
merothh54856102021-11-04 12:07:41 +05301#
Michael Bestas4e1ba2f2024-05-12 06:38:39 +03002# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
merothh54856102021-11-04 12:07:41 +05303# SPDX-License-Identifier: Apache-2.0
4#
5
merothh54856102021-11-04 12:07:41 +05306# A/B
Michael Bestas99a5c712023-08-30 21:12:04 +03007$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
merothh54856102021-11-04 12:07:41 +05308
9AB_OTA_POSTINSTALL_CONFIG += \
10 RUN_POSTINSTALL_system=true \
11 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
12 FILESYSTEM_TYPE_system=ext4 \
13 POSTINSTALL_OPTIONAL_system=true
14
15AB_OTA_POSTINSTALL_CONFIG += \
16 RUN_POSTINSTALL_vendor=true \
17 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
18 FILESYSTEM_TYPE_vendor=ext4 \
19 POSTINSTALL_OPTIONAL_vendor=true
20
21PRODUCT_PACKAGES += \
22 checkpoint_gc \
23 otapreopt_script
24
Michael Bestasebc23d02024-05-12 08:53:48 +030025# ANT+
26PRODUCT_PACKAGES += \
27 AntHalService-Soong \
28 com.dsi.ant@1.0.vendor
29
Michael Bestas9d8a5f62024-05-12 08:50:28 +030030# Audio
merothh750fa002022-01-02 19:42:51 +053031PRODUCT_PACKAGES += \
32 android.hardware.audio@6.0-impl \
33 android.hardware.audio.effect@6.0-impl \
34 android.hardware.audio.service \
Josh Wud049c482022-01-24 22:56:14 -080035 android.hardware.bluetooth.audio-impl \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030036 android.hardware.soundtrigger@2.3-impl \
37 audio.bluetooth.default \
Michael Bestas7daa2d42023-08-29 20:12:57 +030038 audio.primary.lahaina \
merothh750fa002022-01-02 19:42:51 +053039 audio.r_submix.default \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030040 audio.usb.default \
Michael Bestas7daa2d42023-08-29 20:12:57 +030041 audio_amplifier.lahaina \
merothh750fa002022-01-02 19:42:51 +053042 liba2dpoffload \
43 libbatterylistener \
44 libcomprcapture \
45 libexthwplugin \
46 libhdmiedid \
47 libhfp \
merothh750fa002022-01-02 19:42:51 +053048 libqcompostprocbundle \
49 libqcomvisualizer \
50 libqcomvoiceprocessing \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030051 libsndmonitor \
52 libspkrprot \
merothh750fa002022-01-02 19:42:51 +053053 libvolumelistener
54
merothhd7649fd2022-01-02 20:05:19 +053055PRODUCT_COPY_FILES += \
56 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
57 $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
Rohit7737da62023-03-17 14:44:12 +053058 $(LOCAL_PATH)/audio/audio_platform_info_lagoon_fp4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
merothhd7649fd2022-01-02 20:05:19 +053059 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
Michael Bestasbbdf1532022-03-28 20:22:52 +030060 $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
61 $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
Rohit7737da62023-03-17 14:44:12 +053062 $(LOCAL_PATH)/audio/mixer_paths_lagoon_fp4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_lagoonmtp.xml \
Michael Bestas37becd42024-05-09 01:04:55 +030063 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_lagoonmtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_lagoonmtp.xml \
merothhd7649fd2022-01-02 20:05:19 +053064 $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml
65
66PRODUCT_COPY_FILES += \
merothhd7649fd2022-01-02 20:05:19 +053067 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
68 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
69 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
70 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
71 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
72
Michael Bestas9d8a5f62024-05-12 08:50:28 +030073PRODUCT_COPY_FILES += \
74 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
75 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
76 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
merothh2e0e5682022-01-02 20:25:57 +053077
merothh750fa002022-01-02 19:42:51 +053078# Bluetooth
79PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +010080 android.hardware.bluetooth@1.0.vendor:64 \
Michael Bestasa427ed12024-05-12 10:09:47 +030081 vendor.qti.hardware.bluetooth_audio@2.1.vendor:32 \
82 vendor.qti.hardware.btconfigstore@1.0.vendor:64 \
83 vendor.qti.hardware.btconfigstore@2.0.vendor:64
merothh750fa002022-01-02 19:42:51 +053084
Michael Bestas9d8a5f62024-05-12 08:50:28 +030085PRODUCT_COPY_FILES += \
86 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
87 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
88
SGCMarkusc3293742022-10-31 18:07:07 +010089# Board API level
90BOARD_API_LEVEL := 30
91BOARD_SHIPPING_API_LEVEL := $(BOARD_API_LEVEL)
92
Michael Bestas9d8a5f62024-05-12 08:50:28 +030093# Boot control
94PRODUCT_PACKAGES += \
95 android.hardware.boot@1.1-impl-qti \
96 android.hardware.boot@1.1-impl-qti.recovery \
97 android.hardware.boot@1.1-service
98
merothha507a0f2022-01-02 20:11:36 +053099# Camera
100PRODUCT_PACKAGES += \
101 android.hardware.camera.provider@2.4-impl \
102 android.hardware.camera.provider@2.4-service_64 \
merothha507a0f2022-01-02 20:11:36 +0530103 vendor.qti.hardware.camera.postproc@1.0.vendor
104
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300105PRODUCT_COPY_FILES += \
106 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
107 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
108 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
109 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
110
111# Dalvik
112$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
113
114# DebugFS
115PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
116
merothh7af51cb2022-01-02 20:14:21 +0530117# Display
118PRODUCT_PACKAGES += \
119 android.hardware.graphics.mapper@3.0-impl-qti-display \
120 android.hardware.graphics.mapper@4.0-impl-qti-display \
121 android.hardware.memtrack@1.0-impl \
122 android.hardware.memtrack@1.0-service \
123 android.hardware.renderscript@1.0-impl \
Michael Bestas7daa2d42023-08-29 20:12:57 +0300124 gralloc.lahaina \
Rohit R Sekhar260f7c12022-11-17 21:27:27 +0530125 init.qti.display_boot.sh \
merothh7af51cb2022-01-02 20:14:21 +0530126 libdisplayconfig.qti \
LuK1337efb41462022-10-12 09:33:30 +0200127 libdisplayconfig.system.qti \
merothh7af51cb2022-01-02 20:14:21 +0530128 libqdMetaData \
129 libsdmcore \
130 libsdmutils \
Michael Bestas7daa2d42023-08-29 20:12:57 +0300131 memtrack.lahaina \
Michael Bestas6cf15042024-05-09 01:13:02 +0300132 vendor.display.config@1.0.vendor:64 \
merothh7af51cb2022-01-02 20:14:21 +0530133 vendor.display.config@2.0 \
134 vendor.display.config@2.0.vendor \
135 vendor.qti.hardware.display.allocator-service \
136 vendor.qti.hardware.display.composer-service \
LuK133711e3cef2023-12-22 19:59:44 +0100137 vendor.qti.hardware.display.config-V5-ndk \
merothh7af51cb2022-01-02 20:14:21 +0530138 vendor.qti.hardware.display.mapper@1.1.vendor \
139 vendor.qti.hardware.display.mapper@2.0.vendor \
140 vendor.qti.hardware.display.mapper@3.0.vendor \
141 vendor.qti.hardware.display.mapper@4.0.vendor
142
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300143PRODUCT_COPY_FILES += \
144 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
Hridya Valsarajuacf54302021-04-02 11:33:45 -0700145
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100146# DRM
147PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100148 android.hardware.drm@1.3.vendor \
Bruno Martins09cfb262022-09-14 14:51:15 +0100149 android.hardware.drm-service.clearkey
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100150
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300151# e-SIM
merothh2b9692d2022-01-14 00:55:59 +0530152PRODUCT_COPY_FILES += \
153 $(LOCAL_PATH)/configs/privapp-permissions-euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-euicc.xml
154
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300155PRODUCT_COPY_FILES += \
156 frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml
157
merothh54856102021-11-04 12:07:41 +0530158# fastbootd
159PRODUCT_PACKAGES += \
160 fastbootd
161
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300162# Fingerprint
163PRODUCT_PACKAGES += \
164 android.hardware.biometrics.fingerprint@2.1-service
165
166PRODUCT_COPY_FILES += \
167 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
168
LuK133737154bf2021-12-14 11:42:44 +0100169# Gatekeeper
170PRODUCT_PACKAGES += \
171 android.hardware.gatekeeper@1.0.vendor:64
172
173# GPS
174PRODUCT_PACKAGES += \
Michael Bestas6cf15042024-05-09 01:13:02 +0300175 android.hardware.gnss@2.1-impl-qti:64 \
Michael Bestasd870a482023-05-04 01:19:43 +0300176 android.hardware.gnss@2.1-service-qti \
177 gnss@2.0-base.policy \
178 gnss@2.0-xtra-daemon.policy \
Michael Bestas6cf15042024-05-09 01:13:02 +0300179 libbatching:64 \
180 libgeofencing:64 \
181 libgnss:64 \
182 libloc_socket:64
LuK133737154bf2021-12-14 11:42:44 +0100183
Michael Bestas097b8902023-05-12 16:24:16 +0300184PRODUCT_PACKAGES += \
185 flp.conf \
Michael Bestasdd911262024-05-09 01:36:21 +0300186 gnss_antenna_info.conf \
Michael Bestas097b8902023-05-12 16:24:16 +0300187 gps.conf \
188 izat.conf
189
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300190PRODUCT_COPY_FILES += \
191 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
192
193# Graphics
194PRODUCT_COPY_FILES += \
195 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
196 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
197 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
198 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
linjoey2a0ff282021-06-16 21:29:00 +0800199 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 \
200 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
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300201
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100202# Health
203PRODUCT_PACKAGES += \
Michael Bestas99a5c712023-08-30 21:12:04 +0300204 android.hardware.health-service.qti
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100205
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100206# HIDL
207PRODUCT_PACKAGES += \
LuK133759bce602022-04-26 10:56:05 +0200208 libhidltransport.vendor \
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100209 libhwbinder.vendor
210
Michael Bestasd4923512024-05-10 02:57:20 +0300211# Init
212PRODUCT_PACKAGES += \
213 fstab.default \
214 fstab.default.ramdisk \
215 init.class_main.sh \
216 init.qcom.early_boot.sh \
217 init.qcom.post_boot.sh \
218 init.qcom.rc \
219 init.qcom.recovery.rc \
220 init.qcom.sh \
221 init.qcom.usb.rc \
222 init.qcom.usb.sh \
223 init.qti.dcvs.sh \
224 init.qti.early_init.sh \
Michael Bestasd4923512024-05-10 02:57:20 +0300225 init.stnfc.rc \
226 init.target.rc \
227 ueventd.qcom.rc
228
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100229# IPACM
230PRODUCT_PACKAGES += \
231 ipacm \
Michael Bestas6cf15042024-05-09 01:13:02 +0300232 IPACM_cfg.xml
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100233
LuK133737154bf2021-12-14 11:42:44 +0100234# Keymaster
235PRODUCT_PACKAGES += \
236 android.hardware.keymaster@4.1.vendor:64
237
Michael Bestas439f1572023-03-03 23:43:42 +0200238# Lineage Health
239PRODUCT_PACKAGES += \
240 vendor.lineage.health-service.default
241
merothh431b69d2022-01-03 01:32:52 +0530242# Media
243PRODUCT_PACKAGES += \
244 libavservices_minijail \
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300245 libavservices_minijail.vendor \
246 libcodec2_hidl@1.0.vendor:32
merothh431b69d2022-01-03 01:32:52 +0530247
merothhf25a4a72022-01-02 21:45:42 +0530248PRODUCT_COPY_FILES += \
249 $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
250 $(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
251 $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
Michael Bestas6086eeb2024-05-09 01:00:22 +0300252 $(LOCAL_PATH)/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
merothhf25a4a72022-01-02 21:45:42 +0530253 $(LOCAL_PATH)/media/media_codecs_performance_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v1.xml \
254 $(LOCAL_PATH)/media/media_codecs_performance_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v2.xml \
Michael Bestas6086eeb2024-05-09 01:00:22 +0300255 $(LOCAL_PATH)/media/media_codecs_performance_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v3.xml \
merothhf25a4a72022-01-02 21:45:42 +0530256 $(LOCAL_PATH)/media/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
Michael Bestas6086eeb2024-05-09 01:00:22 +0300257 $(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
merothhf25a4a72022-01-02 21:45:42 +0530258 $(LOCAL_PATH)/media/media_codecs_vendor_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v1.xml \
259 $(LOCAL_PATH)/media/media_codecs_vendor_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v2.xml \
260 $(LOCAL_PATH)/media/media_codecs_vendor_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v3.xml \
merothhf25a4a72022-01-02 21:45:42 +0530261 $(LOCAL_PATH)/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
262
Michael Bestas6086eeb2024-05-09 01:00:22 +0300263PRODUCT_COPY_FILES += \
264 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
265 frameworks/av/media/libstagefright/data/media_codecs_google_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2.xml \
266 frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_audio.xml \
267 frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml \
268 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
269 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
270 frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml
271
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530272# Net
273PRODUCT_PACKAGES += \
Sebastiano Barezzi5a90fbc2022-05-28 10:29:35 +0200274 android.system.net.netd@1.1.vendor:64
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530275
LuK133737154bf2021-12-14 11:42:44 +0100276# Neural networks
277PRODUCT_PACKAGES += \
278 android.hardware.neuralnetworks@1.3.vendor:64
279
Andrew Hexena9aed252020-09-26 11:51:58 -0700280# NFC
281PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100282 android.hardware.nfc@1.2.vendor:64 \
283 android.hardware.secure_element@1.2.vendor:64 \
Andrew Hexena9aed252020-09-26 11:51:58 -0700284 com.android.nfc_extras \
Andrew Hexena9aed252020-09-26 11:51:58 -0700285 Tag
286
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300287PRODUCT_COPY_FILES += \
288 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
289 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
290 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
291 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
292 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
293 frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
Michael Bestas9c04f292024-05-12 12:11:50 +0300294 frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300295
Sebastiano Barezzied138322021-02-10 22:04:15 +0100296# OMX
297PRODUCT_PACKAGES += \
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300298 init.qti.media.sh \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100299 libOmxAacEnc \
300 libOmxAmrEnc \
301 libOmxCore \
302 libOmxEvrcEnc \
303 libOmxG711Enc \
304 libOmxQcelp13Enc \
305 libOmxVdec \
306 libOmxVenc \
307 libstagefrighthw
308
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300309# Overlays
310DEVICE_PACKAGE_OVERLAYS += \
311 $(LOCAL_PATH)/overlay-lineage
312
313PRODUCT_ENFORCE_RRO_TARGETS := *
314PRODUCT_PACKAGES += \
315 CarrierConfigResCommon \
316 FrameworksResCommon \
317 FrameworksResTarget \
318 SettingsProviderResCommon \
319 SettingsResCommon \
320 SystemUIResCommon \
321 SystemUIResTarget \
322 TelephonyResCommon \
323 WifiResCommon
324
325# Partitions
326PRODUCT_USE_DYNAMIC_PARTITIONS := true
327
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100328# Power
329PRODUCT_PACKAGES += \
330 android.hardware.power-service-qti \
LuK133737154bf2021-12-14 11:42:44 +0100331 android.hardware.power@1.2.vendor \
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100332 vendor.qti.hardware.perf@2.2.vendor
333
merothh00be0602022-01-02 23:00:09 +0530334# Public libraries
335PRODUCT_COPY_FILES += \
336 $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
337
Sebastiano Barezzi17434b22021-02-10 22:06:22 +0100338# QTI fwk-detect
339PRODUCT_PACKAGES += \
340 libqti_vndfwk_detect \
341 libqti_vndfwk_detect.vendor \
342 libvndfwk_detect_jni.qti \
343 libvndfwk_detect_jni.qti.vendor
344
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100345# RIL
346PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100347 android.hardware.radio@1.5.vendor:64 \
348 android.hardware.radio.config@1.2.vendor:64 \
349 android.hardware.radio.deprecated@1.0.vendor:64 \
Michael Bestas6cf15042024-05-09 01:13:02 +0300350 libjson:64 \
basamaryan2949c342023-10-07 15:17:04 -0400351 libprotobuf-cpp-full-3.9.1-vendorcompat \
LuK1337ee9ba222023-10-20 00:53:15 +0200352 libprotobuf-cpp-lite-3.9.1-vendorcompat \
Demon Singura88a1902018-07-14 14:37:51 +0000353 librmnetctl:64
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100354
Andrew Hexen3929a452021-02-15 06:33:18 -0800355# Sensors
356PRODUCT_PACKAGES += \
LuK1337c2646f22023-10-21 16:34:40 +0200357 android.frameworks.sensorservice@1.0.vendor:64 \
Andrew Hexen3929a452021-02-15 06:33:18 -0800358 android.hardware.sensors@2.0-service.multihal
359
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300360PRODUCT_COPY_FILES += \
361 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
362 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
363 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
364 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
365 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
366 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
367 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
368
369# Shipping API
370PRODUCT_SHIPPING_API_LEVEL := 30
371
372# Soong namespaces
merothh54856102021-11-04 12:07:41 +0530373PRODUCT_SOONG_NAMESPACES += \
374 $(LOCAL_PATH)
375
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100376# Telephony
377PRODUCT_PACKAGES += \
Michael Bestasb603e382023-02-02 17:41:45 +0200378 extphonelib \
379 extphonelib-product \
380 extphonelib.xml \
381 extphonelib_product.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100382 ims-ext-common \
383 ims_ext_common.xml \
384 qti-telephony-hidl-wrapper \
Michael Bestasb603e382023-02-02 17:41:45 +0200385 qti-telephony-hidl-wrapper-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100386 qti_telephony_hidl_wrapper.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200387 qti_telephony_hidl_wrapper_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100388 qti-telephony-utils \
Michael Bestasb603e382023-02-02 17:41:45 +0200389 qti-telephony-utils-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100390 qti_telephony_utils.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200391 qti_telephony_utils_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100392 telephony-ext
393
394PRODUCT_BOOT_JARS += \
395 telephony-ext
396
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300397PRODUCT_COPY_FILES += \
398 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
399 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
Dhina1729fccc22023-07-04 12:38:01 +0530400 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300401
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100402# Thermal
403PRODUCT_PACKAGES += \
404 android.hardware.thermal@2.0-service.qti
405
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300406# Update engine
407PRODUCT_PACKAGES += \
408 update_engine \
409 update_engine_sideload \
410 update_verifier
411
412PRODUCT_PACKAGES_DEBUG += \
413 update_engine_client
414
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100415# USB
416PRODUCT_PACKAGES += \
Albert Wang0dcdbc92021-03-25 00:03:02 +0800417 android.hardware.usb@1.3-service-qti
Roger Liaodcb2e032020-04-10 04:46:38 +0800418
Alexander Koskoviche62c05c2022-04-12 05:00:05 -0700419PRODUCT_SOONG_NAMESPACES += \
420 vendor/qcom/opensource/usb/etc
421
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300422PRODUCT_COPY_FILES += \
423 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
424 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
425
426# Vendor service manager
Roger Liaodcb2e032020-04-10 04:46:38 +0800427PRODUCT_PACKAGES += \
428 vndservicemanager
merothh66682a52021-11-13 19:20:17 +0530429
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300430# Verified Boot
431PRODUCT_COPY_FILES += \
432 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
433
merothh66682a52021-11-13 19:20:17 +0530434# Vibrator
435PRODUCT_PACKAGES += \
Michael Bestas331ff2d2023-05-19 00:20:56 +0300436 vendor.qti.hardware.vibrator.service
Bruno Martins33165842021-06-19 12:54:58 +0100437
438PRODUCT_COPY_FILES += \
Michael Bestas331ff2d2023-05-19 00:20:56 +0300439 vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100440
441# WiFi
442PRODUCT_PACKAGES += \
Gabriel Birend6c1ff32023-03-27 22:33:41 +0000443 android.hardware.wifi-service \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100444 hostapd \
445 libwpa_client \
446 libwifi-hal-ctrl \
447 libwifi-hal-qcom \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100448 wpa_supplicant \
449 wpa_supplicant.conf
450
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300451PRODUCT_COPY_FILES += \
452 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
453 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
454 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
455 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
456
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100457# WiFi Display
458PRODUCT_PACKAGES += \
Edwin Moquetea06b2c42024-03-16 01:24:14 +0000459 android.media.audio.common.types-V2-cpp \
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100460 libnl \
Michael Bestas6cf15042024-05-09 01:13:02 +0300461 libwfdaac_vendor:32
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100462
463PRODUCT_BOOT_JARS += \
464 WfdCommon
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300465
466# Inherit from the proprietary files makefile.
Michael Bestas10374532023-08-29 19:41:38 +0300467$(call inherit-product, vendor/fairphone/FP5/FP5-vendor.mk)