blob: 9471e618bff3474f8fa16f5f59f6f9a0ccbd8620 [file] [log] [blame]
Vivekbalachandar M7af3d832020-02-12 15:56:09 +05301# Copyright 2018-2020 Fairphone B.V.
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +00002#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
Francesco Salvatore8c5c0692019-02-28 16:39:11 +010016BLOBS_PATH = $(abspath device/fairphone/fp2-proprietary)
17GET_BLOBS_CMD = vendor/fairphone/tools/bin/get_blobs.py --device FP2 --build-id $(BUILD_ID) --blobs-dir $(BLOBS_PATH)
18
19# Check the presence of proprietary blobs
20ifeq ("$(wildcard $(BLOBS_PATH)/device-vendor.mk)","")
21define BLOBS_INSTRUCTION
22
23
24Cannot find FP2 binary blobs.
25
26Please run
27
28 python3 $(GET_BLOBS_CMD)
29
30and accept the terms of agreement.
31
32
33endef
34$(error $(BLOBS_INSTRUCTION))
35endif
36
Karsten Tauschea71dec32020-05-18 18:50:49 +020037# Call the vendor setup
38$(call inherit-product-if-exists, vendor/fairphone/fp2-common/device-vendor.mk)
39
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053040# camera_detect
41$(call inherit-product-if-exists, device/fairphone/fp2-common/camera_detect/camera_detect.mk)
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +000042
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053043# setup dalvik vm configs.
44$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +000045
Prityaac36e0712020-03-05 15:35:16 +053046# we don't have the calibration data so don't generate persist.img
47FP2_SKIP_PERSIST_IMG := true
48
pitchaiahcf545402020-10-13 09:19:30 +020049# disable network scan for lack of ril support
50TARGET_DISCARD_NETWORK_SCAN := true
51
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +000052# This is needed for the 2016 June official Nexus 5 driver's glsub
53TARGET_USE_COMPAT_GRALLOC_PERFORM := true
54
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053055# Common definitions to set undefined properties
56$(call inherit-product, device/qcom/common/common.mk)
57
58
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053059# Call the proprietary setup
60$(call inherit-product, $(BLOBS_PATH)/device-vendor.mk)
61
62TARGET_USES_QCOM_BSP := true
63TARGET_USES_QCA_NFC := other
64
65ifeq ($(TARGET_USES_QCOM_BSP), true)
66# Add QC Video Enhancements flag
67TARGET_ENABLE_QC_AV_ENHANCEMENTS := true
68endif #TARGET_USES_QCOM_BSP
69
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053070PRODUCT_DEVICE := FP2
71PRODUCT_BRAND := Fairphone
72PRODUCT_MANUFACTURER := Fairphone
73
Borjan Tchakaloff832cec42018-05-24 16:07:24 +020074# The product flavors will set PRODUCT_NAME and PRODUCT_MODEL to something else
75# but really, we are not allowed to change it because it was certified like this.
76# To not break the build system and still have some properties set with the fancy
77# flavour name, we only override the variables in the generated build.prop file.
78PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_MODEL=FP2 PRODUCT_NAME=FP2
79
Borjan Tchakaloff1b9d2602018-05-11 11:35:06 +020080# Define the build number based on the product flavour and on the build manifest
81# revision
82ifneq (,$(strip $(PRODUCT_FLAVOR)))
83 _BUILD_MANIFEST_REV := $(shell (git -C $(TOPDIR).repo/manifests rev-parse --short=8 HEAD))
84 BUILD_NUMBER := $(PRODUCT_FLAVOR)-$(_BUILD_MANIFEST_REV)
85 HAS_BUILD_NUMBER := true
86else
87 $(error PRODUCT_FLAVOR must be defined)
88endif
89$(warning Build defined as $(BUILD_ID) ($(BUILD_NUMBER)))
90
91
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053092DEVICE_PACKAGE_OVERLAYS += device/fairphone/fp2-common/overlay
93
94# Do not enable data roaming by default
95PRODUCT_PROPERTY_OVERRIDES := $(filter-out ro.com.android.dataroaming=%,\
96 $(PRODUCT_PROPERTY_OVERRIDES)) \
97 ro.com.android.dataroaming=false
98
99# Set default alarm sound
100PRODUCT_PROPERTY_OVERRIDES += \
101 ro.config.alarm_alert=Cesium.ogg
102
103# Allow mediaserver to allocate up to 75% of total RAM
104PRODUCT_PROPERTY_OVERRIDES += \
105 ro.media.maxmem=1451891712
106
107# Enable strict operation
108PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
109 persist.sys.strict_op_enable=false
110
111PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
112 persist.sys.whitelist=/system/etc/whitelist_appops.xml
113
114PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
115 camera2.portability.force_api=1
116
117
118PRODUCT_COPY_FILES += \
119 device/fairphone/fp2-common/rootdir/system/etc/old-apns-conf.xml:system/etc/old-apns-conf.xml \
120 device/fairphone/fp2-common/rootdir/system/etc/apns-conf.xml:system/etc/apns-conf.xml
121
122# MIDI feature
123PRODUCT_COPY_FILES += \
124 frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml
125
126PRODUCT_COPY_FILES += \
127 device/fairphone/FP2/whitelist_appops.xml:system/etc/whitelist_appops.xml
128
Arvind Singh13c02672020-02-19 11:03:27 +0530129# WiFi driver
130PRODUCT_COPY_FILES += \
Prityaac36e0712020-03-05 15:35:16 +0530131 device/fairphone/FP2/wifi/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini
132
133ifneq ($(strip $(FP2_SKIP_PERSIST_IMG)),true)
134PRODUCT_COPY_FILES += \
Arvind Singh13c02672020-02-19 11:03:27 +0530135 device/fairphone/FP2/wifi/WCNSS_qcom_wlan_nv.bin:persist/WCNSS_qcom_wlan_nv.bin
Prityaac36e0712020-03-05 15:35:16 +0530136endif
Arvind Singh13c02672020-02-19 11:03:27 +0530137
138# WiFi
139PRODUCT_COPY_FILES += \
140 device/fairphone/FP2/wifi/WCNSS_cfg.dat:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_cfg.dat \
141 device/fairphone/FP2/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_cfg.ini \
142 device/fairphone/FP2/wifi/WCNSS_qcom_wlan_nv.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
143
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530144# Features
145PRODUCT_COPY_FILES += \
146 external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.dsi.ant.antradio_library.xml \
147 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
148 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
149 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
150 frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \
Karsten Tauschec5717862020-03-31 15:29:54 +0200151 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530152 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
153 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530154 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
155 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
156 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
157 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \
158 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
159 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
160 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
161 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
162 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
163 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
164 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
165 frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
166 frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \
167
Vivekbalachandar M64df7ec2020-03-09 10:21:30 +0530168# Media
169PRODUCT_COPY_FILES += \
170 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
Karsten Tausche45955802020-09-10 16:54:56 +0200171 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
172 frameworks/av/media/libstagefright/data/media_codecs_google_tv.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_tv.xml
Vivekbalachandar M64df7ec2020-03-09 10:21:30 +0530173
174PRODUCT_COPY_FILES += \
175 device/fairphone/FP2/media/media_codecs_8974.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
Karsten Tausche7b186732021-01-22 18:27:08 +0100176 device/fairphone/FP2/media/media_codecs_8974_hwdec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_8974_hwdec.xml \
Karsten Tauscheb02f5dd2020-08-31 15:43:31 +0200177 device/fairphone/FP2/media/media_codecs_google_video_8974.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_8974.xml \
Vivekbalachandar M64df7ec2020-03-09 10:21:30 +0530178 device/fairphone/FP2/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
179 device/fairphone/FP2/media/media_profiles_8974.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
180
181# Audio
182PRODUCT_COPY_FILES += \
183 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Bluetooth_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb \
184 device/fairphone/FP2/audio/acdbdata/MTP/MTP_General_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_General_cal.acdb \
185 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Global_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Global_cal.acdb \
186 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Handset_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Handset_cal.acdb \
187 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Hdmi_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb \
188 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Headset_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Headset_cal.acdb \
189 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Speaker_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Speaker_cal.acdb
190
191PRODUCT_COPY_FILES += \
192 device/fairphone/FP2/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
193 device/fairphone/FP2/audio/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \
194 device/fairphone/FP2/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
195 device/fairphone/FP2/audio/mixer_paths_auxpcm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_auxpcm.xml
196
197# Seccomp
198PRODUCT_COPY_FILES += \
199 device/fairphone/FP2/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
200 device/fairphone/FP2/seccomp/mediaextractor.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
201
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530202# Boot animation
203PRODUCT_COPY_FILES += \
204 vendor/fairphone/media/bootanimation/fp2.zip:system/media/bootanimation.zip
205
206# Display logo image file
207PRODUCT_PACKAGES += \
208 libqcomvisualizer \
209 libqcomvoiceprocessing \
210 libqcompostprocbundle
211
212# battery_monitor
213PRODUCT_PACKAGES += \
214 battery_monitor \
215 battery_shutdown
216
217# fstab.qcom
218PRODUCT_PACKAGES += fstab.qcom
219
Bharath35eab122020-09-21 16:46:01 +0530220# Thermal
221PRODUCT_COPY_FILES += \
222 device/fairphone/FP2/configs/thermal-engine-8974.conf:vendor/etc/thermal-engine-8974.conf
223
Arvind Singh13c02672020-02-19 11:03:27 +0530224# WiFi
225PRODUCT_PACKAGES += \
226 hostapd \
227 wcnss_service \
228 wpa_supplicant
229
230PRODUCT_PACKAGES += \
231 p2p_supplicant_overlay.conf \
232 wpa_supplicant.conf \
233 wpa_supplicant_overlay.conf
234
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530235# ANT stack
236PRODUCT_PACKAGES += \
237 AntHalService \
238 libantradio \
239 ANTRadioService \
240 antradio_app
241
Tejashwini Prabhu59601e92020-04-13 17:26:46 +0530242# Radio
243PRODUCT_PACKAGES += \
244 libril-wrapper
245
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530246# include an expanded selection of fonts for the SDK.
247EXTENDED_FONT_FOOTPRINT := true
248
249# remove /dev/diag in user version for CTS
250ifeq ($(TARGET_BUILD_VARIANT),user)
251PRODUCT_COPY_FILES += device/qcom/common/rootdir/etc/init.qcom.diag.rc.user:root/init.qcom.diag.rc
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000252endif
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000253
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530254# Enable the diagnostics interface by default in userdebug and eng builds
255ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
256PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
257 persist.sys.usb.config=diag
258endif
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000259
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530260ifeq ($(strip $(FP2_SKIP_BOOT_JARS_CHECK)),)
261SKIP_BOOT_JARS_CHECK := true
262endif
263
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530264# display density
265PRODUCT_PROPERTY_OVERRIDES += \
Maarten Derks634ff082020-08-18 12:10:05 +0200266 ro.sf.lcd_density=440
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530267
268$(call inherit-product, build/target/product/product_launched_with_l_mr1.mk)
269
270# Media
271PRODUCT_PACKAGES += \
272 audio.a2dp.default \
273 audio.primary.msm8974 \
274 audio.r_submix.default \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530275 audio_policy.msm8974 \
276 libqcompostprocbundle \
277 libqcomvisualizer \
278 libqcomvoiceprocessing \
279 libqcomvoiceprocessingdescriptors \
280 tinymix
281
282# RenderScript
283PRODUCT_PACKAGES += \
284 android.hardware.renderscript@1.0-impl
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000285
286# Boot animation
287TARGET_SCREEN_HEIGHT := 1920
288TARGET_SCREEN_WIDTH := 1080
289
Arvind Singhab01cec2020-02-20 16:22:51 +0530290# Bluetooth
291PRODUCT_PACKAGES += \
292 android.hardware.bluetooth@1.0-impl \
293 android.hardware.bluetooth@1.0-service \
294 libbt-vendor
295
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530296# Camera
297PRODUCT_PACKAGES += \
298 android.hardware.camera.provider@2.4-impl \
299 camera.device@1.0-impl \
300 camera.msm8974
301
Prityaa86940a22020-03-05 17:21:35 +0530302# Sensors
303PRODUCT_PACKAGES += \
304 android.hardware.sensors@1.0-impl
305
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530306# Media
307PRODUCT_PACKAGES += \
308 libOmxAacEnc \
309 libOmxAmrEnc \
310 libOmxCore \
311 libOmxEvrcEnc \
312 libOmxQcelp13Enc \
313 libOmxVdec \
314 libOmxVenc \
315 libc2dcolorconvert \
Karsten Tausche45955802020-09-10 16:54:56 +0200316 libstagefright_soft_mpeg2dec \
Karsten Tausche7b186732021-01-22 18:27:08 +0100317 libstagefrighthw \
318 libmedia_codecserviceregistrant
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530319
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000320
321# Display
322PRODUCT_AAPT_CONFIG := normal
323PRODUCT_AAPT_PREF_CONFIG := xxhdpi
324
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530325# Graphics
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000326PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530327 copybit.msm8974 \
328 gralloc.msm8974 \
329 hwcomposer.msm8974 \
330 liboverlay \
331 memtrack.msm8974
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000332
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530333# HAL Modules
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000334
Arvind Singh13c02672020-02-19 11:03:27 +0530335# WiFi
336PRODUCT_PACKAGES += \
337 android.hardware.wifi@1.0-service
338
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000339PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530340 android.hardware.graphics.allocator@2.0-impl \
341 android.hardware.graphics.allocator@2.0-service \
342 android.hardware.graphics.composer@2.1-impl \
343 android.hardware.graphics.mapper@2.0-impl \
344 android.hardware.memtrack@1.0-impl \
345 android.hardware.memtrack@1.0-service
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000346
347PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530348 android.hardware.audio@2.0-impl \
349 android.hardware.audio@2.0-service \
350 android.hardware.audio.effect@2.0-impl
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000351
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000352PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530353 android.hardware.graphics.allocator@2.1-impl \
354 android.hardware.graphics.allocator@2.1-service \
355 android.hardware.graphics.composer@2.0-impl \
356 android.hardware.graphics.mapper@2.0-impl \
357 android.hardware.memtrack@1.0-impl \
358 android.hardware.memtrack@1.0-service \
359 android.hardware.graphics.allocator@2.0-service \
360 android.hardware.graphics.composer@2.1-service
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000361
362# Keystore
363PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530364 android.hardware.keymaster@3.0-impl \
365 android.hardware.keymaster@3.0-service \
366 keystore.msm8974
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000367
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530368# Lights
369PRODUCT_PACKAGES += \
370 android.hardware.light@2.0-service.FP2
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000371
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530372# Power
373PRODUCT_PACKAGES += \
374 android.hardware.power@1.1-service-qti
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000375
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530376# USB
377PRODUCT_PACKAGES += \
378 android.hardware.usb@1.0-service.basic
379
380# Vibrator
381PRODUCT_PACKAGES += \
382 android.hardware.vibrator@1.0-impl \
383 android.hardware.vibrator@1.0-service
384
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530385PRODUCT_PACKAGES += \
386 libhealthd.FP2
387
388PRODUCT_PACKAGES += xdivert
389
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530390# Ship the sound recorder app for backward compatibility with previous releases
391PRODUCT_PACKAGES += SoundRecorder
392
393# Ramdisk
394PRODUCT_PACKAGES += \
Vivekbalachandar M1506b5e2020-04-20 19:12:43 +0530395 init.qcom.power.rc
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530396
397# GPS
398PRODUCT_PACKAGES += \
399 android.hardware.gnss@1.0-impl \
400 android.hardware.gnss@1.0-service \
Karsten Tauschec5717862020-03-31 15:29:54 +0200401 gps.msm8974 \
402 izat.conf \
403 flp.conf \
404 gps.conf \
405 sap.conf
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530406
407PRODUCT_PACKAGES += senread
Karsten Tauscheec91c022019-07-17 15:36:32 +0200408
409# Experimental OpenGL ES 3.0 support for Android 7 (and higher)
410PRODUCT_PACKAGES += \
411 init.fp.exp_gles3_setup.sh