blob: aab6bc2b541947ceff42fc63b831399e5b077b67 [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 \
Michael Bestas8fad4612023-08-30 03:25:06 +030042 audioadsprpcd \
merothh750fa002022-01-02 19:42:51 +053043 liba2dpoffload \
44 libbatterylistener \
Michael Bestas8fad4612023-08-30 03:25:06 +030045 libcirrusspkrprot \
merothh750fa002022-01-02 19:42:51 +053046 libcomprcapture \
47 libexthwplugin \
48 libhdmiedid \
49 libhfp \
merothh750fa002022-01-02 19:42:51 +053050 libqcompostprocbundle \
51 libqcomvisualizer \
52 libqcomvoiceprocessing \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030053 libsndmonitor \
54 libspkrprot \
Michael Bestas8fad4612023-08-30 03:25:06 +030055 libvolumelistener \
56 sound_trigger.primary.lahaina
merothh750fa002022-01-02 19:42:51 +053057
merothhd7649fd2022-01-02 20:05:19 +053058PRODUCT_COPY_FILES += \
59 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
Michael Bestas418f9e42023-08-30 04:50:56 +030060 $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/audio_io_policy.conf \
61 $(LOCAL_PATH)/audio/audio_platform_info_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/audio_platform_info_yupikidp.xml \
merothhd7649fd2022-01-02 20:05:19 +053062 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
Michael Bestasbbdf1532022-03-28 20:22:52 +030063 $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
Michael Bestas418f9e42023-08-30 04:50:56 +030064 $(LOCAL_PATH)/audio/audio_policy_configuration_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
65 $(LOCAL_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
Michael Bestasbbdf1532022-03-28 20:22:52 +030066 $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
Michael Bestas418f9e42023-08-30 04:50:56 +030067 $(LOCAL_PATH)/audio/mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/mixer_paths_yupikidp.xml \
68 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_mixer_paths_yupikidp.xml \
69 $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_platform_info.xml
merothhd7649fd2022-01-02 20:05:19 +053070
71PRODUCT_COPY_FILES += \
merothhd7649fd2022-01-02 20:05:19 +053072 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
73 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
74 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
Michael Bestas418f9e42023-08-30 04:50:56 +030075 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml
merothhd7649fd2022-01-02 20:05:19 +053076
Michael Bestas9d8a5f62024-05-12 08:50:28 +030077PRODUCT_COPY_FILES += \
78 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
79 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
80 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
merothh2e0e5682022-01-02 20:25:57 +053081
merothh750fa002022-01-02 19:42:51 +053082# Bluetooth
83PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +010084 android.hardware.bluetooth@1.0.vendor:64 \
Michael Bestasa427ed12024-05-12 10:09:47 +030085 vendor.qti.hardware.bluetooth_audio@2.1.vendor:32 \
86 vendor.qti.hardware.btconfigstore@1.0.vendor:64 \
87 vendor.qti.hardware.btconfigstore@2.0.vendor:64
merothh750fa002022-01-02 19:42:51 +053088
Michael Bestas9d8a5f62024-05-12 08:50:28 +030089PRODUCT_COPY_FILES += \
90 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
91 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
92
SGCMarkusc3293742022-10-31 18:07:07 +010093# Board API level
94BOARD_API_LEVEL := 30
95BOARD_SHIPPING_API_LEVEL := $(BOARD_API_LEVEL)
96
Michael Bestas9d8a5f62024-05-12 08:50:28 +030097# Boot control
98PRODUCT_PACKAGES += \
99 android.hardware.boot@1.1-impl-qti \
100 android.hardware.boot@1.1-impl-qti.recovery \
101 android.hardware.boot@1.1-service
102
merothha507a0f2022-01-02 20:11:36 +0530103# Camera
104PRODUCT_PACKAGES += \
105 android.hardware.camera.provider@2.4-impl \
106 android.hardware.camera.provider@2.4-service_64 \
merothha507a0f2022-01-02 20:11:36 +0530107 vendor.qti.hardware.camera.postproc@1.0.vendor
108
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300109PRODUCT_COPY_FILES += \
110 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
111 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
112 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
113 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
114
115# Dalvik
116$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
117
118# DebugFS
119PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
120
merothh7af51cb2022-01-02 20:14:21 +0530121# Display
122PRODUCT_PACKAGES += \
123 android.hardware.graphics.mapper@3.0-impl-qti-display \
124 android.hardware.graphics.mapper@4.0-impl-qti-display \
125 android.hardware.memtrack@1.0-impl \
126 android.hardware.memtrack@1.0-service \
127 android.hardware.renderscript@1.0-impl \
Michael Bestasbcba0502023-08-29 22:43:01 +0300128 init.qti.display_boot.rc \
Rohit R Sekhar260f7c12022-11-17 21:27:27 +0530129 init.qti.display_boot.sh \
merothh7af51cb2022-01-02 20:14:21 +0530130 libdisplayconfig.qti \
LuK1337efb41462022-10-12 09:33:30 +0200131 libdisplayconfig.system.qti \
merothh7af51cb2022-01-02 20:14:21 +0530132 libqdMetaData \
133 libsdmcore \
134 libsdmutils \
Michael Bestasbcba0502023-08-29 22:43:01 +0300135 memtrack.default \
Michael Bestas6cf15042024-05-09 01:13:02 +0300136 vendor.display.config@1.0.vendor:64 \
merothh7af51cb2022-01-02 20:14:21 +0530137 vendor.display.config@2.0 \
138 vendor.display.config@2.0.vendor \
139 vendor.qti.hardware.display.allocator-service \
140 vendor.qti.hardware.display.composer-service \
LuK133711e3cef2023-12-22 19:59:44 +0100141 vendor.qti.hardware.display.config-V5-ndk \
merothh7af51cb2022-01-02 20:14:21 +0530142 vendor.qti.hardware.display.mapper@1.1.vendor \
143 vendor.qti.hardware.display.mapper@2.0.vendor \
144 vendor.qti.hardware.display.mapper@3.0.vendor \
145 vendor.qti.hardware.display.mapper@4.0.vendor
146
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300147PRODUCT_COPY_FILES += \
148 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 -0700149
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100150# DRM
151PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100152 android.hardware.drm@1.3.vendor \
Bruno Martins09cfb262022-09-14 14:51:15 +0100153 android.hardware.drm-service.clearkey
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100154
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300155# e-SIM
merothh2b9692d2022-01-14 00:55:59 +0530156PRODUCT_COPY_FILES += \
157 $(LOCAL_PATH)/configs/privapp-permissions-euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-euicc.xml
158
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300159PRODUCT_COPY_FILES += \
160 frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml
161
merothh54856102021-11-04 12:07:41 +0530162# fastbootd
163PRODUCT_PACKAGES += \
164 fastbootd
165
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300166# Fingerprint
167PRODUCT_PACKAGES += \
168 android.hardware.biometrics.fingerprint@2.1-service
169
170PRODUCT_COPY_FILES += \
171 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
172
LuK133737154bf2021-12-14 11:42:44 +0100173# Gatekeeper
174PRODUCT_PACKAGES += \
175 android.hardware.gatekeeper@1.0.vendor:64
176
177# GPS
178PRODUCT_PACKAGES += \
Michael Bestas6cf15042024-05-09 01:13:02 +0300179 android.hardware.gnss@2.1-impl-qti:64 \
Michael Bestasd870a482023-05-04 01:19:43 +0300180 android.hardware.gnss@2.1-service-qti \
181 gnss@2.0-base.policy \
182 gnss@2.0-xtra-daemon.policy \
Michael Bestas6cf15042024-05-09 01:13:02 +0300183 libbatching:64 \
184 libgeofencing:64 \
185 libgnss:64 \
186 libloc_socket:64
LuK133737154bf2021-12-14 11:42:44 +0100187
Michael Bestas097b8902023-05-12 16:24:16 +0300188PRODUCT_PACKAGES += \
189 flp.conf \
Michael Bestasdd911262024-05-09 01:36:21 +0300190 gnss_antenna_info.conf \
Michael Bestas097b8902023-05-12 16:24:16 +0300191 gps.conf \
192 izat.conf
193
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300194PRODUCT_COPY_FILES += \
195 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
196
197# Graphics
198PRODUCT_COPY_FILES += \
199 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
200 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
201 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
202 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 +0800203 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 \
204 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 +0300205
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100206# Health
207PRODUCT_PACKAGES += \
Michael Bestas99a5c712023-08-30 21:12:04 +0300208 android.hardware.health-service.qti
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100209
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100210# HIDL
211PRODUCT_PACKAGES += \
LuK133759bce602022-04-26 10:56:05 +0200212 libhidltransport.vendor \
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100213 libhwbinder.vendor
214
Michael Bestasd4923512024-05-10 02:57:20 +0300215# Init
216PRODUCT_PACKAGES += \
217 fstab.default \
Michael Bestas0134c1e2023-08-30 13:51:03 +0300218 fstab.default.vendor_ramdisk \
Michael Bestasd4923512024-05-10 02:57:20 +0300219 init.class_main.sh \
220 init.qcom.early_boot.sh \
221 init.qcom.post_boot.sh \
222 init.qcom.rc \
223 init.qcom.recovery.rc \
224 init.qcom.sh \
225 init.qcom.usb.rc \
226 init.qcom.usb.sh \
Michael Bestasd4923512024-05-10 02:57:20 +0300227 init.stnfc.rc \
228 init.target.rc \
229 ueventd.qcom.rc
230
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100231# IPACM
232PRODUCT_PACKAGES += \
233 ipacm \
Michael Bestas6cf15042024-05-09 01:13:02 +0300234 IPACM_cfg.xml
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100235
LuK133737154bf2021-12-14 11:42:44 +0100236# Keymaster
237PRODUCT_PACKAGES += \
Michael Bestas069d86e2023-08-30 17:55:01 +0300238 android.hardware.hardware_keystore.km41.xml \
LuK133737154bf2021-12-14 11:42:44 +0100239 android.hardware.keymaster@4.1.vendor:64
240
merothh431b69d2022-01-03 01:32:52 +0530241# Media
242PRODUCT_PACKAGES += \
243 libavservices_minijail \
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300244 libavservices_minijail.vendor \
245 libcodec2_hidl@1.0.vendor:32
merothh431b69d2022-01-03 01:32:52 +0530246
merothhf25a4a72022-01-02 21:45:42 +0530247PRODUCT_COPY_FILES += \
248 $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
merothhf25a4a72022-01-02 21:45:42 +0530249 $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
Michael Bestas25358082023-08-30 13:19:27 +0300250 $(LOCAL_PATH)/media/media_codecs_performance_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_yupik_iot.xml \
Michael Bestas6086eeb2024-05-09 01:00:22 +0300251 $(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
Michael Bestas25358082023-08-30 13:19:27 +0300252 $(LOCAL_PATH)/media/media_codecs_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_yupik_iot.xml \
253 $(LOCAL_PATH)/media/media_profiles_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
merothhf25a4a72022-01-02 21:45:42 +0530254
Michael Bestas6086eeb2024-05-09 01:00:22 +0300255PRODUCT_COPY_FILES += \
256 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
257 frameworks/av/media/libstagefright/data/media_codecs_google_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2.xml \
258 frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_audio.xml \
259 frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml \
260 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
261 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
262 frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml
263
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530264# Net
265PRODUCT_PACKAGES += \
Sebastiano Barezzi5a90fbc2022-05-28 10:29:35 +0200266 android.system.net.netd@1.1.vendor:64
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530267
Andrew Hexena9aed252020-09-26 11:51:58 -0700268# NFC
269PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100270 android.hardware.nfc@1.2.vendor:64 \
271 android.hardware.secure_element@1.2.vendor:64 \
Andrew Hexena9aed252020-09-26 11:51:58 -0700272 com.android.nfc_extras \
Andrew Hexena9aed252020-09-26 11:51:58 -0700273 Tag
274
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300275PRODUCT_COPY_FILES += \
276 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
277 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
278 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
279 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
280 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
281 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 +0300282 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 +0300283
Sebastiano Barezzied138322021-02-10 22:04:15 +0100284# OMX
285PRODUCT_PACKAGES += \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100286 libOmxAacEnc \
287 libOmxAmrEnc \
288 libOmxCore \
289 libOmxEvrcEnc \
290 libOmxG711Enc \
291 libOmxQcelp13Enc \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100292 libstagefrighthw
293
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300294# Overlays
295DEVICE_PACKAGE_OVERLAYS += \
296 $(LOCAL_PATH)/overlay-lineage
297
298PRODUCT_ENFORCE_RRO_TARGETS := *
299PRODUCT_PACKAGES += \
300 CarrierConfigResCommon \
301 FrameworksResCommon \
302 FrameworksResTarget \
303 SettingsProviderResCommon \
304 SettingsResCommon \
305 SystemUIResCommon \
306 SystemUIResTarget \
307 TelephonyResCommon \
308 WifiResCommon
309
310# Partitions
311PRODUCT_USE_DYNAMIC_PARTITIONS := true
312
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100313# Power
314PRODUCT_PACKAGES += \
315 android.hardware.power-service-qti \
LuK133737154bf2021-12-14 11:42:44 +0100316 android.hardware.power@1.2.vendor \
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100317 vendor.qti.hardware.perf@2.2.vendor
318
merothh00be0602022-01-02 23:00:09 +0530319# Public libraries
320PRODUCT_COPY_FILES += \
321 $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
322
Sebastiano Barezzi17434b22021-02-10 22:06:22 +0100323# QTI fwk-detect
324PRODUCT_PACKAGES += \
325 libqti_vndfwk_detect \
326 libqti_vndfwk_detect.vendor \
327 libvndfwk_detect_jni.qti \
328 libvndfwk_detect_jni.qti.vendor
329
Michael Bestas5191be32023-08-29 22:42:36 +0300330# QTI service tracker
331PRODUCT_PACKAGES += \
332 vendor.qti.hardware.servicetracker@1.2.vendor:64
333
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100334# RIL
335PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100336 android.hardware.radio@1.5.vendor:64 \
337 android.hardware.radio.config@1.2.vendor:64 \
338 android.hardware.radio.deprecated@1.0.vendor:64 \
Michael Bestas6cf15042024-05-09 01:13:02 +0300339 libjson:64 \
basamaryan2949c342023-10-07 15:17:04 -0400340 libprotobuf-cpp-full-3.9.1-vendorcompat \
LuK1337ee9ba222023-10-20 00:53:15 +0200341 libprotobuf-cpp-lite-3.9.1-vendorcompat \
Demon Singura88a1902018-07-14 14:37:51 +0000342 librmnetctl:64
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100343
Andrew Hexen3929a452021-02-15 06:33:18 -0800344# Sensors
345PRODUCT_PACKAGES += \
LuK1337c2646f22023-10-21 16:34:40 +0200346 android.frameworks.sensorservice@1.0.vendor:64 \
Andrew Hexen3929a452021-02-15 06:33:18 -0800347 android.hardware.sensors@2.0-service.multihal
348
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300349PRODUCT_COPY_FILES += \
350 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
351 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
352 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
353 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
354 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
355 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
356 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
357
358# Shipping API
Michael Bestas40301cc2023-08-31 20:48:36 +0300359PRODUCT_SHIPPING_API_LEVEL := 33
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300360
361# Soong namespaces
merothh54856102021-11-04 12:07:41 +0530362PRODUCT_SOONG_NAMESPACES += \
363 $(LOCAL_PATH)
364
Michael Bestas40301cc2023-08-31 20:48:36 +0300365# Storage
366$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
367
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100368# Telephony
369PRODUCT_PACKAGES += \
Michael Bestasb603e382023-02-02 17:41:45 +0200370 extphonelib \
371 extphonelib-product \
372 extphonelib.xml \
373 extphonelib_product.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100374 ims-ext-common \
375 ims_ext_common.xml \
376 qti-telephony-hidl-wrapper \
Michael Bestasb603e382023-02-02 17:41:45 +0200377 qti-telephony-hidl-wrapper-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100378 qti_telephony_hidl_wrapper.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200379 qti_telephony_hidl_wrapper_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100380 qti-telephony-utils \
Michael Bestasb603e382023-02-02 17:41:45 +0200381 qti-telephony-utils-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100382 qti_telephony_utils.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200383 qti_telephony_utils_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100384 telephony-ext
385
386PRODUCT_BOOT_JARS += \
387 telephony-ext
388
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300389PRODUCT_COPY_FILES += \
390 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
391 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 +0530392 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 +0300393
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100394# Thermal
395PRODUCT_PACKAGES += \
396 android.hardware.thermal@2.0-service.qti
397
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300398# Update engine
399PRODUCT_PACKAGES += \
400 update_engine \
401 update_engine_sideload \
402 update_verifier
403
404PRODUCT_PACKAGES_DEBUG += \
405 update_engine_client
406
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100407# USB
408PRODUCT_PACKAGES += \
Albert Wang0dcdbc92021-03-25 00:03:02 +0800409 android.hardware.usb@1.3-service-qti
Roger Liaodcb2e032020-04-10 04:46:38 +0800410
Alexander Koskoviche62c05c2022-04-12 05:00:05 -0700411PRODUCT_SOONG_NAMESPACES += \
412 vendor/qcom/opensource/usb/etc
413
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300414PRODUCT_COPY_FILES += \
415 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
416 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
417
418# Vendor service manager
Roger Liaodcb2e032020-04-10 04:46:38 +0800419PRODUCT_PACKAGES += \
420 vndservicemanager
merothh66682a52021-11-13 19:20:17 +0530421
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300422# Verified Boot
423PRODUCT_COPY_FILES += \
424 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
425
merothh66682a52021-11-13 19:20:17 +0530426# Vibrator
427PRODUCT_PACKAGES += \
Rohit Sekharffae9e42023-08-23 15:30:52 +0530428 vendor.qti.hardware.vibrator.service.FP5
Bruno Martins33165842021-06-19 12:54:58 +0100429
430PRODUCT_COPY_FILES += \
Rohit Sekharffae9e42023-08-23 15:30:52 +0530431 $(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100432
433# WiFi
434PRODUCT_PACKAGES += \
Gabriel Birend6c1ff32023-03-27 22:33:41 +0000435 android.hardware.wifi-service \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100436 hostapd \
437 libwpa_client \
438 libwifi-hal-ctrl \
439 libwifi-hal-qcom \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100440 wpa_supplicant \
441 wpa_supplicant.conf
442
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300443PRODUCT_COPY_FILES += \
Michael Bestas069d86e2023-08-30 17:55:01 +0300444 frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300445 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
446 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
Michael Bestas069d86e2023-08-30 17:55:01 +0300447 frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300448 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
449 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
450
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100451# WiFi Display
452PRODUCT_PACKAGES += \
Edwin Moquetea06b2c42024-03-16 01:24:14 +0000453 android.media.audio.common.types-V2-cpp \
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100454 libnl \
Michael Bestas6cf15042024-05-09 01:13:02 +0300455 libwfdaac_vendor:32
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100456
457PRODUCT_BOOT_JARS += \
458 WfdCommon
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300459
460# Inherit from the proprietary files makefile.
Michael Bestas10374532023-08-29 19:41:38 +0300461$(call inherit-product, vendor/fairphone/FP5/FP5-vendor.mk)