blob: 6c9fac89c42a9bc7a7d6ffd5c86d3f23dd65edec [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 \
Michael Bestasbbdf1532022-03-28 20:22:52 +0300158 $(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
159 $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
merothhd7649fd2022-01-02 20:05:19 +0530160 $(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 += \
Michael Bestasbbdf1532022-03-28 20:22:52 +0300165 frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
merothhd7649fd2022-01-02 20:05:19 +0530166 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 += \
LuK133737154bf2021-12-14 11:42:44 +0100178 android.hardware.bluetooth@1.0.vendor:64 \
Michael Bestasb12f5062022-02-22 20:38:00 +0200179 android.hardware.bluetooth.audio@2.0-impl \
merothh750fa002022-01-02 19:42:51 +0530180 audio.bluetooth.default \
Michael Bestasb12f5062022-02-22 20:38:00 +0200181 audio.hearing_aid.default \
merothh750fa002022-01-02 19:42:51 +0530182 com.dsi.ant@1.0.vendor \
183 vendor.qti.hardware.bluetooth_audio@2.1.vendor \
184 vendor.qti.hardware.btconfigstore@1.0.vendor \
185 vendor.qti.hardware.btconfigstore@2.0.vendor
186
merothha507a0f2022-01-02 20:11:36 +0530187# Camera
188PRODUCT_PACKAGES += \
189 android.hardware.camera.provider@2.4-impl \
190 android.hardware.camera.provider@2.4-service_64 \
191 vendor.qti.hardware.camera.device@1.0.vendor \
192 vendor.qti.hardware.camera.postproc@1.0.vendor
193
194PRODUCT_PACKAGES += \
195 Snap
196
PIPIPIG2336668bc6eb12022-01-02 20:07:31 +0530197# Component overrides
198PRODUCT_COPY_FILES += \
Michael Bestasb12f5062022-02-22 20:38:00 +0200199 $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml
PIPIPIG2336668bc6eb12022-01-02 20:07:31 +0530200
merothh7af51cb2022-01-02 20:14:21 +0530201# Display
202PRODUCT_PACKAGES += \
203 android.hardware.graphics.mapper@3.0-impl-qti-display \
204 android.hardware.graphics.mapper@4.0-impl-qti-display \
205 android.hardware.memtrack@1.0-impl \
206 android.hardware.memtrack@1.0-service \
207 android.hardware.renderscript@1.0-impl \
208 gralloc.lito \
209 memtrack.lito \
210 libdisplayconfig.qti \
211 libdisplayconfig.qti.vendor \
212 libqdMetaData \
213 libsdmcore \
214 libsdmutils \
215 libtinyxml \
216 libvulkan \
217 vendor.display.config@1.5 \
218 vendor.display.config@1.11.vendor \
219 vendor.display.config@2.0 \
220 vendor.display.config@2.0.vendor \
221 vendor.qti.hardware.display.allocator-service \
222 vendor.qti.hardware.display.composer-service \
223 vendor.qti.hardware.display.mapper@1.1.vendor \
224 vendor.qti.hardware.display.mapper@2.0.vendor \
225 vendor.qti.hardware.display.mapper@3.0.vendor \
226 vendor.qti.hardware.display.mapper@4.0.vendor
227
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100228# DRM
229PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100230 android.hardware.drm@1.3.vendor \
Edwin Wongd3818522021-03-25 00:19:58 -0700231 android.hardware.drm@1.4-service.clearkey
Sebastiano Barezzi2789dea2021-02-10 22:01:11 +0100232
merothh2b9692d2022-01-14 00:55:59 +0530233# Euicc
234PRODUCT_COPY_FILES += \
235 $(LOCAL_PATH)/configs/privapp-permissions-euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-euicc.xml
236
merothh54856102021-11-04 12:07:41 +0530237# fastbootd
238PRODUCT_PACKAGES += \
239 fastbootd
240
LuK133737154bf2021-12-14 11:42:44 +0100241# Gatekeeper
242PRODUCT_PACKAGES += \
243 android.hardware.gatekeeper@1.0.vendor:64
244
245# GPS
246PRODUCT_PACKAGES += \
247 android.hardware.gnss.measurement_corrections@1.1.vendor:64 \
248 android.hardware.gnss.visibility_control@1.0.vendor:64 \
249 android.hardware.gnss@2.1.vendor:64
250
Sebastiano Barezzif97d62a2021-02-10 22:01:44 +0100251# Health
252PRODUCT_PACKAGES += \
253 android.hardware.health@2.1-impl \
254 android.hardware.health@2.1-service
255
Sebastiano Barezzi63afb8d2021-02-10 22:02:15 +0100256# HIDL
257PRODUCT_PACKAGES += \
258 libhwbinder.vendor
259
Sebastiano Barezzi7e8029e2021-02-10 22:02:37 +0100260# IPACM
261PRODUCT_PACKAGES += \
262 ipacm \
263 IPACM_cfg.xml \
264 libipanat \
265 liboffloadhal
266
LuK133737154bf2021-12-14 11:42:44 +0100267# Keymaster
268PRODUCT_PACKAGES += \
269 android.hardware.keymaster@4.1.vendor:64
270
merothh431b69d2022-01-03 01:32:52 +0530271# Media
272PRODUCT_PACKAGES += \
273 libavservices_minijail \
274 libavservices_minijail.vendor
275
merothhf25a4a72022-01-02 21:45:42 +0530276PRODUCT_COPY_FILES += \
277 $(LOCAL_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
278 $(LOCAL_PATH)/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
279 $(LOCAL_PATH)/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
280 $(LOCAL_PATH)/media/media_codecs_performance_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v1.xml \
281 $(LOCAL_PATH)/media/media_codecs_performance_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v2.xml \
282 $(LOCAL_PATH)/media/media_codecs_performance_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v2.xml \
283 $(LOCAL_PATH)/media/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
284 $(LOCAL_PATH)/media/media_codecs_vendor_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v1.xml \
285 $(LOCAL_PATH)/media/media_codecs_vendor_v2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v2.xml \
286 $(LOCAL_PATH)/media/media_codecs_vendor_v3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v3.xml \
287 $(LOCAL_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
288 $(LOCAL_PATH)/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
289
merothh694b09a2022-01-02 22:58:24 +0530290# Media (Codec2)
291PRODUCT_PACKAGES += \
292 libcodec2_hidl@1.0.vendor \
293 libcodec2_vndk.vendor \
294
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530295# Net
296PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100297 android.system.net.netd@1.1.vendor:64 \
Subash Abhinov Kasiviswanathan3f16b3b2022-01-02 22:22:14 +0530298 netutils-wrapper-1.0
299
LuK133737154bf2021-12-14 11:42:44 +0100300# Neural networks
301PRODUCT_PACKAGES += \
302 android.hardware.neuralnetworks@1.3.vendor:64
303
Andrew Hexena9aed252020-09-26 11:51:58 -0700304# NFC
305PRODUCT_PACKAGES += \
merothh59dd2962022-02-01 14:24:54 +0530306 android.hardware.nfc@1.2 \
LuK133737154bf2021-12-14 11:42:44 +0100307 android.hardware.nfc@1.2.vendor:64 \
308 android.hardware.secure_element@1.2.vendor:64 \
Andrew Hexena9aed252020-09-26 11:51:58 -0700309 com.android.nfc_extras \
310 NfcNci \
311 SecureElement \
312 Tag
313
Sebastiano Barezzied138322021-02-10 22:04:15 +0100314# OMX
315PRODUCT_PACKAGES += \
316 libmm-omxcore \
317 libOmxAacEnc \
318 libOmxAmrEnc \
319 libOmxCore \
320 libOmxEvrcEnc \
321 libOmxG711Enc \
322 libOmxQcelp13Enc \
323 libOmxVdec \
324 libOmxVenc \
325 libstagefrighthw
326
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100327# Power
328PRODUCT_PACKAGES += \
329 android.hardware.power-service-qti \
LuK133737154bf2021-12-14 11:42:44 +0100330 android.hardware.power@1.2.vendor \
Sebastiano Barezziff0754a2021-02-10 22:05:37 +0100331 vendor.qti.hardware.perf@2.2.vendor
332
merothh00be0602022-01-02 23:00:09 +0530333# Public libraries
334PRODUCT_COPY_FILES += \
335 $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
336
Sebastiano Barezzi17434b22021-02-10 22:06:22 +0100337# QTI fwk-detect
338PRODUCT_PACKAGES += \
339 libqti_vndfwk_detect \
340 libqti_vndfwk_detect.vendor \
341 libvndfwk_detect_jni.qti \
342 libvndfwk_detect_jni.qti.vendor
343
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100344# RIL
345PRODUCT_PACKAGES += \
LuK133737154bf2021-12-14 11:42:44 +0100346 android.hardware.radio@1.5.vendor:64 \
347 android.hardware.radio.config@1.2.vendor:64 \
348 android.hardware.radio.deprecated@1.0.vendor:64 \
Sebastiano Barezzi0441dfa2021-02-10 22:06:43 +0100349 libjson \
350 libprotobuf-cpp-full \
351 librmnetctl \
352 libxml2
353
Andrew Hexen3929a452021-02-15 06:33:18 -0800354# Sensors
355PRODUCT_PACKAGES += \
356 android.hardware.sensors@2.0-service.multihal
357
merothh54856102021-11-04 12:07:41 +0530358# Soong Namespaces
359PRODUCT_SOONG_NAMESPACES += \
360 $(LOCAL_PATH)
361
Sebastiano Barezzid70ce292021-02-10 22:08:35 +0100362# Telephony
363PRODUCT_PACKAGES += \
364 ims-ext-common \
365 ims_ext_common.xml \
366 qti-telephony-hidl-wrapper \
367 qti_telephony_hidl_wrapper.xml \
368 qti-telephony-utils \
369 qti_telephony_utils.xml \
370 telephony-ext
371
372PRODUCT_BOOT_JARS += \
373 telephony-ext
374
Sebastiano Barezzia488c662021-02-17 17:21:17 +0100375# Thermal
376PRODUCT_PACKAGES += \
377 android.hardware.thermal@2.0-service.qti
378
merothh54856102021-11-04 12:07:41 +0530379# Ramdisk
380PRODUCT_COPY_FILES += \
381 $(LOCAL_PATH)/rootdir/etc/fstab.default:$(TARGET_COPY_OUT_RAMDISK)/fstab.default
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100382
merothh32be6882022-01-03 01:54:57 +0530383# Rootdir
384PRODUCT_PACKAGES += \
385 init.class_main.sh \
386 init.qcom.class_core.sh \
387 init.qcom.early_boot.sh \
388 init.qcom.post_boot.sh \
389 init.qcom.sh \
merothhf81fec62022-01-03 03:22:01 +0530390 init.qcom.usb.sh \
391 init.qti.dcvs.sh \
392 init.qti.qcv.sh
merothh32be6882022-01-03 01:54:57 +0530393
394PRODUCT_PACKAGES += \
395 init.qcom.rc \
396 init.qcom.usb.rc \
merothhf81fec62022-01-03 03:22:01 +0530397 init.qti.qcv.rc \
Michael Bestas6e2df4f2022-02-22 00:04:50 +0200398 init.recovery.qcom.rc \
merothhf81fec62022-01-03 03:22:01 +0530399 init.stnfc.rc \
merothh32be6882022-01-03 01:54:57 +0530400 init.target.rc \
401 fstab.default \
402 ueventd.qcom.rc
403
Sebastiano Barezzi64068f12021-02-10 22:09:03 +0100404# USB
405PRODUCT_PACKAGES += \
Albert Wang0dcdbc92021-03-25 00:03:02 +0800406 android.hardware.usb@1.3-service-qti
Roger Liaodcb2e032020-04-10 04:46:38 +0800407
408# vndservicemanager
409PRODUCT_PACKAGES += \
410 vndservicemanager
merothh66682a52021-11-13 19:20:17 +0530411
412# Vibrator
413PRODUCT_PACKAGES += \
414 vendor.qti.hardware.vibrator.service.FP4
Bruno Martins33165842021-06-19 12:54:58 +0100415
416PRODUCT_COPY_FILES += \
417 $(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100418
419# WiFi
420PRODUCT_PACKAGES += \
421 android.hardware.wifi@1.0-service \
422 hostapd \
423 libwpa_client \
424 libwifi-hal-ctrl \
425 libwifi-hal-qcom \
426 vendor.qti.hardware.wifi.hostapd@1.2.vendor \
427 vendor.qti.hardware.wifi.supplicant@2.2.vendor \
Roshan Pius595263d2020-04-24 14:33:28 -0700428 WifiOverlay \
Sebastiano Barezzifd6e1f82021-02-10 22:10:19 +0100429 wpa_supplicant \
430 wpa_supplicant.conf
431
432PRODUCT_COPY_FILES += \
433 $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini \
434 $(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
435 $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
Sebastiano Barezzi6262fdd2021-02-10 22:10:39 +0100436
437# WiFi Display
438PRODUCT_PACKAGES += \
439 libnl \
440 libwfdaac_vendor
441
442PRODUCT_BOOT_JARS += \
443 WfdCommon