blob: 8489bfc4226c490f7cdd419f37f513b3a82c49a0 [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 += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +030030 AntHalService-Soong
Michael Bestasebc23d02024-05-12 08:53:48 +030031
Michael Bestas9d8a5f62024-05-12 08:50:28 +030032# Audio
merothh750fa002022-01-02 19:42:51 +053033PRODUCT_PACKAGES += \
34 android.hardware.audio@6.0-impl \
35 android.hardware.audio.effect@6.0-impl \
36 android.hardware.audio.service \
Josh Wud049c482022-01-24 22:56:14 -080037 android.hardware.bluetooth.audio-impl \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030038 android.hardware.soundtrigger@2.3-impl \
39 audio.bluetooth.default \
Michael Bestas7daa2d42023-08-29 20:12:57 +030040 audio.primary.lahaina \
merothh750fa002022-01-02 19:42:51 +053041 audio.r_submix.default \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030042 audio.usb.default \
Michael Bestas8fad4612023-08-30 03:25:06 +030043 audioadsprpcd \
merothh750fa002022-01-02 19:42:51 +053044 liba2dpoffload \
45 libbatterylistener \
Michael Bestas8fad4612023-08-30 03:25:06 +030046 libcirrusspkrprot \
merothh750fa002022-01-02 19:42:51 +053047 libcomprcapture \
48 libexthwplugin \
49 libhdmiedid \
50 libhfp \
merothh750fa002022-01-02 19:42:51 +053051 libqcompostprocbundle \
52 libqcomvisualizer \
53 libqcomvoiceprocessing \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030054 libsndmonitor \
55 libspkrprot \
Michael Bestas8fad4612023-08-30 03:25:06 +030056 libvolumelistener \
57 sound_trigger.primary.lahaina
merothh750fa002022-01-02 19:42:51 +053058
merothhd7649fd2022-01-02 20:05:19 +053059PRODUCT_COPY_FILES += \
60 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
Michael Bestas418f9e42023-08-30 04:50:56 +030061 $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/audio_io_policy.conf \
62 $(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 +053063 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
Michael Bestasbbdf1532022-03-28 20:22:52 +030064 $(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 +030065 $(LOCAL_PATH)/audio/audio_policy_configuration_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
66 $(LOCAL_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
Michael Bestasbbdf1532022-03-28 20:22:52 +030067 $(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 +030068 $(LOCAL_PATH)/audio/mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/mixer_paths_yupikidp.xml \
69 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_mixer_paths_yupikidp.xml \
70 $(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 +053071
72PRODUCT_COPY_FILES += \
merothhd7649fd2022-01-02 20:05:19 +053073 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
74 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
75 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 +030076 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 +053077
Michael Bestas9d8a5f62024-05-12 08:50:28 +030078PRODUCT_COPY_FILES += \
79 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
80 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
81 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
merothh2e0e5682022-01-02 20:25:57 +053082
merothh750fa002022-01-02 19:42:51 +053083# Bluetooth
Michael Bestas9d8a5f62024-05-12 08:50:28 +030084PRODUCT_COPY_FILES += \
85 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
86 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
87
SGCMarkusc3293742022-10-31 18:07:07 +010088# Board API level
Chirayu Desai2b6c5452024-06-13 21:10:42 +053089BOARD_SHIPPING_API_LEVEL := 30
SGCMarkusc3293742022-10-31 18:07:07 +010090
Michael Bestas9d8a5f62024-05-12 08:50:28 +030091# Boot control
92PRODUCT_PACKAGES += \
93 android.hardware.boot@1.1-impl-qti \
94 android.hardware.boot@1.1-impl-qti.recovery \
95 android.hardware.boot@1.1-service
96
merothha507a0f2022-01-02 20:11:36 +053097# Camera
98PRODUCT_PACKAGES += \
99 android.hardware.camera.provider@2.4-impl \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300100 android.hardware.camera.provider@2.4-service_64
merothha507a0f2022-01-02 20:11:36 +0530101
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300102PRODUCT_COPY_FILES += \
103 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
104 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
105 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
106 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
107
108# Dalvik
109$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
110
111# DebugFS
112PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
113
merothh7af51cb2022-01-02 20:14:21 +0530114# Display
115PRODUCT_PACKAGES += \
116 android.hardware.graphics.mapper@3.0-impl-qti-display \
117 android.hardware.graphics.mapper@4.0-impl-qti-display \
merothh7af51cb2022-01-02 20:14:21 +0530118 android.hardware.renderscript@1.0-impl \
Michael Bestasbcba0502023-08-29 22:43:01 +0300119 init.qti.display_boot.rc \
Rohit R Sekhar260f7c12022-11-17 21:27:27 +0530120 init.qti.display_boot.sh \
merothh7af51cb2022-01-02 20:14:21 +0530121 vendor.qti.hardware.display.allocator-service \
Michael Bestas8059f982024-08-27 02:04:54 +0300122 vendor.qti.hardware.display.composer-service.rc \
123 vendor.qti.hardware.display.composer-service.xml \
Yumi Yukimura8e5ec5a2024-07-13 23:22:02 +0530124 vendor.qti.hardware.memtrack-service
merothh7af51cb2022-01-02 20:14:21 +0530125
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300126PRODUCT_COPY_FILES += \
127 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 -0700128
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100129# DRM
130PRODUCT_PACKAGES += \
Bruno Martins09cfb262022-09-14 14:51:15 +0100131 android.hardware.drm-service.clearkey
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100132
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300133# e-SIM
merothh2b9692d2022-01-14 00:55:59 +0530134PRODUCT_COPY_FILES += \
Michael Bestasd7bd73f2024-08-31 03:27:54 +0300135 $(LOCAL_PATH)/configs/default-permissions_com.google.android.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/default-permissions/default-permissions_com.google.android.euicc.xml \
136 $(LOCAL_PATH)/configs/privapp_allowlist_com.google.android.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp_allowlist_com.google.android.euicc.xml
merothh2b9692d2022-01-14 00:55:59 +0530137
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300138PRODUCT_COPY_FILES += \
139 frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml
140
merothh54856102021-11-04 12:07:41 +0530141# fastbootd
142PRODUCT_PACKAGES += \
143 fastbootd
144
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300145# Fingerprint
146PRODUCT_PACKAGES += \
147 android.hardware.biometrics.fingerprint@2.1-service
148
149PRODUCT_COPY_FILES += \
150 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
151
LuK133737154bf2021-12-14 11:42:44 +0100152# GPS
153PRODUCT_PACKAGES += \
Michael Bestas6cf15042024-05-09 01:13:02 +0300154 android.hardware.gnss@2.1-impl-qti:64 \
Michael Bestasd870a482023-05-04 01:19:43 +0300155 android.hardware.gnss@2.1-service-qti \
156 gnss@2.0-base.policy \
157 gnss@2.0-xtra-daemon.policy \
Michael Bestas6cf15042024-05-09 01:13:02 +0300158 libbatching:64 \
159 libgeofencing:64 \
160 libgnss:64 \
161 libloc_socket:64
LuK133737154bf2021-12-14 11:42:44 +0100162
Michael Bestas097b8902023-05-12 16:24:16 +0300163PRODUCT_PACKAGES += \
164 flp.conf \
Michael Bestasdd911262024-05-09 01:36:21 +0300165 gnss_antenna_info.conf \
Michael Bestas097b8902023-05-12 16:24:16 +0300166 gps.conf \
167 izat.conf
168
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300169PRODUCT_COPY_FILES += \
170 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
171
172# Graphics
173PRODUCT_COPY_FILES += \
174 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
175 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
176 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
177 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 +0800178 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 \
179 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 +0300180
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100181# Health
182PRODUCT_PACKAGES += \
Michael Bestas99a5c712023-08-30 21:12:04 +0300183 android.hardware.health-service.qti
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100184
Michael Bestasd4923512024-05-10 02:57:20 +0300185# Init
186PRODUCT_PACKAGES += \
Michael Bestas9bb5a142024-05-29 00:19:57 +0300187 fstab.qcom \
188 fstab.qcom.vendor_ramdisk \
Michael Bestasd4923512024-05-10 02:57:20 +0300189 init.class_main.sh \
190 init.qcom.early_boot.sh \
191 init.qcom.post_boot.sh \
192 init.qcom.rc \
193 init.qcom.recovery.rc \
194 init.qcom.sh \
195 init.qcom.usb.rc \
196 init.qcom.usb.sh \
Michael Bestasd4923512024-05-10 02:57:20 +0300197 init.target.rc \
198 ueventd.qcom.rc
199
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100200# IPACM
201PRODUCT_PACKAGES += \
202 ipacm \
Michael Bestas6cf15042024-05-09 01:13:02 +0300203 IPACM_cfg.xml
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100204
Chirayu Desaif03c7692024-06-13 22:02:20 +0530205# Kernel
206PRODUCT_ENABLE_UFFD_GC := false
207
LuK133737154bf2021-12-14 11:42:44 +0100208# Keymaster
209PRODUCT_PACKAGES += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300210 android.hardware.hardware_keystore.km41.xml
LuK133737154bf2021-12-14 11:42:44 +0100211
merothh431b69d2022-01-03 01:32:52 +0530212# Media
merothhf25a4a72022-01-02 21:45:42 +0530213PRODUCT_COPY_FILES += \
Michael Bestas25358082023-08-30 13:19:27 +0300214 $(LOCAL_PATH)/media/media_codecs_performance_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_yupik_iot.xml \
Michael Bestas25358082023-08-30 13:19:27 +0300215 $(LOCAL_PATH)/media/media_codecs_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_yupik_iot.xml \
216 $(LOCAL_PATH)/media/media_profiles_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
merothhf25a4a72022-01-02 21:45:42 +0530217
Andrew Hexena9aed252020-09-26 11:51:58 -0700218# NFC
219PRODUCT_PACKAGES += \
Andrew Hexena9aed252020-09-26 11:51:58 -0700220 com.android.nfc_extras \
Andrew Hexena9aed252020-09-26 11:51:58 -0700221 Tag
222
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300223PRODUCT_COPY_FILES += \
224 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
225 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
226 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
227 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
228 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
229 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 +0300230 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 +0300231
Sebastiano Barezzied138322021-02-10 22:04:15 +0100232# OMX
233PRODUCT_PACKAGES += \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100234 libOmxAacEnc \
235 libOmxAmrEnc \
236 libOmxCore \
237 libOmxEvrcEnc \
238 libOmxG711Enc \
239 libOmxQcelp13Enc \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100240 libstagefrighthw
241
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300242# Overlays
243DEVICE_PACKAGE_OVERLAYS += \
244 $(LOCAL_PATH)/overlay-lineage
245
246PRODUCT_ENFORCE_RRO_TARGETS := *
247PRODUCT_PACKAGES += \
248 CarrierConfigResCommon \
249 FrameworksResCommon \
250 FrameworksResTarget \
251 SettingsProviderResCommon \
252 SettingsResCommon \
253 SystemUIResCommon \
254 SystemUIResTarget \
255 TelephonyResCommon \
Rohit Sekhar56135612023-08-03 22:18:31 +0530256 WifiResCommon \
257 WifiResTarget
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300258
259# Partitions
260PRODUCT_USE_DYNAMIC_PARTITIONS := true
261
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100262# Power
263PRODUCT_PACKAGES += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300264 android.hardware.power-service-qti
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100265
merothh00be0602022-01-02 23:00:09 +0530266# Public libraries
267PRODUCT_COPY_FILES += \
268 $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
269
Sebastiano Barezzi17434b22021-02-10 22:06:22 +0100270# QTI fwk-detect
271PRODUCT_PACKAGES += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300272 libvndfwk_detect_jni.qti.vendor # Needed by CNE app
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100273
Andrew Hexen3929a452021-02-15 06:33:18 -0800274# Sensors
275PRODUCT_PACKAGES += \
276 android.hardware.sensors@2.0-service.multihal
277
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300278PRODUCT_COPY_FILES += \
279 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
280 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
281 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
282 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
283 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
284 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
285 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
286
287# Shipping API
Michael Bestas40301cc2023-08-31 20:48:36 +0300288PRODUCT_SHIPPING_API_LEVEL := 33
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300289
290# Soong namespaces
merothh54856102021-11-04 12:07:41 +0530291PRODUCT_SOONG_NAMESPACES += \
292 $(LOCAL_PATH)
293
Michael Bestas40301cc2023-08-31 20:48:36 +0300294# Storage
295$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
296
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100297# Telephony
298PRODUCT_PACKAGES += \
Michael Bestasb603e382023-02-02 17:41:45 +0200299 extphonelib \
300 extphonelib-product \
301 extphonelib.xml \
302 extphonelib_product.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100303 ims-ext-common \
304 ims_ext_common.xml \
305 qti-telephony-hidl-wrapper \
Michael Bestasb603e382023-02-02 17:41:45 +0200306 qti-telephony-hidl-wrapper-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100307 qti_telephony_hidl_wrapper.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200308 qti_telephony_hidl_wrapper_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100309 qti-telephony-utils \
Michael Bestasb603e382023-02-02 17:41:45 +0200310 qti-telephony-utils-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100311 qti_telephony_utils.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200312 qti_telephony_utils_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100313 telephony-ext
314
315PRODUCT_BOOT_JARS += \
316 telephony-ext
317
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300318PRODUCT_COPY_FILES += \
319 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
320 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 +0530321 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 +0300322
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100323# Thermal
324PRODUCT_PACKAGES += \
325 android.hardware.thermal@2.0-service.qti
326
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300327# Update engine
328PRODUCT_PACKAGES += \
329 update_engine \
330 update_engine_sideload \
331 update_verifier
332
333PRODUCT_PACKAGES_DEBUG += \
334 update_engine_client
335
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100336# USB
337PRODUCT_PACKAGES += \
Albert Wang0dcdbc92021-03-25 00:03:02 +0800338 android.hardware.usb@1.3-service-qti
Roger Liaodcb2e032020-04-10 04:46:38 +0800339
Alexander Koskoviche62c05c2022-04-12 05:00:05 -0700340PRODUCT_SOONG_NAMESPACES += \
341 vendor/qcom/opensource/usb/etc
342
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300343PRODUCT_COPY_FILES += \
344 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
345 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
346
347# Vendor service manager
Roger Liaodcb2e032020-04-10 04:46:38 +0800348PRODUCT_PACKAGES += \
349 vndservicemanager
merothh66682a52021-11-13 19:20:17 +0530350
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300351# Verified Boot
352PRODUCT_COPY_FILES += \
353 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
354
merothh66682a52021-11-13 19:20:17 +0530355# Vibrator
356PRODUCT_PACKAGES += \
Michael Bestas9e3d0d62024-05-28 03:47:26 +0300357 vendor.qti.hardware.vibrator.service.otter
Bruno Martins33165842021-06-19 12:54:58 +0100358
359PRODUCT_COPY_FILES += \
Rohit Sekharffae9e42023-08-23 15:30:52 +0530360 $(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100361
362# WiFi
363PRODUCT_PACKAGES += \
Gabriel Birend6c1ff32023-03-27 22:33:41 +0000364 android.hardware.wifi-service \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100365 hostapd \
366 libwpa_client \
367 libwifi-hal-ctrl \
368 libwifi-hal-qcom \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100369 wpa_supplicant \
370 wpa_supplicant.conf
371
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300372PRODUCT_COPY_FILES += \
Michael Bestas069d86e2023-08-30 17:55:01 +0300373 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 +0300374 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
375 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 +0300376 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 +0300377 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
378 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
379
Bruno Martins1051d042024-06-23 21:58:49 +0100380# WiFi firmware symlink
381PRODUCT_PACKAGES += \
382 firmware_WCNSS_qcom_cfg.ini_symlink
383
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100384# WiFi Display
385PRODUCT_PACKAGES += \
Michael Bestas6cf15042024-05-09 01:13:02 +0300386 libwfdaac_vendor:32
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100387
388PRODUCT_BOOT_JARS += \
389 WfdCommon
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300390
391# Inherit from the proprietary files makefile.
Michael Bestas9e3d0d62024-05-28 03:47:26 +0300392$(call inherit-product, vendor/shift/otter/otter-vendor.mk)