blob: 1a684e776c00286c2db670652f9ede11b13d2911 [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
Alexander Martinz9ed48af2024-12-05 11:42:04 +01006# Inherit from those products. Most specific first.
7$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
8$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
9
Bruno Martinsd40ad792024-06-23 12:29:15 +010010# Add common definitions for Qualcomm
11$(call inherit-product, hardware/qcom-caf/common/common.mk)
12
merothh54856102021-11-04 12:07:41 +053013# A/B
Michael Bestas99a5c712023-08-30 21:12:04 +030014$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
merothh54856102021-11-04 12:07:41 +053015
16AB_OTA_POSTINSTALL_CONFIG += \
17 RUN_POSTINSTALL_system=true \
18 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
19 FILESYSTEM_TYPE_system=ext4 \
20 POSTINSTALL_OPTIONAL_system=true
21
22AB_OTA_POSTINSTALL_CONFIG += \
23 RUN_POSTINSTALL_vendor=true \
24 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
25 FILESYSTEM_TYPE_vendor=ext4 \
26 POSTINSTALL_OPTIONAL_vendor=true
27
28PRODUCT_PACKAGES += \
29 checkpoint_gc \
30 otapreopt_script
31
Michael Bestasebc23d02024-05-12 08:53:48 +030032# ANT+
33PRODUCT_PACKAGES += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +030034 AntHalService-Soong
Michael Bestasebc23d02024-05-12 08:53:48 +030035
Michael Bestas9d8a5f62024-05-12 08:50:28 +030036# Audio
merothh750fa002022-01-02 19:42:51 +053037PRODUCT_PACKAGES += \
38 android.hardware.audio@6.0-impl \
39 android.hardware.audio.effect@6.0-impl \
40 android.hardware.audio.service \
Josh Wud049c482022-01-24 22:56:14 -080041 android.hardware.bluetooth.audio-impl \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030042 android.hardware.soundtrigger@2.3-impl \
43 audio.bluetooth.default \
Michael Bestas7daa2d42023-08-29 20:12:57 +030044 audio.primary.lahaina \
merothh750fa002022-01-02 19:42:51 +053045 audio.r_submix.default \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030046 audio.usb.default \
Michael Bestas8fad4612023-08-30 03:25:06 +030047 audioadsprpcd \
merothh750fa002022-01-02 19:42:51 +053048 liba2dpoffload \
49 libbatterylistener \
Michael Bestas8fad4612023-08-30 03:25:06 +030050 libcirrusspkrprot \
merothh750fa002022-01-02 19:42:51 +053051 libcomprcapture \
52 libexthwplugin \
53 libhdmiedid \
54 libhfp \
merothh750fa002022-01-02 19:42:51 +053055 libqcompostprocbundle \
56 libqcomvisualizer \
57 libqcomvoiceprocessing \
Michael Bestas9d8a5f62024-05-12 08:50:28 +030058 libsndmonitor \
59 libspkrprot \
Michael Bestas8fad4612023-08-30 03:25:06 +030060 libvolumelistener \
61 sound_trigger.primary.lahaina
merothh750fa002022-01-02 19:42:51 +053062
merothhd7649fd2022-01-02 20:05:19 +053063PRODUCT_COPY_FILES += \
64 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
Michael Bestas418f9e42023-08-30 04:50:56 +030065 $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/audio_io_policy.conf \
66 $(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 +053067 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
Michael Bestasbbdf1532022-03-28 20:22:52 +030068 $(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 +030069 $(LOCAL_PATH)/audio/audio_policy_configuration_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
70 $(LOCAL_PATH)/audio/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \
Michael Bestasbbdf1532022-03-28 20:22:52 +030071 $(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 +030072 $(LOCAL_PATH)/audio/mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/mixer_paths_yupikidp.xml \
73 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths_yupikidp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_mixer_paths_yupikidp.xml \
74 $(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 +053075
76PRODUCT_COPY_FILES += \
merothhd7649fd2022-01-02 20:05:19 +053077 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
78 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
79 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 +030080 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 +053081
Michael Bestas9d8a5f62024-05-12 08:50:28 +030082PRODUCT_COPY_FILES += \
83 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
84 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
85 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
merothh2e0e5682022-01-02 20:25:57 +053086
merothh750fa002022-01-02 19:42:51 +053087# Bluetooth
Michael Bestas9d8a5f62024-05-12 08:50:28 +030088PRODUCT_COPY_FILES += \
89 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
90 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml
91
SGCMarkusc3293742022-10-31 18:07:07 +010092# Board API level
Chirayu Desai2b6c5452024-06-13 21:10:42 +053093BOARD_SHIPPING_API_LEVEL := 30
SGCMarkusc3293742022-10-31 18:07:07 +010094
Alexander Martinz9ed48af2024-12-05 11:42:04 +010095# Boot animation
96TARGET_SCREEN_HEIGHT := 2400
97TARGET_SCREEN_WIDTH := 1080
98
Michael Bestas9d8a5f62024-05-12 08:50:28 +030099# Boot control
100PRODUCT_PACKAGES += \
101 android.hardware.boot@1.1-impl-qti \
102 android.hardware.boot@1.1-impl-qti.recovery \
103 android.hardware.boot@1.1-service
104
merothha507a0f2022-01-02 20:11:36 +0530105# Camera
106PRODUCT_PACKAGES += \
107 android.hardware.camera.provider@2.4-impl \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300108 android.hardware.camera.provider@2.4-service_64
merothha507a0f2022-01-02 20:11:36 +0530109
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300110PRODUCT_COPY_FILES += \
111 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
112 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
113 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
114 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
115
116# Dalvik
117$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
118
119# DebugFS
120PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
121
Michael Bestasb35c3d72024-05-29 01:22:20 +0300122# Device ID attestation
123PRODUCT_COPY_FILES += \
124 frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml
125
merothh7af51cb2022-01-02 20:14:21 +0530126# Display
127PRODUCT_PACKAGES += \
128 android.hardware.graphics.mapper@3.0-impl-qti-display \
129 android.hardware.graphics.mapper@4.0-impl-qti-display \
merothh7af51cb2022-01-02 20:14:21 +0530130 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 vendor.qti.hardware.display.allocator-service \
Michael Bestas8059f982024-08-27 02:04:54 +0300134 vendor.qti.hardware.display.composer-service.rc \
135 vendor.qti.hardware.display.composer-service.xml \
Yumi Yukimura8e5ec5a2024-07-13 23:22:02 +0530136 vendor.qti.hardware.memtrack-service
merothh7af51cb2022-01-02 20:14:21 +0530137
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300138PRODUCT_COPY_FILES += \
139 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 -0700140
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100141# DRM
142PRODUCT_PACKAGES += \
Bruno Martins09cfb262022-09-14 14:51:15 +0100143 android.hardware.drm-service.clearkey
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100144
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300145# e-SIM
merothh2b9692d2022-01-14 00:55:59 +0530146PRODUCT_COPY_FILES += \
Michael Bestasd7bd73f2024-08-31 03:27:54 +0300147 $(LOCAL_PATH)/configs/default-permissions_com.google.android.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/default-permissions/default-permissions_com.google.android.euicc.xml \
148 $(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 +0530149
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300150PRODUCT_COPY_FILES += \
151 frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml
152
merothh54856102021-11-04 12:07:41 +0530153# fastbootd
154PRODUCT_PACKAGES += \
155 fastbootd
156
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300157# Fingerprint
158PRODUCT_PACKAGES += \
Alexander Martinz02a5ea92024-09-02 12:00:42 +0200159 android.hardware.biometrics.fingerprint@2.3-service.otter
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300160
161PRODUCT_COPY_FILES += \
162 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
163
LuK133737154bf2021-12-14 11:42:44 +0100164# GPS
165PRODUCT_PACKAGES += \
Michael Bestas6cf15042024-05-09 01:13:02 +0300166 android.hardware.gnss@2.1-impl-qti:64 \
Michael Bestasd870a482023-05-04 01:19:43 +0300167 android.hardware.gnss@2.1-service-qti \
168 gnss@2.0-base.policy \
169 gnss@2.0-xtra-daemon.policy \
Michael Bestas6cf15042024-05-09 01:13:02 +0300170 libbatching:64 \
171 libgeofencing:64 \
172 libgnss:64 \
173 libloc_socket:64
LuK133737154bf2021-12-14 11:42:44 +0100174
Michael Bestas097b8902023-05-12 16:24:16 +0300175PRODUCT_PACKAGES += \
176 flp.conf \
Michael Bestasdd911262024-05-09 01:36:21 +0300177 gnss_antenna_info.conf \
Michael Bestas097b8902023-05-12 16:24:16 +0300178 gps.conf \
179 izat.conf
180
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300181PRODUCT_COPY_FILES += \
182 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
183
184# Graphics
185PRODUCT_COPY_FILES += \
186 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
187 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
188 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
189 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 +0800190 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 \
191 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 +0300192
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100193# Health
194PRODUCT_PACKAGES += \
Michael Bestas99a5c712023-08-30 21:12:04 +0300195 android.hardware.health-service.qti
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100196
Michael Bestasd4923512024-05-10 02:57:20 +0300197# Init
198PRODUCT_PACKAGES += \
Michael Bestas9bb5a142024-05-29 00:19:57 +0300199 fstab.qcom \
200 fstab.qcom.vendor_ramdisk \
Michael Bestasd4923512024-05-10 02:57:20 +0300201 init.class_main.sh \
202 init.qcom.early_boot.sh \
203 init.qcom.post_boot.sh \
204 init.qcom.rc \
205 init.qcom.recovery.rc \
206 init.qcom.sh \
207 init.qcom.usb.rc \
208 init.qcom.usb.sh \
Michael Bestasd4923512024-05-10 02:57:20 +0300209 init.target.rc \
210 ueventd.qcom.rc
211
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100212# IPACM
213PRODUCT_PACKAGES += \
214 ipacm \
Michael Bestas6cf15042024-05-09 01:13:02 +0300215 IPACM_cfg.xml
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100216
Chirayu Desaif03c7692024-06-13 22:02:20 +0530217# Kernel
218PRODUCT_ENABLE_UFFD_GC := false
219
LuK133737154bf2021-12-14 11:42:44 +0100220# Keymaster
221PRODUCT_PACKAGES += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300222 android.hardware.hardware_keystore.km41.xml
LuK133737154bf2021-12-14 11:42:44 +0100223
merothh431b69d2022-01-03 01:32:52 +0530224# Media
merothhf25a4a72022-01-02 21:45:42 +0530225PRODUCT_COPY_FILES += \
Michael Bestas25358082023-08-30 13:19:27 +0300226 $(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 +0300227 $(LOCAL_PATH)/media/media_codecs_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_yupik_iot.xml \
228 $(LOCAL_PATH)/media/media_profiles_yupik_iot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
merothhf25a4a72022-01-02 21:45:42 +0530229
Andrew Hexena9aed252020-09-26 11:51:58 -0700230# NFC
231PRODUCT_PACKAGES += \
Andrew Hexena9aed252020-09-26 11:51:58 -0700232 com.android.nfc_extras \
Andrew Hexena9aed252020-09-26 11:51:58 -0700233 Tag
234
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300235PRODUCT_COPY_FILES += \
236 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
237 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
238 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
239 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
240 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
241 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 +0300242 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 +0300243
Sebastiano Barezzied138322021-02-10 22:04:15 +0100244# OMX
245PRODUCT_PACKAGES += \
Michael Bestas738f5792024-08-31 22:03:42 +0300246 android.hardware.media.omx@1.0-service \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100247 libOmxAacEnc \
248 libOmxAmrEnc \
249 libOmxCore \
250 libOmxEvrcEnc \
251 libOmxG711Enc \
252 libOmxQcelp13Enc \
Sebastiano Barezzied138322021-02-10 22:04:15 +0100253 libstagefrighthw
254
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300255# Overlays
256DEVICE_PACKAGE_OVERLAYS += \
257 $(LOCAL_PATH)/overlay-lineage
258
259PRODUCT_ENFORCE_RRO_TARGETS := *
260PRODUCT_PACKAGES += \
261 CarrierConfigResCommon \
262 FrameworksResCommon \
263 FrameworksResTarget \
264 SettingsProviderResCommon \
265 SettingsResCommon \
266 SystemUIResCommon \
267 SystemUIResTarget \
268 TelephonyResCommon \
Rohit Sekhar56135612023-08-03 22:18:31 +0530269 WifiResCommon \
270 WifiResTarget
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300271
272# Partitions
273PRODUCT_USE_DYNAMIC_PARTITIONS := true
274
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100275# Power
276PRODUCT_PACKAGES += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300277 android.hardware.power-service-qti
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100278
merothh00be0602022-01-02 23:00:09 +0530279# Public libraries
280PRODUCT_COPY_FILES += \
281 $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
282
Sebastiano Barezzi17434b22021-02-10 22:06:22 +0100283# QTI fwk-detect
284PRODUCT_PACKAGES += \
Cosmin Tanislav547d9de2024-08-17 04:59:30 +0300285 libvndfwk_detect_jni.qti.vendor # Needed by CNE app
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100286
Andrew Hexen3929a452021-02-15 06:33:18 -0800287# Sensors
288PRODUCT_PACKAGES += \
289 android.hardware.sensors@2.0-service.multihal
290
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300291PRODUCT_COPY_FILES += \
292 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
Michael Bestasb35c3d72024-05-29 01:22:20 +0300293 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300294 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
295 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
Michael Bestasb35c3d72024-05-29 01:22:20 +0300296 frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hifi_sensors.xml \
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300297 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
298 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
299 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
300 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
301
302# Shipping API
Michael Bestasb16c8bb2024-05-29 02:00:36 +0300303PRODUCT_SHIPPING_API_LEVEL := 34
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300304
305# Soong namespaces
merothh54856102021-11-04 12:07:41 +0530306PRODUCT_SOONG_NAMESPACES += \
307 $(LOCAL_PATH)
308
Michael Bestas40301cc2023-08-31 20:48:36 +0300309# Storage
310$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
311
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100312# Telephony
313PRODUCT_PACKAGES += \
Michael Bestasb603e382023-02-02 17:41:45 +0200314 extphonelib \
315 extphonelib-product \
316 extphonelib.xml \
317 extphonelib_product.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100318 ims-ext-common \
319 ims_ext_common.xml \
320 qti-telephony-hidl-wrapper \
Michael Bestasb603e382023-02-02 17:41:45 +0200321 qti-telephony-hidl-wrapper-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100322 qti_telephony_hidl_wrapper.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200323 qti_telephony_hidl_wrapper_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100324 qti-telephony-utils \
Michael Bestasb603e382023-02-02 17:41:45 +0200325 qti-telephony-utils-prd \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100326 qti_telephony_utils.xml \
Michael Bestasb603e382023-02-02 17:41:45 +0200327 qti_telephony_utils_prd.xml \
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100328 telephony-ext
329
330PRODUCT_BOOT_JARS += \
331 telephony-ext
332
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300333PRODUCT_COPY_FILES += \
334 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
335 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 +0530336 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 +0300337
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100338# Thermal
339PRODUCT_PACKAGES += \
Michael Bestas9fd8f0c2024-09-26 01:39:32 +0300340 android.hardware.thermal-service.qti
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100341
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300342# Update engine
343PRODUCT_PACKAGES += \
344 update_engine \
345 update_engine_sideload \
346 update_verifier
347
348PRODUCT_PACKAGES_DEBUG += \
349 update_engine_client
350
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100351# USB
352PRODUCT_PACKAGES += \
Michael Bestasa93d3312024-09-26 01:39:46 +0300353 android.hardware.usb-service.qti
Roger Liaodcb2e032020-04-10 04:46:38 +0800354
Alexander Koskoviche62c05c2022-04-12 05:00:05 -0700355PRODUCT_SOONG_NAMESPACES += \
356 vendor/qcom/opensource/usb/etc
357
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300358PRODUCT_COPY_FILES += \
359 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
360 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml
361
362# Vendor service manager
Roger Liaodcb2e032020-04-10 04:46:38 +0800363PRODUCT_PACKAGES += \
364 vndservicemanager
merothh66682a52021-11-13 19:20:17 +0530365
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300366# Verified Boot
367PRODUCT_COPY_FILES += \
368 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
369
merothh66682a52021-11-13 19:20:17 +0530370# Vibrator
371PRODUCT_PACKAGES += \
Michael Bestas9e3d0d62024-05-28 03:47:26 +0300372 vendor.qti.hardware.vibrator.service.otter
Bruno Martins33165842021-06-19 12:54:58 +0100373
374PRODUCT_COPY_FILES += \
Rohit Sekharffae9e42023-08-23 15:30:52 +0530375 $(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100376
377# WiFi
378PRODUCT_PACKAGES += \
Gabriel Birend6c1ff32023-03-27 22:33:41 +0000379 android.hardware.wifi-service \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100380 hostapd \
381 libwpa_client \
382 libwifi-hal-ctrl \
383 libwifi-hal-qcom \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100384 wpa_supplicant \
385 wpa_supplicant.conf
386
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300387PRODUCT_COPY_FILES += \
Michael Bestas069d86e2023-08-30 17:55:01 +0300388 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 +0300389 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
390 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 +0300391 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 +0300392 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
393 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
394
Bruno Martins1051d042024-06-23 21:58:49 +0100395# WiFi firmware symlink
396PRODUCT_PACKAGES += \
Rohit Sekhar9fe52ad2024-11-28 15:52:05 +0530397 firmware_WCNSS_qcom_cfg.ini_symlink \
398 firmware_wlan_mac.bin_symlink
Bruno Martins1051d042024-06-23 21:58:49 +0100399
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100400# WiFi Display
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100401PRODUCT_BOOT_JARS += \
402 WfdCommon
Michael Bestas9d8a5f62024-05-12 08:50:28 +0300403
404# Inherit from the proprietary files makefile.
Michael Bestas9e3d0d62024-05-28 03:47:26 +0300405$(call inherit-product, vendor/shift/otter/otter-vendor.mk)