blob: d7f926892e07e15de720d3251e8420af98d81bd6 [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
6PRODUCT_USE_DYNAMIC_PARTITIONS := true
Roger Liao67b33f62020-04-06 23:38:49 +08007PRODUCT_SHIPPING_API_LEVEL := 30
merothh54856102021-11-04 12:07:41 +05308
9# Enable virtual A/B OTA
10$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
11
Lokesh Gidra9fe4b8c2019-12-06 13:19:19 -080012# Setup dalvik vm configs
13$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
14
merothhacf1dfa2022-01-02 18:21:21 +053015# Get non-open-source specific aspects
16$(call inherit-product, vendor/fairphone/FP4/FP4-vendor.mk)
17
merothh750fa002022-01-02 19:42:51 +053018# Overlays
19DEVICE_PACKAGE_OVERLAYS += \
merothhc973b6f2022-01-03 05:05:17 +053020 $(LOCAL_PATH)/overlay-lineage
merothh750fa002022-01-02 19:42:51 +053021
22PRODUCT_ENFORCE_RRO_TARGETS := *
Michael Bestas195f5262024-05-10 17:15:54 +030023PRODUCT_PACKAGES += \
24 CarrierConfigResCommon \
25 FrameworksResCommon \
26 FrameworksResTarget \
27 SettingsProviderResCommon \
28 SettingsResCommon \
29 SystemUIResCommon \
30 SystemUIResTarget \
31 TelephonyResCommon \
32 WifiResCommon
merothh750fa002022-01-02 19:42:51 +053033
merothh193efdd2022-01-03 04:43:57 +053034# Permissions
35PRODUCT_COPY_FILES += \
36 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
37 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
38 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
39 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
40 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
41 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
42 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
43 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
44 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
45 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
Michael Bestas0f148c92024-05-09 01:08:42 +030046 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
merothh193efdd2022-01-03 04:43:57 +053047 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
48 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
49 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
50 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
51 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
52 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
53 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
54 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
55 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
56 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
57 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
58 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
59 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
60 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
61 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
62 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
63 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
64 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
65 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
66 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
67 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
68 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
69 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
70 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
71 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
72 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
73 frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
74 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \
75 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 \
76 frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
77 frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
78 frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml
79
merothh54856102021-11-04 12:07:41 +053080# A/B
81PRODUCT_PACKAGES += \
82 android.hardware.boot@1.1-impl-qti \
83 android.hardware.boot@1.1-impl-qti.recovery \
84 android.hardware.boot@1.1-service
85
86AB_OTA_POSTINSTALL_CONFIG += \
87 RUN_POSTINSTALL_system=true \
88 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
89 FILESYSTEM_TYPE_system=ext4 \
90 POSTINSTALL_OPTIONAL_system=true
91
92AB_OTA_POSTINSTALL_CONFIG += \
93 RUN_POSTINSTALL_vendor=true \
94 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
95 FILESYSTEM_TYPE_vendor=ext4 \
96 POSTINSTALL_OPTIONAL_vendor=true
97
98PRODUCT_PACKAGES += \
99 checkpoint_gc \
100 otapreopt_script
101
102PRODUCT_PACKAGES += \
103 update_engine \
104 update_engine_client \
105 update_verifier \
106 update_engine_sideload
107
Sebastiano Barezzif8bb2bd2021-02-10 21:58:07 +0100108# Atrace
109PRODUCT_PACKAGES += \
110 android.hardware.atrace@1.0-service
111
merothh750fa002022-01-02 19:42:51 +0530112# Audio (HIDL)
113PRODUCT_PACKAGES += \
114 android.hardware.audio@6.0-impl \
115 android.hardware.audio.effect@6.0-impl \
116 android.hardware.audio.service \
117 android.hardware.soundtrigger@2.3-impl
118
119# Audio (Hardware)
120PRODUCT_PACKAGES += \
Rohit00be9f42023-03-20 16:00:09 +0530121 audio_amplifier.lito \
Rohit7737da62023-03-17 14:44:12 +0530122 audio.primary.lito \
merothh750fa002022-01-02 19:42:51 +0530123 audio.r_submix.default \
124 audio.usb.default
125
126# Audio (Extensions)
127PRODUCT_PACKAGES += \
128 liba2dpoffload \
129 libbatterylistener \
130 libcomprcapture \
131 libexthwplugin \
132 libhdmiedid \
133 libhfp \
134 libsndmonitor \
135 libspkrprot
136
137# Audio (SoundFX)
138PRODUCT_PACKAGES += \
139 libaudiopreprocessing \
140 libbundlewrapper \
141 libdownmix \
142 libdynproc \
143 libeffectproxy \
144 libldnhncr \
145 libqcompostprocbundle \
146 libqcomvisualizer \
147 libqcomvoiceprocessing \
148 libreverbwrapper \
149 libvisualizer \
150 libvolumelistener
151
merothhd7649fd2022-01-02 20:05:19 +0530152PRODUCT_COPY_FILES += \
153 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
154 $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
Rohit7737da62023-03-17 14:44:12 +0530155 $(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 +0530156 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
Michael Bestasbbdf1532022-03-28 20:22:52 +0300157 $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
158 $(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 +0530159 $(LOCAL_PATH)/audio/mixer_paths_lagoon_fp4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_lagoonmtp.xml \
Michael Bestas37becd42024-05-09 01:04:55 +0300160 $(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 +0530161 $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml
162
163PRODUCT_COPY_FILES += \
merothhd7649fd2022-01-02 20:05:19 +0530164 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
165 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
166 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
167 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
168 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
169
merothh2e0e5682022-01-02 20:25:57 +0530170# Biometrics
171PRODUCT_PACKAGES += \
172 android.hardware.biometrics.fingerprint@2.1-service
173
merothh750fa002022-01-02 19:42:51 +0530174# Bluetooth
175PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100176 android.hardware.bluetooth@1.0.vendor:64 \
Michael Bestasb12f5062022-02-22 20:38:00 +0200177 android.hardware.bluetooth.audio@2.0-impl \
merothh750fa002022-01-02 19:42:51 +0530178 audio.bluetooth.default \
179 com.dsi.ant@1.0.vendor \
180 vendor.qti.hardware.bluetooth_audio@2.1.vendor \
181 vendor.qti.hardware.btconfigstore@1.0.vendor \
182 vendor.qti.hardware.btconfigstore@2.0.vendor
183
merothha507a0f2022-01-02 20:11:36 +0530184# Camera
185PRODUCT_PACKAGES += \
186 android.hardware.camera.provider@2.4-impl \
187 android.hardware.camera.provider@2.4-service_64 \
188 vendor.qti.hardware.camera.device@1.0.vendor \
189 vendor.qti.hardware.camera.postproc@1.0.vendor
190
merothh7af51cb2022-01-02 20:14:21 +0530191# Display
192PRODUCT_PACKAGES += \
193 android.hardware.graphics.mapper@3.0-impl-qti-display \
194 android.hardware.graphics.mapper@4.0-impl-qti-display \
195 android.hardware.memtrack@1.0-impl \
196 android.hardware.memtrack@1.0-service \
197 android.hardware.renderscript@1.0-impl \
198 gralloc.lito \
Rohit R Sekhar260f7c12022-11-17 21:27:27 +0530199 init.qti.display_boot.sh \
merothh7af51cb2022-01-02 20:14:21 +0530200 memtrack.lito \
201 libdisplayconfig.qti \
LuK1337efb41462022-10-12 09:33:30 +0200202 libdisplayconfig.system.qti \
merothh7af51cb2022-01-02 20:14:21 +0530203 libqdMetaData \
LuK1337efb41462022-10-12 09:33:30 +0200204 libqdMetaData.system \
merothh7af51cb2022-01-02 20:14:21 +0530205 libsdmcore \
206 libsdmutils \
merothh7af51cb2022-01-02 20:14:21 +0530207 libvulkan \
Michael Bestas6cf15042024-05-09 01:13:02 +0300208 vendor.display.config@1.0.vendor:64 \
merothh7af51cb2022-01-02 20:14:21 +0530209 vendor.display.config@2.0 \
210 vendor.display.config@2.0.vendor \
211 vendor.qti.hardware.display.allocator-service \
212 vendor.qti.hardware.display.composer-service \
LuK133711e3cef2023-12-22 19:59:44 +0100213 vendor.qti.hardware.display.config-V5-ndk \
merothh7af51cb2022-01-02 20:14:21 +0530214 vendor.qti.hardware.display.mapper@1.1.vendor \
215 vendor.qti.hardware.display.mapper@2.0.vendor \
216 vendor.qti.hardware.display.mapper@3.0.vendor \
217 vendor.qti.hardware.display.mapper@4.0.vendor
218
Hridya Valsarajuacf54302021-04-02 11:33:45 -0700219# DebugFS
220PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
221
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100222# DRM
223PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100224 android.hardware.drm@1.3.vendor \
Bruno Martins09cfb262022-09-14 14:51:15 +0100225 android.hardware.drm-service.clearkey
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100226
merothh2b9692d2022-01-14 00:55:59 +0530227# Euicc
228PRODUCT_COPY_FILES += \
229 $(LOCAL_PATH)/configs/privapp-permissions-euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-euicc.xml
230
merothh54856102021-11-04 12:07:41 +0530231# fastbootd
232PRODUCT_PACKAGES += \
233 fastbootd
234
LuK133737154bf2021-12-14 11:42:44 +0100235# Gatekeeper
236PRODUCT_PACKAGES += \
237 android.hardware.gatekeeper@1.0.vendor:64
238
239# GPS
240PRODUCT_PACKAGES += \
Michael Bestas6cf15042024-05-09 01:13:02 +0300241 android.hardware.gnss@2.1-impl-qti:64 \
Michael Bestasd870a482023-05-04 01:19:43 +0300242 android.hardware.gnss@2.1-service-qti \
243 gnss@2.0-base.policy \
244 gnss@2.0-xtra-daemon.policy \
245 gnss@2.0-xtwifi-client.policy \
246 gnss@2.0-xtwifi-inet-agent.policy \
Michael Bestas6cf15042024-05-09 01:13:02 +0300247 libbatching:64 \
248 libgeofencing:64 \
249 libgnss:64 \
250 libloc_socket:64
LuK133737154bf2021-12-14 11:42:44 +0100251
Michael Bestas097b8902023-05-12 16:24:16 +0300252# GPS configs
253PRODUCT_PACKAGES += \
254 flp.conf \
Michael Bestasdd911262024-05-09 01:36:21 +0300255 gnss_antenna_info.conf \
Michael Bestas097b8902023-05-12 16:24:16 +0300256 gps.conf \
257 izat.conf
258
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100259# Health
260PRODUCT_PACKAGES += \
Bruno Martinscbce0772023-11-13 13:48:00 +0000261 android.hardware.health-service.qti \
262 android.hardware.health-service.qti_recovery
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100263
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100264# HIDL
265PRODUCT_PACKAGES += \
LuK133759bce602022-04-26 10:56:05 +0200266 libhidltransport.vendor \
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100267 libhwbinder.vendor
268
Michael Bestasd4923512024-05-10 02:57:20 +0300269# Init
270PRODUCT_PACKAGES += \
271 fstab.default \
272 fstab.default.ramdisk \
273 init.class_main.sh \
274 init.qcom.early_boot.sh \
275 init.qcom.post_boot.sh \
276 init.qcom.rc \
277 init.qcom.recovery.rc \
278 init.qcom.sh \
279 init.qcom.usb.rc \
280 init.qcom.usb.sh \
281 init.qti.dcvs.sh \
282 init.qti.early_init.sh \
283 init.qti.media.sh \
284 init.stnfc.rc \
285 init.target.rc \
286 ueventd.qcom.rc
287
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100288# IPACM
289PRODUCT_PACKAGES += \
290 ipacm \
Michael Bestas6cf15042024-05-09 01:13:02 +0300291 IPACM_cfg.xml
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100292
LuK133737154bf2021-12-14 11:42:44 +0100293# Keymaster
294PRODUCT_PACKAGES += \
295 android.hardware.keymaster@4.1.vendor:64
296
Michael Bestas439f1572023-03-03 23:43:42 +0200297# Lineage Health
298PRODUCT_PACKAGES += \
299 vendor.lineage.health-service.default
300
merothh431b69d2022-01-03 01:32:52 +0530301# Media
302PRODUCT_PACKAGES += \
303 libavservices_minijail \
304 libavservices_minijail.vendor
305
merothhf25a4a72022-01-02 21:45:42 +0530306PRODUCT_COPY_FILES += \
307 $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
308 $(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
309 $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
Michael Bestas6086eeb2024-05-09 01:00:22 +0300310 $(LOCAL_PATH)/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
merothhf25a4a72022-01-02 21:45:42 +0530311 $(LOCAL_PATH)/media/media_codecs_performance_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v1.xml \
312 $(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 +0300313 $(LOCAL_PATH)/media/media_codecs_performance_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v3.xml \
merothhf25a4a72022-01-02 21:45:42 +0530314 $(LOCAL_PATH)/media/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
Michael Bestas6086eeb2024-05-09 01:00:22 +0300315 $(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
merothhf25a4a72022-01-02 21:45:42 +0530316 $(LOCAL_PATH)/media/media_codecs_vendor_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v1.xml \
317 $(LOCAL_PATH)/media/media_codecs_vendor_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v2.xml \
318 $(LOCAL_PATH)/media/media_codecs_vendor_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v3.xml \
merothhf25a4a72022-01-02 21:45:42 +0530319 $(LOCAL_PATH)/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
320
Michael Bestas6086eeb2024-05-09 01:00:22 +0300321PRODUCT_COPY_FILES += \
322 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
323 frameworks/av/media/libstagefright/data/media_codecs_google_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2.xml \
324 frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_audio.xml \
325 frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml \
326 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
327 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
328 frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml
329
merothh694b09a2022-01-02 22:58:24 +0530330# Media (Codec2)
331PRODUCT_PACKAGES += \
Michael Bestas6cf15042024-05-09 01:13:02 +0300332 libcodec2_hidl@1.0.vendor:32 \
333 libcodec2_vndk.vendor:32
merothh694b09a2022-01-02 22:58:24 +0530334
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530335# Net
336PRODUCT_PACKAGES += \
Sebastiano Barezzi5a90fbc2022-05-28 10:29:35 +0200337 android.system.net.netd@1.1.vendor:64
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530338
LuK133737154bf2021-12-14 11:42:44 +0100339# Neural networks
340PRODUCT_PACKAGES += \
341 android.hardware.neuralnetworks@1.3.vendor:64
342
Andrew Hexena9aed252020-09-26 11:51:58 -0700343# NFC
344PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100345 android.hardware.nfc@1.2.vendor:64 \
346 android.hardware.secure_element@1.2.vendor:64 \
Andrew Hexena9aed252020-09-26 11:51:58 -0700347 com.android.nfc_extras \
348 NfcNci \
349 SecureElement \
350 Tag
351
Sebastiano Barezzied138322021-02-10 22:04:15 +0100352# OMX
353PRODUCT_PACKAGES += \
354 libmm-omxcore \
355 libOmxAacEnc \
356 libOmxAmrEnc \
357 libOmxCore \
358 libOmxEvrcEnc \
359 libOmxG711Enc \
360 libOmxQcelp13Enc \
361 libOmxVdec \
362 libOmxVenc \
363 libstagefrighthw
364
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100365# Power
366PRODUCT_PACKAGES += \
367 android.hardware.power-service-qti \
LuK133737154bf2021-12-14 11:42:44 +0100368 android.hardware.power@1.2.vendor \
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100369 vendor.qti.hardware.perf@2.2.vendor
370
merothh00be0602022-01-02 23:00:09 +0530371# Public libraries
372PRODUCT_COPY_FILES += \
373 $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
374
Sebastiano Barezzi17434b22021-02-10 22:06:22 +0100375# QTI fwk-detect
376PRODUCT_PACKAGES += \
377 libqti_vndfwk_detect \
378 libqti_vndfwk_detect.vendor \
379 libvndfwk_detect_jni.qti \
380 libvndfwk_detect_jni.qti.vendor
381
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100382# RIL
383PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100384 android.hardware.radio@1.5.vendor:64 \
385 android.hardware.radio.config@1.2.vendor:64 \
386 android.hardware.radio.deprecated@1.0.vendor:64 \
Michael Bestas6cf15042024-05-09 01:13:02 +0300387 libjson:64 \
basamaryan2949c342023-10-07 15:17:04 -0400388 libprotobuf-cpp-full-3.9.1-vendorcompat \
LuK1337ee9ba222023-10-20 00:53:15 +0200389 libprotobuf-cpp-lite-3.9.1-vendorcompat \
Michael Bestas6cf15042024-05-09 01:13:02 +0300390 librmnetctl:64 \
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100391 libxml2
392
Andrew Hexen3929a452021-02-15 06:33:18 -0800393# Sensors
394PRODUCT_PACKAGES += \
395 android.hardware.sensors@2.0-service.multihal
396
merothh54856102021-11-04 12:07:41 +0530397# Soong Namespaces
398PRODUCT_SOONG_NAMESPACES += \
399 $(LOCAL_PATH)
400
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100401# Telephony
402PRODUCT_PACKAGES += \
Michael Bestasb603e382023-02-02 17:41:45 +0200403 extphonelib \
404 extphonelib-product \
405 extphonelib.xml \
406 extphonelib_product.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100407 ims-ext-common \
408 ims_ext_common.xml \
409 qti-telephony-hidl-wrapper \
Michael Bestasb603e382023-02-02 17:41:45 +0200410 qti-telephony-hidl-wrapper-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100411 qti_telephony_hidl_wrapper.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200412 qti_telephony_hidl_wrapper_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100413 qti-telephony-utils \
Michael Bestasb603e382023-02-02 17:41:45 +0200414 qti-telephony-utils-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100415 qti_telephony_utils.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200416 qti_telephony_utils_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100417 telephony-ext
418
419PRODUCT_BOOT_JARS += \
420 telephony-ext
421
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100422# Thermal
423PRODUCT_PACKAGES += \
424 android.hardware.thermal@2.0-service.qti
425
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100426# USB
427PRODUCT_PACKAGES += \
Albert Wang0dcdbc92021-03-25 00:03:02 +0800428 android.hardware.usb@1.3-service-qti
Roger Liaodcb2e032020-04-10 04:46:38 +0800429
Alexander Koskoviche62c05c2022-04-12 05:00:05 -0700430PRODUCT_SOONG_NAMESPACES += \
431 vendor/qcom/opensource/usb/etc
432
Roger Liaodcb2e032020-04-10 04:46:38 +0800433# vndservicemanager
434PRODUCT_PACKAGES += \
435 vndservicemanager
merothh66682a52021-11-13 19:20:17 +0530436
437# Vibrator
438PRODUCT_PACKAGES += \
Michael Bestas331ff2d2023-05-19 00:20:56 +0300439 vendor.qti.hardware.vibrator.service
Bruno Martins33165842021-06-19 12:54:58 +0100440
441PRODUCT_COPY_FILES += \
Michael Bestas331ff2d2023-05-19 00:20:56 +0300442 vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100443
444# WiFi
445PRODUCT_PACKAGES += \
Gabriel Birend6c1ff32023-03-27 22:33:41 +0000446 android.hardware.wifi-service \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100447 hostapd \
448 libwpa_client \
449 libwifi-hal-ctrl \
450 libwifi-hal-qcom \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100451 wpa_supplicant \
452 wpa_supplicant.conf
453
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100454# WiFi Display
455PRODUCT_PACKAGES += \
Edwin Moquetea06b2c42024-03-16 01:24:14 +0000456 android.media.audio.common.types-V2-cpp \
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100457 libnl \
Michael Bestas6cf15042024-05-09 01:13:02 +0300458 libwfdaac_vendor:32
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100459
460PRODUCT_BOOT_JARS += \
461 WfdCommon