blob: e57969d01bddf06c78832442abf8405c6052b877 [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 Bestas7daa2d42023-08-29 20:12:57 +030043 audio_amplifier.lahaina \
Michael Bestas8fad4612023-08-30 03:25:06 +030044 audioadsprpcd \
Michael Bestas1a329d52024-06-24 00:14:42 +030045 firmware_aw_cali.bin_symlink \
merothh750fa002022-01-02 19:42:51 +053046 liba2dpoffload \
47 libbatterylistener \
Michael Bestas8fad4612023-08-30 03:25:06 +030048 libcirrusspkrprot \
merothh750fa002022-01-02 19:42:51 +053049 libcomprcapture \
50 libexthwplugin \
51 libhdmiedid \
52 libhfp \
merothh750fa002022-01-02 19:42:51 +053053 libqcompostprocbundle \
54 libqcomvisualizer \
55 libqcomvoiceprocessing \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030056 libsndmonitor \
57 libspkrprot \
Michael Bestas8fad4612023-08-30 03:25:06 +030058 libvolumelistener \
59 sound_trigger.primary.lahaina
merothh750fa002022-01-02 19:42:51 +053060
merothhd7649fd2022-01-02 20:05:19 +053061PRODUCT_COPY_FILES += \
62 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
Michael Bestas418f9e42023-08-30 04:50:56 +030063 $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/audio_io_policy.conf \
64 $(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 +053065 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
Michael Bestasbbdf1532022-03-28 20:22:52 +030066 $(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 +030067 $(LOCAL_PATH)/audio/audio_policy_configuration_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
68 $(LOCAL_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
Michael Bestasbbdf1532022-03-28 20:22:52 +030069 $(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 +030070 $(LOCAL_PATH)/audio/mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/mixer_paths_yupikidp.xml \
71 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_mixer_paths_yupikidp.xml \
72 $(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 +053073
74PRODUCT_COPY_FILES += \
merothhd7649fd2022-01-02 20:05:19 +053075 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
76 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
77 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 +030078 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 +053079
Michael Bestas9d8a5f62024-05-12 08:50:28 +030080PRODUCT_COPY_FILES += \
81 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
82 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
83 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
merothh2e0e5682022-01-02 20:25:57 +053084
merothh750fa002022-01-02 19:42:51 +053085# Bluetooth
Michael Bestas9d8a5f62024-05-12 08:50:28 +030086PRODUCT_COPY_FILES += \
87 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
88 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
89
SGCMarkusc3293742022-10-31 18:07:07 +010090# Board API level
Chirayu Desai2b6c5452024-06-13 21:10:42 +053091BOARD_SHIPPING_API_LEVEL := 30
SGCMarkusc3293742022-10-31 18:07:07 +010092
Michael Bestas9d8a5f62024-05-12 08:50:28 +030093# Boot control
94PRODUCT_PACKAGES += \
95 android.hardware.boot@1.1-impl-qti \
96 android.hardware.boot@1.1-impl-qti.recovery \
97 android.hardware.boot@1.1-service
98
merothha507a0f2022-01-02 20:11:36 +053099# Camera
100PRODUCT_PACKAGES += \
101 android.hardware.camera.provider@2.4-impl \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300102 android.hardware.camera.provider@2.4-service_64
merothha507a0f2022-01-02 20:11:36 +0530103
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300104PRODUCT_COPY_FILES += \
105 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
106 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
107 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
108 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
109
110# Dalvik
111$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
112
113# DebugFS
114PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
115
merothh7af51cb2022-01-02 20:14:21 +0530116# Display
117PRODUCT_PACKAGES += \
118 android.hardware.graphics.mapper@3.0-impl-qti-display \
119 android.hardware.graphics.mapper@4.0-impl-qti-display \
merothh7af51cb2022-01-02 20:14:21 +0530120 android.hardware.renderscript@1.0-impl \
Michael Bestasbcba0502023-08-29 22:43:01 +0300121 init.qti.display_boot.rc \
Rohit R Sekhar260f7c12022-11-17 21:27:27 +0530122 init.qti.display_boot.sh \
merothh7af51cb2022-01-02 20:14:21 +0530123 vendor.qti.hardware.display.allocator-service \
Michael Bestas8059f982024-08-27 02:04:54 +0300124 vendor.qti.hardware.display.composer-service.rc \
125 vendor.qti.hardware.display.composer-service.xml \
Yumi Yukimura8e5ec5a2024-07-13 23:22:02 +0530126 vendor.qti.hardware.memtrack-service
merothh7af51cb2022-01-02 20:14:21 +0530127
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300128PRODUCT_COPY_FILES += \
129 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 -0700130
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100131# DRM
132PRODUCT_PACKAGES += \
Bruno Martins09cfb262022-09-14 14:51:15 +0100133 android.hardware.drm-service.clearkey
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100134
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300135# e-SIM
merothh2b9692d2022-01-14 00:55:59 +0530136PRODUCT_COPY_FILES += \
Michael Bestasd7bd73f2024-08-31 03:27:54 +0300137 $(LOCAL_PATH)/configs/default-permissions_com.google.android.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/default-permissions/default-permissions_com.google.android.euicc.xml \
138 $(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 +0530139
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300140PRODUCT_COPY_FILES += \
141 frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml
142
merothh54856102021-11-04 12:07:41 +0530143# fastbootd
144PRODUCT_PACKAGES += \
145 fastbootd
146
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300147# Fingerprint
148PRODUCT_PACKAGES += \
149 android.hardware.biometrics.fingerprint@2.1-service
150
151PRODUCT_COPY_FILES += \
152 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
153
LuK133737154bf2021-12-14 11:42:44 +0100154# GPS
155PRODUCT_PACKAGES += \
Michael Bestas6cf15042024-05-09 01:13:02 +0300156 android.hardware.gnss@2.1-impl-qti:64 \
Michael Bestasd870a482023-05-04 01:19:43 +0300157 android.hardware.gnss@2.1-service-qti \
158 gnss@2.0-base.policy \
159 gnss@2.0-xtra-daemon.policy \
Michael Bestas6cf15042024-05-09 01:13:02 +0300160 libbatching:64 \
161 libgeofencing:64 \
162 libgnss:64 \
163 libloc_socket:64
LuK133737154bf2021-12-14 11:42:44 +0100164
Michael Bestas097b8902023-05-12 16:24:16 +0300165PRODUCT_PACKAGES += \
166 flp.conf \
Michael Bestasdd911262024-05-09 01:36:21 +0300167 gnss_antenna_info.conf \
Michael Bestas097b8902023-05-12 16:24:16 +0300168 gps.conf \
169 izat.conf
170
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300171PRODUCT_COPY_FILES += \
172 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
173
174# Graphics
175PRODUCT_COPY_FILES += \
176 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
177 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
178 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
179 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 +0800180 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 \
181 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 +0300182
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100183# Health
184PRODUCT_PACKAGES += \
Michael Bestas99a5c712023-08-30 21:12:04 +0300185 android.hardware.health-service.qti
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100186
Michael Bestasd4923512024-05-10 02:57:20 +0300187# Init
188PRODUCT_PACKAGES += \
Michael Bestas9bb5a142024-05-29 00:19:57 +0300189 fstab.qcom \
190 fstab.qcom.vendor_ramdisk \
Michael Bestasd4923512024-05-10 02:57:20 +0300191 init.class_main.sh \
192 init.qcom.early_boot.sh \
193 init.qcom.post_boot.sh \
194 init.qcom.rc \
195 init.qcom.recovery.rc \
196 init.qcom.sh \
197 init.qcom.usb.rc \
198 init.qcom.usb.sh \
Michael Bestasd4923512024-05-10 02:57:20 +0300199 init.target.rc \
200 ueventd.qcom.rc
201
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100202# IPACM
203PRODUCT_PACKAGES += \
204 ipacm \
Michael Bestas6cf15042024-05-09 01:13:02 +0300205 IPACM_cfg.xml
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100206
Chirayu Desaif03c7692024-06-13 22:02:20 +0530207# Kernel
208PRODUCT_ENABLE_UFFD_GC := false
209
LuK133737154bf2021-12-14 11:42:44 +0100210# Keymaster
211PRODUCT_PACKAGES += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300212 android.hardware.hardware_keystore.km41.xml
LuK133737154bf2021-12-14 11:42:44 +0100213
merothh431b69d2022-01-03 01:32:52 +0530214# Media
merothhf25a4a72022-01-02 21:45:42 +0530215PRODUCT_COPY_FILES += \
Michael Bestas25358082023-08-30 13:19:27 +0300216 $(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 +0300217 $(LOCAL_PATH)/media/media_codecs_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_yupik_iot.xml \
218 $(LOCAL_PATH)/media/media_profiles_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
merothhf25a4a72022-01-02 21:45:42 +0530219
Andrew Hexena9aed252020-09-26 11:51:58 -0700220# NFC
221PRODUCT_PACKAGES += \
Andrew Hexena9aed252020-09-26 11:51:58 -0700222 com.android.nfc_extras \
Andrew Hexena9aed252020-09-26 11:51:58 -0700223 Tag
224
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300225PRODUCT_COPY_FILES += \
226 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
227 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
228 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
229 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
230 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
231 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 +0300232 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 +0300233
Sebastiano Barezzied138322021-02-10 22:04:15 +0100234# OMX
235PRODUCT_PACKAGES += \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100236 libOmxAacEnc \
237 libOmxAmrEnc \
238 libOmxCore \
239 libOmxEvrcEnc \
240 libOmxG711Enc \
241 libOmxQcelp13Enc \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100242 libstagefrighthw
243
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300244# Overlays
245DEVICE_PACKAGE_OVERLAYS += \
246 $(LOCAL_PATH)/overlay-lineage
247
248PRODUCT_ENFORCE_RRO_TARGETS := *
249PRODUCT_PACKAGES += \
250 CarrierConfigResCommon \
251 FrameworksResCommon \
252 FrameworksResTarget \
253 SettingsProviderResCommon \
254 SettingsResCommon \
255 SystemUIResCommon \
256 SystemUIResTarget \
257 TelephonyResCommon \
Rohit Sekhar56135612023-08-03 22:18:31 +0530258 WifiResCommon \
259 WifiResTarget
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300260
261# Partitions
262PRODUCT_USE_DYNAMIC_PARTITIONS := true
263
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100264# Power
265PRODUCT_PACKAGES += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300266 android.hardware.power-service-qti
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100267
merothh00be0602022-01-02 23:00:09 +0530268# Public libraries
269PRODUCT_COPY_FILES += \
270 $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
271
Sebastiano Barezzi17434b22021-02-10 22:06:22 +0100272# QTI fwk-detect
273PRODUCT_PACKAGES += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300274 libvndfwk_detect_jni.qti.vendor # Needed by CNE app
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100275
Andrew Hexen3929a452021-02-15 06:33:18 -0800276# Sensors
277PRODUCT_PACKAGES += \
278 android.hardware.sensors@2.0-service.multihal
279
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300280PRODUCT_COPY_FILES += \
281 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
282 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
283 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
284 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
285 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
286 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
287 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
288
289# Shipping API
Michael Bestas40301cc2023-08-31 20:48:36 +0300290PRODUCT_SHIPPING_API_LEVEL := 33
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300291
292# Soong namespaces
merothh54856102021-11-04 12:07:41 +0530293PRODUCT_SOONG_NAMESPACES += \
294 $(LOCAL_PATH)
295
Michael Bestas40301cc2023-08-31 20:48:36 +0300296# Storage
297$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
298
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100299# Telephony
300PRODUCT_PACKAGES += \
Michael Bestasb603e382023-02-02 17:41:45 +0200301 extphonelib \
302 extphonelib-product \
303 extphonelib.xml \
304 extphonelib_product.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100305 ims-ext-common \
306 ims_ext_common.xml \
307 qti-telephony-hidl-wrapper \
Michael Bestasb603e382023-02-02 17:41:45 +0200308 qti-telephony-hidl-wrapper-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100309 qti_telephony_hidl_wrapper.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200310 qti_telephony_hidl_wrapper_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100311 qti-telephony-utils \
Michael Bestasb603e382023-02-02 17:41:45 +0200312 qti-telephony-utils-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100313 qti_telephony_utils.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200314 qti_telephony_utils_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100315 telephony-ext
316
317PRODUCT_BOOT_JARS += \
318 telephony-ext
319
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300320PRODUCT_COPY_FILES += \
321 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
322 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 +0530323 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 +0300324
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100325# Thermal
326PRODUCT_PACKAGES += \
327 android.hardware.thermal@2.0-service.qti
328
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300329# Update engine
330PRODUCT_PACKAGES += \
331 update_engine \
332 update_engine_sideload \
333 update_verifier
334
335PRODUCT_PACKAGES_DEBUG += \
336 update_engine_client
337
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100338# USB
339PRODUCT_PACKAGES += \
Albert Wang0dcdbc92021-03-25 00:03:02 +0800340 android.hardware.usb@1.3-service-qti
Roger Liaodcb2e032020-04-10 04:46:38 +0800341
Alexander Koskoviche62c05c2022-04-12 05:00:05 -0700342PRODUCT_SOONG_NAMESPACES += \
343 vendor/qcom/opensource/usb/etc
344
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300345PRODUCT_COPY_FILES += \
346 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
347 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
348
349# Vendor service manager
Roger Liaodcb2e032020-04-10 04:46:38 +0800350PRODUCT_PACKAGES += \
351 vndservicemanager
merothh66682a52021-11-13 19:20:17 +0530352
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300353# Verified Boot
354PRODUCT_COPY_FILES += \
355 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
356
merothh66682a52021-11-13 19:20:17 +0530357# Vibrator
358PRODUCT_PACKAGES += \
Michael Bestas9e3d0d62024-05-28 03:47:26 +0300359 vendor.qti.hardware.vibrator.service.otter
Bruno Martins33165842021-06-19 12:54:58 +0100360
361PRODUCT_COPY_FILES += \
Rohit Sekharffae9e42023-08-23 15:30:52 +0530362 $(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100363
364# WiFi
365PRODUCT_PACKAGES += \
Gabriel Birend6c1ff32023-03-27 22:33:41 +0000366 android.hardware.wifi-service \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100367 hostapd \
368 libwpa_client \
369 libwifi-hal-ctrl \
370 libwifi-hal-qcom \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100371 wpa_supplicant \
372 wpa_supplicant.conf
373
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300374PRODUCT_COPY_FILES += \
Michael Bestas069d86e2023-08-30 17:55:01 +0300375 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 +0300376 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
377 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 +0300378 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 +0300379 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
380 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
381
Bruno Martins1051d042024-06-23 21:58:49 +0100382# WiFi firmware symlink
383PRODUCT_PACKAGES += \
384 firmware_WCNSS_qcom_cfg.ini_symlink
385
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100386# WiFi Display
387PRODUCT_PACKAGES += \
Michael Bestas6cf15042024-05-09 01:13:02 +0300388 libwfdaac_vendor:32
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100389
390PRODUCT_BOOT_JARS += \
391 WfdCommon
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300392
393# Inherit from the proprietary files makefile.
Michael Bestas9e3d0d62024-05-28 03:47:26 +0300394$(call inherit-product, vendor/shift/otter/otter-vendor.mk)