blob: 473725f356877d04a694e463cfdd096b20fa5128 [file] [log] [blame]
merothh54856102021-11-04 12:07:41 +05301#
2# Copyright (C) 2021 The LineageOS Project
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7PRODUCT_USE_DYNAMIC_PARTITIONS := true
merothh726fc3a2022-01-03 04:59:57 +05308BOARD_BUILD_SUPER_IMAGE := true
9BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true
Roger Liao67b33f62020-04-06 23:38:49 +080010PRODUCT_SHIPPING_API_LEVEL := 30
merothh54856102021-11-04 12:07:41 +053011
12# Enable virtual A/B OTA
13$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
14
Luca Stefani82ac4352019-09-12 23:47:56 +020015# Enable updating of APEXes
16$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
17
Lokesh Gidra9fe4b8c2019-12-06 13:19:19 -080018# Setup dalvik vm configs
19$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
20
merothhacf1dfa2022-01-02 18:21:21 +053021# Get non-open-source specific aspects
22$(call inherit-product, vendor/fairphone/FP4/FP4-vendor.mk)
23
merothh750fa002022-01-02 19:42:51 +053024# Overlays
25DEVICE_PACKAGE_OVERLAYS += \
merothhc973b6f2022-01-03 05:05:17 +053026 $(LOCAL_PATH)/overlay \
27 $(LOCAL_PATH)/overlay-lineage
merothh750fa002022-01-02 19:42:51 +053028
29PRODUCT_ENFORCE_RRO_TARGETS := *
merothhc973b6f2022-01-03 05:05:17 +053030PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += $(LOCAL_PATH)/overlay/packages/apps/CarrierConfig
merothh750fa002022-01-02 19:42:51 +053031
merothh193efdd2022-01-03 04:43:57 +053032# Permissions
33PRODUCT_COPY_FILES += \
34 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
35 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
36 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
37 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
38 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
39 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
40 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
41 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
42 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
43 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
44 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/android.hardware.nfc.hcef.xml \
45 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
46 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
47 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
48 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
49 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
50 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
51 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
52 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
53 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
54 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
55 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
56 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
57 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
58 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
59 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
60 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
61 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
62 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
63 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
64 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
65 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
66 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
67 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
68 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
69 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
70 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
71 frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
72 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \
73 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 \
74 frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
75 frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
76 frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml
77
merothh54856102021-11-04 12:07:41 +053078# A/B
79PRODUCT_PACKAGES += \
80 android.hardware.boot@1.1-impl-qti \
81 android.hardware.boot@1.1-impl-qti.recovery \
82 android.hardware.boot@1.1-service
83
84AB_OTA_POSTINSTALL_CONFIG += \
85 RUN_POSTINSTALL_system=true \
86 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
87 FILESYSTEM_TYPE_system=ext4 \
88 POSTINSTALL_OPTIONAL_system=true
89
90AB_OTA_POSTINSTALL_CONFIG += \
91 RUN_POSTINSTALL_vendor=true \
92 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
93 FILESYSTEM_TYPE_vendor=ext4 \
94 POSTINSTALL_OPTIONAL_vendor=true
95
96PRODUCT_PACKAGES += \
97 checkpoint_gc \
98 otapreopt_script
99
100PRODUCT_PACKAGES += \
101 update_engine \
102 update_engine_client \
103 update_verifier \
104 update_engine_sideload
105
Sebastiano Barezzif8bb2bd2021-02-10 21:58:07 +0100106# Atrace
107PRODUCT_PACKAGES += \
108 android.hardware.atrace@1.0-service
109
merothh750fa002022-01-02 19:42:51 +0530110# Audio (HIDL)
111PRODUCT_PACKAGES += \
112 android.hardware.audio@6.0-impl \
113 android.hardware.audio.effect@6.0-impl \
114 android.hardware.audio.service \
115 android.hardware.soundtrigger@2.3-impl
116
117# Audio (Hardware)
118PRODUCT_PACKAGES += \
Rohit00be9f42023-03-20 16:00:09 +0530119 audio_amplifier.lito \
Rohit7737da62023-03-17 14:44:12 +0530120 audio.primary.lito \
merothh750fa002022-01-02 19:42:51 +0530121 audio.r_submix.default \
122 audio.usb.default
123
124# Audio (Extensions)
125PRODUCT_PACKAGES += \
126 liba2dpoffload \
127 libbatterylistener \
128 libcomprcapture \
129 libexthwplugin \
130 libhdmiedid \
131 libhfp \
132 libsndmonitor \
133 libspkrprot
134
135# Audio (SoundFX)
136PRODUCT_PACKAGES += \
137 libaudiopreprocessing \
138 libbundlewrapper \
139 libdownmix \
140 libdynproc \
141 libeffectproxy \
142 libldnhncr \
143 libqcompostprocbundle \
144 libqcomvisualizer \
145 libqcomvoiceprocessing \
146 libreverbwrapper \
147 libvisualizer \
148 libvolumelistener
149
merothhd7649fd2022-01-02 20:05:19 +0530150PRODUCT_COPY_FILES += \
151 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
152 $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
Rohit7737da62023-03-17 14:44:12 +0530153 $(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 +0530154 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
Michael Bestasbbdf1532022-03-28 20:22:52 +0300155 $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
156 $(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 +0530157 $(LOCAL_PATH)/audio/mixer_paths_lagoon_fp4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_lagoonmtp.xml \
merothhd7649fd2022-01-02 20:05:19 +0530158 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
159 $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml
160
161PRODUCT_COPY_FILES += \
merothhd7649fd2022-01-02 20:05:19 +0530162 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
163 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
164 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
165 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
166 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
167
merothh2e0e5682022-01-02 20:25:57 +0530168# Biometrics
169PRODUCT_PACKAGES += \
170 android.hardware.biometrics.fingerprint@2.1-service
171
merothh750fa002022-01-02 19:42:51 +0530172# Bluetooth
173PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100174 android.hardware.bluetooth@1.0.vendor:64 \
Michael Bestasb12f5062022-02-22 20:38:00 +0200175 android.hardware.bluetooth.audio@2.0-impl \
merothh750fa002022-01-02 19:42:51 +0530176 audio.bluetooth.default \
177 com.dsi.ant@1.0.vendor \
178 vendor.qti.hardware.bluetooth_audio@2.1.vendor \
179 vendor.qti.hardware.btconfigstore@1.0.vendor \
180 vendor.qti.hardware.btconfigstore@2.0.vendor
181
merothha507a0f2022-01-02 20:11:36 +0530182# Camera
183PRODUCT_PACKAGES += \
184 android.hardware.camera.provider@2.4-impl \
185 android.hardware.camera.provider@2.4-service_64 \
186 vendor.qti.hardware.camera.device@1.0.vendor \
187 vendor.qti.hardware.camera.postproc@1.0.vendor
188
merothh7af51cb2022-01-02 20:14:21 +0530189# Display
190PRODUCT_PACKAGES += \
191 android.hardware.graphics.mapper@3.0-impl-qti-display \
192 android.hardware.graphics.mapper@4.0-impl-qti-display \
193 android.hardware.memtrack@1.0-impl \
194 android.hardware.memtrack@1.0-service \
195 android.hardware.renderscript@1.0-impl \
196 gralloc.lito \
Rohit R Sekhar260f7c12022-11-17 21:27:27 +0530197 init.qti.display_boot.sh \
merothh7af51cb2022-01-02 20:14:21 +0530198 memtrack.lito \
199 libdisplayconfig.qti \
LuK1337efb41462022-10-12 09:33:30 +0200200 libdisplayconfig.system.qti \
merothh7af51cb2022-01-02 20:14:21 +0530201 libqdMetaData \
LuK1337efb41462022-10-12 09:33:30 +0200202 libqdMetaData.system \
merothh7af51cb2022-01-02 20:14:21 +0530203 libsdmcore \
204 libsdmutils \
205 libtinyxml \
206 libvulkan \
207 vendor.display.config@1.5 \
208 vendor.display.config@1.11.vendor \
209 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 \
213 vendor.qti.hardware.display.mapper@1.1.vendor \
214 vendor.qti.hardware.display.mapper@2.0.vendor \
215 vendor.qti.hardware.display.mapper@3.0.vendor \
216 vendor.qti.hardware.display.mapper@4.0.vendor
217
Hridya Valsarajuacf54302021-04-02 11:33:45 -0700218# DebugFS
219PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
220
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100221# DRM
222PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100223 android.hardware.drm@1.3.vendor \
Edwin Wongd3818522021-03-25 00:19:58 -0700224 android.hardware.drm@1.4-service.clearkey
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100225
merothh2b9692d2022-01-14 00:55:59 +0530226# Euicc
227PRODUCT_COPY_FILES += \
228 $(LOCAL_PATH)/configs/privapp-permissions-euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-euicc.xml
229
merothh54856102021-11-04 12:07:41 +0530230# fastbootd
231PRODUCT_PACKAGES += \
232 fastbootd
233
LuK133737154bf2021-12-14 11:42:44 +0100234# Gatekeeper
235PRODUCT_PACKAGES += \
236 android.hardware.gatekeeper@1.0.vendor:64
237
238# GPS
239PRODUCT_PACKAGES += \
240 android.hardware.gnss.measurement_corrections@1.1.vendor:64 \
241 android.hardware.gnss.visibility_control@1.0.vendor:64 \
242 android.hardware.gnss@2.1.vendor:64
243
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100244# Health
245PRODUCT_PACKAGES += \
246 android.hardware.health@2.1-impl \
247 android.hardware.health@2.1-service
248
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100249# HIDL
250PRODUCT_PACKAGES += \
LuK133759bce602022-04-26 10:56:05 +0200251 libhidltransport.vendor \
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100252 libhwbinder.vendor
253
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100254# IPACM
255PRODUCT_PACKAGES += \
256 ipacm \
257 IPACM_cfg.xml \
258 libipanat \
259 liboffloadhal
260
LuK133737154bf2021-12-14 11:42:44 +0100261# Keymaster
262PRODUCT_PACKAGES += \
263 android.hardware.keymaster@4.1.vendor:64
264
merothh431b69d2022-01-03 01:32:52 +0530265# Media
266PRODUCT_PACKAGES += \
267 libavservices_minijail \
268 libavservices_minijail.vendor
269
merothhf25a4a72022-01-02 21:45:42 +0530270PRODUCT_COPY_FILES += \
271 $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
272 $(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
273 $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
274 $(LOCAL_PATH)/media/media_codecs_performance_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v1.xml \
275 $(LOCAL_PATH)/media/media_codecs_performance_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v2.xml \
276 $(LOCAL_PATH)/media/media_codecs_performance_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v2.xml \
277 $(LOCAL_PATH)/media/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
278 $(LOCAL_PATH)/media/media_codecs_vendor_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v1.xml \
279 $(LOCAL_PATH)/media/media_codecs_vendor_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v2.xml \
280 $(LOCAL_PATH)/media/media_codecs_vendor_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v3.xml \
281 $(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
282 $(LOCAL_PATH)/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
283
merothh694b09a2022-01-02 22:58:24 +0530284# Media (Codec2)
285PRODUCT_PACKAGES += \
286 libcodec2_hidl@1.0.vendor \
287 libcodec2_vndk.vendor \
288
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530289# Net
290PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100291 android.system.net.netd@1.1.vendor:64 \
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530292 netutils-wrapper-1.0
293
LuK133737154bf2021-12-14 11:42:44 +0100294# Neural networks
295PRODUCT_PACKAGES += \
296 android.hardware.neuralnetworks@1.3.vendor:64
297
Andrew Hexena9aed252020-09-26 11:51:58 -0700298# NFC
299PRODUCT_PACKAGES += \
merothh59dd2962022-02-01 14:24:54 +0530300 android.hardware.nfc@1.2 \
LuK133737154bf2021-12-14 11:42:44 +0100301 android.hardware.nfc@1.2.vendor:64 \
302 android.hardware.secure_element@1.2.vendor:64 \
Andrew Hexena9aed252020-09-26 11:51:58 -0700303 com.android.nfc_extras \
304 NfcNci \
305 SecureElement \
306 Tag
307
Sebastiano Barezzied138322021-02-10 22:04:15 +0100308# OMX
309PRODUCT_PACKAGES += \
310 libmm-omxcore \
311 libOmxAacEnc \
312 libOmxAmrEnc \
313 libOmxCore \
314 libOmxEvrcEnc \
315 libOmxG711Enc \
316 libOmxQcelp13Enc \
317 libOmxVdec \
318 libOmxVenc \
319 libstagefrighthw
320
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100321# Power
322PRODUCT_PACKAGES += \
323 android.hardware.power-service-qti \
LuK133737154bf2021-12-14 11:42:44 +0100324 android.hardware.power@1.2.vendor \
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100325 vendor.qti.hardware.perf@2.2.vendor
326
merothh00be0602022-01-02 23:00:09 +0530327# Public libraries
328PRODUCT_COPY_FILES += \
329 $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
330
Sebastiano Barezzi17434b22021-02-10 22:06:22 +0100331# QTI fwk-detect
332PRODUCT_PACKAGES += \
333 libqti_vndfwk_detect \
334 libqti_vndfwk_detect.vendor \
335 libvndfwk_detect_jni.qti \
336 libvndfwk_detect_jni.qti.vendor
337
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100338# RIL
339PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100340 android.hardware.radio@1.5.vendor:64 \
341 android.hardware.radio.config@1.2.vendor:64 \
342 android.hardware.radio.deprecated@1.0.vendor:64 \
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100343 libjson \
344 libprotobuf-cpp-full \
345 librmnetctl \
346 libxml2
347
Andrew Hexen3929a452021-02-15 06:33:18 -0800348# Sensors
349PRODUCT_PACKAGES += \
350 android.hardware.sensors@2.0-service.multihal
351
merothh54856102021-11-04 12:07:41 +0530352# Soong Namespaces
353PRODUCT_SOONG_NAMESPACES += \
354 $(LOCAL_PATH)
355
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100356# Telephony
357PRODUCT_PACKAGES += \
Michael Bestasb603e382023-02-02 17:41:45 +0200358 extphonelib \
359 extphonelib-product \
360 extphonelib.xml \
361 extphonelib_product.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100362 ims-ext-common \
363 ims_ext_common.xml \
364 qti-telephony-hidl-wrapper \
Michael Bestasb603e382023-02-02 17:41:45 +0200365 qti-telephony-hidl-wrapper-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100366 qti_telephony_hidl_wrapper.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200367 qti_telephony_hidl_wrapper_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100368 qti-telephony-utils \
Michael Bestasb603e382023-02-02 17:41:45 +0200369 qti-telephony-utils-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100370 qti_telephony_utils.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200371 qti_telephony_utils_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100372 telephony-ext
373
374PRODUCT_BOOT_JARS += \
375 telephony-ext
376
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100377# Thermal
378PRODUCT_PACKAGES += \
379 android.hardware.thermal@2.0-service.qti
380
merothh54856102021-11-04 12:07:41 +0530381# Ramdisk
382PRODUCT_COPY_FILES += \
383 $(LOCAL_PATH)/rootdir/etc/fstab.default:$(TARGET_COPY_OUT_RAMDISK)/fstab.default
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100384
merothh32be6882022-01-03 01:54:57 +0530385# Rootdir
386PRODUCT_PACKAGES += \
387 init.class_main.sh \
388 init.qcom.class_core.sh \
389 init.qcom.early_boot.sh \
390 init.qcom.post_boot.sh \
391 init.qcom.sh \
merothhf81fec62022-01-03 03:22:01 +0530392 init.qcom.usb.sh \
393 init.qti.dcvs.sh \
394 init.qti.qcv.sh
merothh32be6882022-01-03 01:54:57 +0530395
396PRODUCT_PACKAGES += \
397 init.qcom.rc \
398 init.qcom.usb.rc \
merothhf81fec62022-01-03 03:22:01 +0530399 init.qti.qcv.rc \
Michael Bestas6e2df4f2022-02-22 00:04:50 +0200400 init.recovery.qcom.rc \
merothhf81fec62022-01-03 03:22:01 +0530401 init.stnfc.rc \
merothh32be6882022-01-03 01:54:57 +0530402 init.target.rc \
403 fstab.default \
404 ueventd.qcom.rc
405
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100406# USB
407PRODUCT_PACKAGES += \
Albert Wang0dcdbc92021-03-25 00:03:02 +0800408 android.hardware.usb@1.3-service-qti
Roger Liaodcb2e032020-04-10 04:46:38 +0800409
Alexander Koskoviche62c05c2022-04-12 05:00:05 -0700410PRODUCT_SOONG_NAMESPACES += \
411 vendor/qcom/opensource/usb/etc
412
Roger Liaodcb2e032020-04-10 04:46:38 +0800413# vndservicemanager
414PRODUCT_PACKAGES += \
415 vndservicemanager
merothh66682a52021-11-13 19:20:17 +0530416
417# Vibrator
418PRODUCT_PACKAGES += \
419 vendor.qti.hardware.vibrator.service.FP4
Bruno Martins33165842021-06-19 12:54:58 +0100420
421PRODUCT_COPY_FILES += \
422 $(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100423
424# WiFi
425PRODUCT_PACKAGES += \
426 android.hardware.wifi@1.0-service \
427 hostapd \
428 libwpa_client \
429 libwifi-hal-ctrl \
430 libwifi-hal-qcom \
Roshan Pius595263d2020-04-24 14:33:28 -0700431 WifiOverlay \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100432 wpa_supplicant \
433 wpa_supplicant.conf
434
435PRODUCT_COPY_FILES += \
436 $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini \
437 $(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
438 $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100439
440# WiFi Display
441PRODUCT_PACKAGES += \
442 libnl \
443 libwfdaac_vendor
444
445PRODUCT_BOOT_JARS += \
446 WfdCommon