blob: 39960e85adc573783cce76df089ee1a64a7d5894 [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
Bruno Martinsd40ad792024-06-23 12:29:15 +01006# Add common definitions for Qualcomm
7$(call inherit-product, hardware/qcom-caf/common/common.mk)
8
merothh54856102021-11-04 12:07:41 +05309# A/B
Michael Bestas99a5c712023-08-30 21:12:04 +030010$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
merothh54856102021-11-04 12:07:41 +053011
12AB_OTA_POSTINSTALL_CONFIG += \
13 RUN_POSTINSTALL_system=true \
14 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
15 FILESYSTEM_TYPE_system=ext4 \
16 POSTINSTALL_OPTIONAL_system=true
17
18AB_OTA_POSTINSTALL_CONFIG += \
19 RUN_POSTINSTALL_vendor=true \
20 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
21 FILESYSTEM_TYPE_vendor=ext4 \
22 POSTINSTALL_OPTIONAL_vendor=true
23
24PRODUCT_PACKAGES += \
25 checkpoint_gc \
26 otapreopt_script
27
Michael Bestasebc23d02024-05-12 08:53:48 +030028# ANT+
29PRODUCT_PACKAGES += \
30 AntHalService-Soong \
31 com.dsi.ant@1.0.vendor
32
Michael Bestas9d8a5f62024-05-12 08:50:28 +030033# Audio
merothh750fa002022-01-02 19:42:51 +053034PRODUCT_PACKAGES += \
35 android.hardware.audio@6.0-impl \
36 android.hardware.audio.effect@6.0-impl \
37 android.hardware.audio.service \
Josh Wud049c482022-01-24 22:56:14 -080038 android.hardware.bluetooth.audio-impl \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030039 android.hardware.soundtrigger@2.3-impl \
40 audio.bluetooth.default \
Michael Bestas7daa2d42023-08-29 20:12:57 +030041 audio.primary.lahaina \
merothh750fa002022-01-02 19:42:51 +053042 audio.r_submix.default \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030043 audio.usb.default \
Michael Bestas7daa2d42023-08-29 20:12:57 +030044 audio_amplifier.lahaina \
Michael Bestas8fad4612023-08-30 03:25:06 +030045 audioadsprpcd \
Michael Bestas1a329d52024-06-24 00:14:42 +030046 firmware_aw_cali.bin_symlink \
merothh750fa002022-01-02 19:42:51 +053047 liba2dpoffload \
48 libbatterylistener \
Michael Bestas8fad4612023-08-30 03:25:06 +030049 libcirrusspkrprot \
merothh750fa002022-01-02 19:42:51 +053050 libcomprcapture \
51 libexthwplugin \
52 libhdmiedid \
53 libhfp \
merothh750fa002022-01-02 19:42:51 +053054 libqcompostprocbundle \
55 libqcomvisualizer \
56 libqcomvoiceprocessing \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030057 libsndmonitor \
58 libspkrprot \
Michael Bestas8fad4612023-08-30 03:25:06 +030059 libvolumelistener \
60 sound_trigger.primary.lahaina
merothh750fa002022-01-02 19:42:51 +053061
merothhd7649fd2022-01-02 20:05:19 +053062PRODUCT_COPY_FILES += \
63 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
Michael Bestas418f9e42023-08-30 04:50:56 +030064 $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/audio_io_policy.conf \
65 $(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 +053066 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
Michael Bestasbbdf1532022-03-28 20:22:52 +030067 $(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 +030068 $(LOCAL_PATH)/audio/audio_policy_configuration_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
69 $(LOCAL_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
Michael Bestasbbdf1532022-03-28 20:22:52 +030070 $(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 +030071 $(LOCAL_PATH)/audio/mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/mixer_paths_yupikidp.xml \
72 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_mixer_paths_yupikidp.xml \
73 $(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 +053074
75PRODUCT_COPY_FILES += \
merothhd7649fd2022-01-02 20:05:19 +053076 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
77 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
78 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 +030079 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 +053080
Michael Bestas9d8a5f62024-05-12 08:50:28 +030081PRODUCT_COPY_FILES += \
82 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
83 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
84 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
merothh2e0e5682022-01-02 20:25:57 +053085
merothh750fa002022-01-02 19:42:51 +053086# Bluetooth
87PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +010088 android.hardware.bluetooth@1.0.vendor:64 \
Michael Bestasa427ed12024-05-12 10:09:47 +030089 vendor.qti.hardware.bluetooth_audio@2.1.vendor:32 \
90 vendor.qti.hardware.btconfigstore@1.0.vendor:64 \
91 vendor.qti.hardware.btconfigstore@2.0.vendor:64
merothh750fa002022-01-02 19:42:51 +053092
Michael Bestas9d8a5f62024-05-12 08:50:28 +030093PRODUCT_COPY_FILES += \
94 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
95 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
96
SGCMarkusc3293742022-10-31 18:07:07 +010097# Board API level
Chirayu Desai2b6c5452024-06-13 21:10:42 +053098BOARD_SHIPPING_API_LEVEL := 30
SGCMarkusc3293742022-10-31 18:07:07 +010099
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300100# Boot control
101PRODUCT_PACKAGES += \
102 android.hardware.boot@1.1-impl-qti \
103 android.hardware.boot@1.1-impl-qti.recovery \
104 android.hardware.boot@1.1-service
105
merothha507a0f2022-01-02 20:11:36 +0530106# Camera
107PRODUCT_PACKAGES += \
108 android.hardware.camera.provider@2.4-impl \
109 android.hardware.camera.provider@2.4-service_64 \
merothha507a0f2022-01-02 20:11:36 +0530110 vendor.qti.hardware.camera.postproc@1.0.vendor
111
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300112PRODUCT_COPY_FILES += \
113 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
114 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
115 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
116 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
117
118# Dalvik
119$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
120
121# DebugFS
122PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
123
merothh7af51cb2022-01-02 20:14:21 +0530124# Display
125PRODUCT_PACKAGES += \
126 android.hardware.graphics.mapper@3.0-impl-qti-display \
127 android.hardware.graphics.mapper@4.0-impl-qti-display \
128 android.hardware.memtrack@1.0-impl \
129 android.hardware.memtrack@1.0-service \
130 android.hardware.renderscript@1.0-impl \
Michael Bestasbcba0502023-08-29 22:43:01 +0300131 init.qti.display_boot.rc \
Rohit R Sekhar260f7c12022-11-17 21:27:27 +0530132 init.qti.display_boot.sh \
merothh7af51cb2022-01-02 20:14:21 +0530133 libdisplayconfig.qti \
LuK1337efb41462022-10-12 09:33:30 +0200134 libdisplayconfig.system.qti \
merothh7af51cb2022-01-02 20:14:21 +0530135 libqdMetaData \
136 libsdmcore \
137 libsdmutils \
Michael Bestasbcba0502023-08-29 22:43:01 +0300138 memtrack.default \
Michael Bestas6cf15042024-05-09 01:13:02 +0300139 vendor.display.config@1.0.vendor:64 \
merothh7af51cb2022-01-02 20:14:21 +0530140 vendor.display.config@2.0 \
141 vendor.display.config@2.0.vendor \
142 vendor.qti.hardware.display.allocator-service \
143 vendor.qti.hardware.display.composer-service \
LuK133711e3cef2023-12-22 19:59:44 +0100144 vendor.qti.hardware.display.config-V5-ndk \
merothh7af51cb2022-01-02 20:14:21 +0530145 vendor.qti.hardware.display.mapper@1.1.vendor \
146 vendor.qti.hardware.display.mapper@2.0.vendor \
147 vendor.qti.hardware.display.mapper@3.0.vendor \
148 vendor.qti.hardware.display.mapper@4.0.vendor
149
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300150PRODUCT_COPY_FILES += \
Rohit Sekhar349a6be2023-11-15 18:14:26 +0530151 $(LOCAL_PATH)/configs/displayconfig/display_id_4630946480328692354.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_id_4630946480328692354.xml
152
153PRODUCT_COPY_FILES += \
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300154 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 -0700155
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100156# DRM
157PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100158 android.hardware.drm@1.3.vendor \
Bruno Martins09cfb262022-09-14 14:51:15 +0100159 android.hardware.drm-service.clearkey
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100160
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300161# e-SIM
merothh2b9692d2022-01-14 00:55:59 +0530162PRODUCT_COPY_FILES += \
163 $(LOCAL_PATH)/configs/privapp-permissions-euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-euicc.xml
164
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300165PRODUCT_COPY_FILES += \
166 frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml
167
merothh54856102021-11-04 12:07:41 +0530168# fastbootd
169PRODUCT_PACKAGES += \
170 fastbootd
171
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300172# Fingerprint
173PRODUCT_PACKAGES += \
174 android.hardware.biometrics.fingerprint@2.1-service
175
176PRODUCT_COPY_FILES += \
177 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
178
LuK133737154bf2021-12-14 11:42:44 +0100179# Gatekeeper
180PRODUCT_PACKAGES += \
181 android.hardware.gatekeeper@1.0.vendor:64
182
183# GPS
184PRODUCT_PACKAGES += \
Michael Bestas6cf15042024-05-09 01:13:02 +0300185 android.hardware.gnss@2.1-impl-qti:64 \
Michael Bestasd870a482023-05-04 01:19:43 +0300186 android.hardware.gnss@2.1-service-qti \
187 gnss@2.0-base.policy \
188 gnss@2.0-xtra-daemon.policy \
Michael Bestas6cf15042024-05-09 01:13:02 +0300189 libbatching:64 \
190 libgeofencing:64 \
191 libgnss:64 \
192 libloc_socket:64
LuK133737154bf2021-12-14 11:42:44 +0100193
Michael Bestas097b8902023-05-12 16:24:16 +0300194PRODUCT_PACKAGES += \
195 flp.conf \
Michael Bestasdd911262024-05-09 01:36:21 +0300196 gnss_antenna_info.conf \
Michael Bestas097b8902023-05-12 16:24:16 +0300197 gps.conf \
198 izat.conf
199
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300200PRODUCT_COPY_FILES += \
201 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
202
203# Graphics
204PRODUCT_COPY_FILES += \
205 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
206 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
207 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
208 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 +0800209 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 \
210 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 +0300211
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100212# Health
213PRODUCT_PACKAGES += \
Michael Bestas99a5c712023-08-30 21:12:04 +0300214 android.hardware.health-service.qti
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100215
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100216# HIDL
217PRODUCT_PACKAGES += \
LuK133759bce602022-04-26 10:56:05 +0200218 libhidltransport.vendor \
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100219 libhwbinder.vendor
220
Michael Bestasd4923512024-05-10 02:57:20 +0300221# Init
222PRODUCT_PACKAGES += \
223 fstab.default \
Michael Bestas0134c1e2023-08-30 13:51:03 +0300224 fstab.default.vendor_ramdisk \
Rohit Sekharb0b46002023-08-23 23:34:33 +0530225 init.bt_mac.rc \
226 init.bt_mac.sh \
Michael Bestasd4923512024-05-10 02:57:20 +0300227 init.class_main.sh \
228 init.qcom.early_boot.sh \
229 init.qcom.post_boot.sh \
230 init.qcom.rc \
231 init.qcom.recovery.rc \
232 init.qcom.sh \
233 init.qcom.usb.rc \
234 init.qcom.usb.sh \
Michael Bestasd4923512024-05-10 02:57:20 +0300235 init.stnfc.rc \
236 init.target.rc \
237 ueventd.qcom.rc
238
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100239# IPACM
240PRODUCT_PACKAGES += \
241 ipacm \
Michael Bestas6cf15042024-05-09 01:13:02 +0300242 IPACM_cfg.xml
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100243
Chirayu Desaif03c7692024-06-13 22:02:20 +0530244# Kernel
245PRODUCT_ENABLE_UFFD_GC := false
246
LuK133737154bf2021-12-14 11:42:44 +0100247# Keymaster
248PRODUCT_PACKAGES += \
Michael Bestas069d86e2023-08-30 17:55:01 +0300249 android.hardware.hardware_keystore.km41.xml \
LuK133737154bf2021-12-14 11:42:44 +0100250 android.hardware.keymaster@4.1.vendor:64
251
merothh431b69d2022-01-03 01:32:52 +0530252# Media
253PRODUCT_PACKAGES += \
254 libavservices_minijail \
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300255 libavservices_minijail.vendor \
256 libcodec2_hidl@1.0.vendor:32
merothh431b69d2022-01-03 01:32:52 +0530257
merothhf25a4a72022-01-02 21:45:42 +0530258PRODUCT_COPY_FILES += \
259 $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
merothhf25a4a72022-01-02 21:45:42 +0530260 $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
Michael Bestas25358082023-08-30 13:19:27 +0300261 $(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 +0300262 $(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 +0300263 $(LOCAL_PATH)/media/media_codecs_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_yupik_iot.xml \
264 $(LOCAL_PATH)/media/media_profiles_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
merothhf25a4a72022-01-02 21:45:42 +0530265
Michael Bestas6086eeb2024-05-09 01:00:22 +0300266PRODUCT_COPY_FILES += \
267 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
268 frameworks/av/media/libstagefright/data/media_codecs_google_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2.xml \
269 frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_audio.xml \
270 frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml \
271 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
272 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
273 frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml
274
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530275# Net
276PRODUCT_PACKAGES += \
Sebastiano Barezzi5a90fbc2022-05-28 10:29:35 +0200277 android.system.net.netd@1.1.vendor:64
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530278
Andrew Hexena9aed252020-09-26 11:51:58 -0700279# NFC
280PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100281 android.hardware.nfc@1.2.vendor:64 \
282 android.hardware.secure_element@1.2.vendor:64 \
Andrew Hexena9aed252020-09-26 11:51:58 -0700283 com.android.nfc_extras \
Andrew Hexena9aed252020-09-26 11:51:58 -0700284 Tag
285
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300286PRODUCT_COPY_FILES += \
287 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
288 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
289 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
290 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
291 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
292 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 +0300293 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 +0300294
Sebastiano Barezzied138322021-02-10 22:04:15 +0100295# OMX
296PRODUCT_PACKAGES += \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100297 libOmxAacEnc \
298 libOmxAmrEnc \
299 libOmxCore \
300 libOmxEvrcEnc \
301 libOmxG711Enc \
302 libOmxQcelp13Enc \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100303 libstagefrighthw
304
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300305# Overlays
306DEVICE_PACKAGE_OVERLAYS += \
307 $(LOCAL_PATH)/overlay-lineage
308
309PRODUCT_ENFORCE_RRO_TARGETS := *
310PRODUCT_PACKAGES += \
311 CarrierConfigResCommon \
312 FrameworksResCommon \
313 FrameworksResTarget \
314 SettingsProviderResCommon \
315 SettingsResCommon \
316 SystemUIResCommon \
317 SystemUIResTarget \
318 TelephonyResCommon \
Rohit Sekhar56135612023-08-03 22:18:31 +0530319 WifiResCommon \
320 WifiResTarget
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300321
322# Partitions
323PRODUCT_USE_DYNAMIC_PARTITIONS := true
324
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100325# Power
326PRODUCT_PACKAGES += \
327 android.hardware.power-service-qti \
LuK133737154bf2021-12-14 11:42:44 +0100328 android.hardware.power@1.2.vendor \
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100329 vendor.qti.hardware.perf@2.2.vendor
330
merothh00be0602022-01-02 23:00:09 +0530331# Public libraries
332PRODUCT_COPY_FILES += \
333 $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
334
Sebastiano Barezzi17434b22021-02-10 22:06:22 +0100335# QTI fwk-detect
336PRODUCT_PACKAGES += \
337 libqti_vndfwk_detect \
338 libqti_vndfwk_detect.vendor \
339 libvndfwk_detect_jni.qti \
340 libvndfwk_detect_jni.qti.vendor
341
Michael Bestas5191be32023-08-29 22:42:36 +0300342# QTI service tracker
343PRODUCT_PACKAGES += \
344 vendor.qti.hardware.servicetracker@1.2.vendor:64
345
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100346# RIL
347PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100348 android.hardware.radio@1.5.vendor:64 \
349 android.hardware.radio.config@1.2.vendor:64 \
350 android.hardware.radio.deprecated@1.0.vendor:64 \
Michael Bestas99832f82024-06-14 00:26:49 +0300351 libcurl.vendor:64 \
Michael Bestas6cf15042024-05-09 01:13:02 +0300352 libjson:64 \
Michael Bestas99832f82024-06-14 00:26:49 +0300353 libjsoncpp.vendor \
basamaryan2949c342023-10-07 15:17:04 -0400354 libprotobuf-cpp-full-3.9.1-vendorcompat \
LuK1337ee9ba222023-10-20 00:53:15 +0200355 libprotobuf-cpp-lite-3.9.1-vendorcompat \
Michael Bestas99832f82024-06-14 00:26:49 +0300356 librmnetctl:64 \
357 libsqlite.vendor:64
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100358
Andrew Hexen3929a452021-02-15 06:33:18 -0800359# Sensors
360PRODUCT_PACKAGES += \
LuK1337c2646f22023-10-21 16:34:40 +0200361 android.frameworks.sensorservice@1.0.vendor:64 \
Andrew Hexen3929a452021-02-15 06:33:18 -0800362 android.hardware.sensors@2.0-service.multihal
363
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300364PRODUCT_COPY_FILES += \
365 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
366 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
367 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
368 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
369 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
370 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
371 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
372
373# Shipping API
Michael Bestas40301cc2023-08-31 20:48:36 +0300374PRODUCT_SHIPPING_API_LEVEL := 33
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300375
376# Soong namespaces
merothh54856102021-11-04 12:07:41 +0530377PRODUCT_SOONG_NAMESPACES += \
378 $(LOCAL_PATH)
379
Michael Bestas40301cc2023-08-31 20:48:36 +0300380# Storage
381$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
382
Michael Bestas99832f82024-06-14 00:26:49 +0300383# Tctd
384PRODUCT_PACKAGES += \
385 libsysutils.vendor:32
386
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100387# Telephony
388PRODUCT_PACKAGES += \
Michael Bestasb603e382023-02-02 17:41:45 +0200389 extphonelib \
390 extphonelib-product \
391 extphonelib.xml \
392 extphonelib_product.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100393 ims-ext-common \
394 ims_ext_common.xml \
395 qti-telephony-hidl-wrapper \
Michael Bestasb603e382023-02-02 17:41:45 +0200396 qti-telephony-hidl-wrapper-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100397 qti_telephony_hidl_wrapper.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200398 qti_telephony_hidl_wrapper_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100399 qti-telephony-utils \
Michael Bestasb603e382023-02-02 17:41:45 +0200400 qti-telephony-utils-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100401 qti_telephony_utils.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200402 qti_telephony_utils_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100403 telephony-ext
404
405PRODUCT_BOOT_JARS += \
406 telephony-ext
407
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300408PRODUCT_COPY_FILES += \
409 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
410 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 +0530411 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 +0300412
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100413# Thermal
414PRODUCT_PACKAGES += \
415 android.hardware.thermal@2.0-service.qti
416
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300417# Update engine
418PRODUCT_PACKAGES += \
419 update_engine \
420 update_engine_sideload \
421 update_verifier
422
423PRODUCT_PACKAGES_DEBUG += \
424 update_engine_client
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
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300433PRODUCT_COPY_FILES += \
434 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
435 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
436
437# Vendor service manager
Roger Liaodcb2e032020-04-10 04:46:38 +0800438PRODUCT_PACKAGES += \
439 vndservicemanager
merothh66682a52021-11-13 19:20:17 +0530440
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300441# Verified Boot
442PRODUCT_COPY_FILES += \
443 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
444
merothh66682a52021-11-13 19:20:17 +0530445# Vibrator
446PRODUCT_PACKAGES += \
Rohit Sekharffae9e42023-08-23 15:30:52 +0530447 vendor.qti.hardware.vibrator.service.FP5
Bruno Martins33165842021-06-19 12:54:58 +0100448
449PRODUCT_COPY_FILES += \
Rohit Sekharffae9e42023-08-23 15:30:52 +0530450 $(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100451
452# WiFi
453PRODUCT_PACKAGES += \
Gabriel Birend6c1ff32023-03-27 22:33:41 +0000454 android.hardware.wifi-service \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100455 hostapd \
456 libwpa_client \
457 libwifi-hal-ctrl \
458 libwifi-hal-qcom \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100459 wpa_supplicant \
460 wpa_supplicant.conf
461
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300462PRODUCT_COPY_FILES += \
Michael Bestas069d86e2023-08-30 17:55:01 +0300463 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 +0300464 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
465 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 +0300466 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 +0300467 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
468 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
469
Bruno Martins1051d042024-06-23 21:58:49 +0100470# WiFi firmware symlink
471PRODUCT_PACKAGES += \
472 firmware_WCNSS_qcom_cfg.ini_symlink
473
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100474# WiFi Display
475PRODUCT_PACKAGES += \
Edwin Moquetea06b2c42024-03-16 01:24:14 +0000476 android.media.audio.common.types-V2-cpp \
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100477 libnl \
Michael Bestas99832f82024-06-14 00:26:49 +0300478 libpng.vendor:32 \
Michael Bestas6cf15042024-05-09 01:13:02 +0300479 libwfdaac_vendor:32
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100480
481PRODUCT_BOOT_JARS += \
482 WfdCommon
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300483
484# Inherit from the proprietary files makefile.
Michael Bestas10374532023-08-29 19:41:38 +0300485$(call inherit-product, vendor/fairphone/FP5/FP5-vendor.mk)