blob: 07a506338e97fff2147f2b13b81fa5d90bccb70d [file] [log] [blame]
merothh54856102021-11-04 12:07:41 +05301#
2# Copyright (C) 2021 The LineageOS Project
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7PRODUCT_USE_DYNAMIC_PARTITIONS := true
merothh726fc3a2022-01-03 04:59:57 +05308BOARD_BUILD_SUPER_IMAGE := true
9BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true
Roger Liao67b33f62020-04-06 23:38:49 +080010PRODUCT_SHIPPING_API_LEVEL := 30
merothh54856102021-11-04 12:07:41 +053011
12# Enable virtual A/B OTA
13$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
14
15# Include GSI keys
16$(call inherit-product, build/make/target/product/gsi_keys.mk)
17
Luca Stefani82ac4352019-09-12 23:47:56 +020018# Enable updating of APEXes
19$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
20
Lokesh Gidra9fe4b8c2019-12-06 13:19:19 -080021# Setup dalvik vm configs
22$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
23
merothhacf1dfa2022-01-02 18:21:21 +053024# Get non-open-source specific aspects
25$(call inherit-product, vendor/fairphone/FP4/FP4-vendor.mk)
26
merothh750fa002022-01-02 19:42:51 +053027# Overlays
28DEVICE_PACKAGE_OVERLAYS += \
merothhc973b6f2022-01-03 05:05:17 +053029 $(LOCAL_PATH)/overlay \
30 $(LOCAL_PATH)/overlay-lineage
merothh750fa002022-01-02 19:42:51 +053031
32PRODUCT_ENFORCE_RRO_TARGETS := *
merothhc973b6f2022-01-03 05:05:17 +053033PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += $(LOCAL_PATH)/overlay/packages/apps/CarrierConfig
merothh750fa002022-01-02 19:42:51 +053034
merothh193efdd2022-01-03 04:43:57 +053035# Permissions
36PRODUCT_COPY_FILES += \
37 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
38 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
39 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
40 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
41 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
42 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
43 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
44 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml \
45 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
46 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
47 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/android.hardware.nfc.hcef.xml \
48 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
49 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
50 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
51 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
52 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
53 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
54 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
55 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
56 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
57 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
58 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
59 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
60 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
61 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
62 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
63 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
64 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
65 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
66 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
67 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
68 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
69 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
70 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
71 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
72 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \
73 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
74 frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
75 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \
76 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 \
77 frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
78 frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
79 frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml
80
merothh54856102021-11-04 12:07:41 +053081# A/B
82PRODUCT_PACKAGES += \
83 android.hardware.boot@1.1-impl-qti \
84 android.hardware.boot@1.1-impl-qti.recovery \
85 android.hardware.boot@1.1-service
86
87AB_OTA_POSTINSTALL_CONFIG += \
88 RUN_POSTINSTALL_system=true \
89 POSTINSTALL_PATH_system=system/bin/otapreopt_script \
90 FILESYSTEM_TYPE_system=ext4 \
91 POSTINSTALL_OPTIONAL_system=true
92
93AB_OTA_POSTINSTALL_CONFIG += \
94 RUN_POSTINSTALL_vendor=true \
95 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
96 FILESYSTEM_TYPE_vendor=ext4 \
97 POSTINSTALL_OPTIONAL_vendor=true
98
99PRODUCT_PACKAGES += \
100 checkpoint_gc \
101 otapreopt_script
102
103PRODUCT_PACKAGES += \
104 update_engine \
105 update_engine_client \
106 update_verifier \
107 update_engine_sideload
108
Sebastiano Barezzif8bb2bd2021-02-10 21:58:07 +0100109# Atrace
110PRODUCT_PACKAGES += \
111 android.hardware.atrace@1.0-service
112
merothh750fa002022-01-02 19:42:51 +0530113# Audio (HIDL)
114PRODUCT_PACKAGES += \
115 android.hardware.audio@6.0-impl \
116 android.hardware.audio.effect@6.0-impl \
117 android.hardware.audio.service \
118 android.hardware.soundtrigger@2.3-impl
119
120# Audio (Hardware)
121PRODUCT_PACKAGES += \
122 audio.a2dp.default \
123 audio.primary.lito \
124 audio.r_submix.default \
125 audio.usb.default
126
127# Audio (Extensions)
128PRODUCT_PACKAGES += \
129 liba2dpoffload \
130 libbatterylistener \
131 libcomprcapture \
132 libexthwplugin \
133 libhdmiedid \
134 libhfp \
135 libsndmonitor \
136 libspkrprot
137
138# Audio (SoundFX)
139PRODUCT_PACKAGES += \
140 libaudiopreprocessing \
141 libbundlewrapper \
142 libdownmix \
143 libdynproc \
144 libeffectproxy \
145 libldnhncr \
146 libqcompostprocbundle \
147 libqcomvisualizer \
148 libqcomvoiceprocessing \
149 libreverbwrapper \
150 libvisualizer \
151 libvolumelistener
152
merothhd7649fd2022-01-02 20:05:19 +0530153PRODUCT_COPY_FILES += \
154 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
155 $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \
156 $(LOCAL_PATH)/audio/audio_platform_info_lagoon_fp4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_lagoon_fp4.xml \
157 $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
158 $(LOCAL_PATH)/audio/bluetooth_qti_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_audio_policy_configuration.xml \
159 $(LOCAL_PATH)/audio/bluetooth_qti_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_hearing_aid_audio_policy_configuration.xml \
160 $(LOCAL_PATH)/audio/mixer_paths_lagoon_fp4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_lagoon_fp4.xml \
161 $(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \
162 $(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml
163
164PRODUCT_COPY_FILES += \
165 frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
166 frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
167 frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
168 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
169 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
170 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
171
merothh2e0e5682022-01-02 20:25:57 +0530172# Biometrics
173PRODUCT_PACKAGES += \
174 android.hardware.biometrics.fingerprint@2.1-service
175
merothh750fa002022-01-02 19:42:51 +0530176# Bluetooth
177PRODUCT_PACKAGES += \
178 audio.bluetooth.default \
179 com.dsi.ant@1.0.vendor \
180 vendor.qti.hardware.bluetooth_audio@2.1.vendor \
181 vendor.qti.hardware.btconfigstore@1.0.vendor \
182 vendor.qti.hardware.btconfigstore@2.0.vendor
183
merothha507a0f2022-01-02 20:11:36 +0530184# Camera
185PRODUCT_PACKAGES += \
186 android.hardware.camera.provider@2.4-impl \
187 android.hardware.camera.provider@2.4-service_64 \
188 vendor.qti.hardware.camera.device@1.0.vendor \
189 vendor.qti.hardware.camera.postproc@1.0.vendor
190
191PRODUCT_PACKAGES += \
192 Snap
193
PIPIPIG2336668bc6eb12022-01-02 20:07:31 +0530194# Component overrides
195PRODUCT_COPY_FILES += \
196 $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \
197 $(LOCAL_PATH)/configs/component-overrides_qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/component-overrides.xml
198
merothh7af51cb2022-01-02 20:14:21 +0530199# Display
200PRODUCT_PACKAGES += \
201 android.hardware.graphics.mapper@3.0-impl-qti-display \
202 android.hardware.graphics.mapper@4.0-impl-qti-display \
203 android.hardware.memtrack@1.0-impl \
204 android.hardware.memtrack@1.0-service \
205 android.hardware.renderscript@1.0-impl \
206 gralloc.lito \
207 memtrack.lito \
208 libdisplayconfig.qti \
209 libdisplayconfig.qti.vendor \
210 libqdMetaData \
211 libsdmcore \
212 libsdmutils \
213 libtinyxml \
214 libvulkan \
215 vendor.display.config@1.5 \
216 vendor.display.config@1.11.vendor \
217 vendor.display.config@2.0 \
218 vendor.display.config@2.0.vendor \
219 vendor.qti.hardware.display.allocator-service \
220 vendor.qti.hardware.display.composer-service \
221 vendor.qti.hardware.display.mapper@1.1.vendor \
222 vendor.qti.hardware.display.mapper@2.0.vendor \
223 vendor.qti.hardware.display.mapper@3.0.vendor \
224 vendor.qti.hardware.display.mapper@4.0.vendor
225
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100226# DRM
227PRODUCT_PACKAGES += \
228 android.hardware.drm@1.3-service.clearkey
229
merothh2b9692d2022-01-14 00:55:59 +0530230# Euicc
231PRODUCT_COPY_FILES += \
232 $(LOCAL_PATH)/configs/privapp-permissions-euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-euicc.xml
233
merothh54856102021-11-04 12:07:41 +0530234# fastbootd
235PRODUCT_PACKAGES += \
236 fastbootd
237
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100238# Health
239PRODUCT_PACKAGES += \
240 android.hardware.health@2.1-impl \
241 android.hardware.health@2.1-service
242
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100243# HIDL
244PRODUCT_PACKAGES += \
245 libhwbinder.vendor
246
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100247# IPACM
248PRODUCT_PACKAGES += \
249 ipacm \
250 IPACM_cfg.xml \
251 libipanat \
252 liboffloadhal
253
merothh431b69d2022-01-03 01:32:52 +0530254# Media
255PRODUCT_PACKAGES += \
256 libavservices_minijail \
257 libavservices_minijail.vendor
258
merothhf25a4a72022-01-02 21:45:42 +0530259PRODUCT_COPY_FILES += \
260 $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
261 $(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
262 $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
263 $(LOCAL_PATH)/media/media_codecs_performance_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v1.xml \
264 $(LOCAL_PATH)/media/media_codecs_performance_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v2.xml \
265 $(LOCAL_PATH)/media/media_codecs_performance_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v2.xml \
266 $(LOCAL_PATH)/media/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
267 $(LOCAL_PATH)/media/media_codecs_vendor_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v1.xml \
268 $(LOCAL_PATH)/media/media_codecs_vendor_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v2.xml \
269 $(LOCAL_PATH)/media/media_codecs_vendor_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v3.xml \
270 $(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
271 $(LOCAL_PATH)/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
272
merothh694b09a2022-01-02 22:58:24 +0530273# Media (Codec2)
274PRODUCT_PACKAGES += \
275 libcodec2_hidl@1.0.vendor \
276 libcodec2_vndk.vendor \
277
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530278# Net
279PRODUCT_PACKAGES += \
280 netutils-wrapper-1.0
281
Andrew Hexena9aed252020-09-26 11:51:58 -0700282# NFC
283PRODUCT_PACKAGES += \
merothh59dd2962022-02-01 14:24:54 +0530284 android.hardware.nfc@1.2 \
Andrew Hexena9aed252020-09-26 11:51:58 -0700285 com.android.nfc_extras \
286 NfcNci \
287 SecureElement \
288 Tag
289
Sebastiano Barezzied138322021-02-10 22:04:15 +0100290# OMX
291PRODUCT_PACKAGES += \
292 libmm-omxcore \
293 libOmxAacEnc \
294 libOmxAmrEnc \
295 libOmxCore \
296 libOmxEvrcEnc \
297 libOmxG711Enc \
298 libOmxQcelp13Enc \
299 libOmxVdec \
300 libOmxVenc \
301 libstagefrighthw
302
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100303# Power
304PRODUCT_PACKAGES += \
305 android.hardware.power-service-qti \
306 vendor.qti.hardware.perf@2.2.vendor
307
merothh00be0602022-01-02 23:00:09 +0530308# Public libraries
309PRODUCT_COPY_FILES += \
310 $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
311
Sebastiano Barezzi17434b22021-02-10 22:06:22 +0100312# QTI fwk-detect
313PRODUCT_PACKAGES += \
314 libqti_vndfwk_detect \
315 libqti_vndfwk_detect.vendor \
316 libvndfwk_detect_jni.qti \
317 libvndfwk_detect_jni.qti.vendor
318
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100319# RIL
320PRODUCT_PACKAGES += \
321 libjson \
322 libprotobuf-cpp-full \
323 librmnetctl \
324 libxml2
325
Andrew Hexen3929a452021-02-15 06:33:18 -0800326# Sensors
327PRODUCT_PACKAGES += \
328 android.hardware.sensors@2.0-service.multihal
329
merothh54856102021-11-04 12:07:41 +0530330# Soong Namespaces
331PRODUCT_SOONG_NAMESPACES += \
332 $(LOCAL_PATH)
333
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100334# Telephony
335PRODUCT_PACKAGES += \
336 ims-ext-common \
337 ims_ext_common.xml \
338 qti-telephony-hidl-wrapper \
339 qti_telephony_hidl_wrapper.xml \
340 qti-telephony-utils \
341 qti_telephony_utils.xml \
342 telephony-ext
343
344PRODUCT_BOOT_JARS += \
345 telephony-ext
346
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100347# Thermal
348PRODUCT_PACKAGES += \
349 android.hardware.thermal@2.0-service.qti
350
merothh54856102021-11-04 12:07:41 +0530351# Ramdisk
352PRODUCT_COPY_FILES += \
353 $(LOCAL_PATH)/rootdir/etc/fstab.default:$(TARGET_COPY_OUT_RAMDISK)/fstab.default
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100354
merothh32be6882022-01-03 01:54:57 +0530355# Rootdir
356PRODUCT_PACKAGES += \
357 init.class_main.sh \
358 init.qcom.class_core.sh \
359 init.qcom.early_boot.sh \
360 init.qcom.post_boot.sh \
361 init.qcom.sh \
merothhf81fec62022-01-03 03:22:01 +0530362 init.qcom.usb.sh \
363 init.qti.dcvs.sh \
364 init.qti.qcv.sh
merothh32be6882022-01-03 01:54:57 +0530365
366PRODUCT_PACKAGES += \
367 init.qcom.rc \
368 init.qcom.usb.rc \
merothhf81fec62022-01-03 03:22:01 +0530369 init.qti.qcv.rc \
370 init.stnfc.rc \
merothh32be6882022-01-03 01:54:57 +0530371 init.target.rc \
372 fstab.default \
373 ueventd.qcom.rc
374
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100375# USB
376PRODUCT_PACKAGES += \
377 android.hardware.usb@1.2-service-qti
Roger Liaodcb2e032020-04-10 04:46:38 +0800378
379# vndservicemanager
380PRODUCT_PACKAGES += \
381 vndservicemanager
merothh66682a52021-11-13 19:20:17 +0530382
383# Vibrator
384PRODUCT_PACKAGES += \
385 vendor.qti.hardware.vibrator.service.FP4
Bruno Martins33165842021-06-19 12:54:58 +0100386
387PRODUCT_COPY_FILES += \
388 $(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100389
390# WiFi
391PRODUCT_PACKAGES += \
392 android.hardware.wifi@1.0-service \
393 hostapd \
394 libwpa_client \
395 libwifi-hal-ctrl \
396 libwifi-hal-qcom \
397 vendor.qti.hardware.wifi.hostapd@1.2.vendor \
398 vendor.qti.hardware.wifi.supplicant@2.2.vendor \
Roshan Pius595263d2020-04-24 14:33:28 -0700399 WifiOverlay \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100400 wpa_supplicant \
401 wpa_supplicant.conf
402
403PRODUCT_COPY_FILES += \
404 $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini \
405 $(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
406 $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100407
408# WiFi Display
409PRODUCT_PACKAGES += \
410 libnl \
411 libwfdaac_vendor
412
413PRODUCT_BOOT_JARS += \
414 WfdCommon