blob: 58af73ee7b8fb53a1deb1b0463d15e2c14ed383c [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 Tauscheb02f5dd2020-08-31 15:43:31 +0200176 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 +0530177 device/fairphone/FP2/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
178 device/fairphone/FP2/media/media_profiles_8974.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
179
180# Audio
181PRODUCT_COPY_FILES += \
182 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Bluetooth_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb \
183 device/fairphone/FP2/audio/acdbdata/MTP/MTP_General_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_General_cal.acdb \
184 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Global_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Global_cal.acdb \
185 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Handset_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Handset_cal.acdb \
186 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Hdmi_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb \
187 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Headset_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Headset_cal.acdb \
188 device/fairphone/FP2/audio/acdbdata/MTP/MTP_Speaker_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Speaker_cal.acdb
189
190PRODUCT_COPY_FILES += \
191 device/fairphone/FP2/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
192 device/fairphone/FP2/audio/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \
193 device/fairphone/FP2/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
194 device/fairphone/FP2/audio/mixer_paths_auxpcm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_auxpcm.xml
195
196# Seccomp
197PRODUCT_COPY_FILES += \
198 device/fairphone/FP2/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
199 device/fairphone/FP2/seccomp/mediaextractor.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
200
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530201# Boot animation
202PRODUCT_COPY_FILES += \
203 vendor/fairphone/media/bootanimation/fp2.zip:system/media/bootanimation.zip
204
205# Display logo image file
206PRODUCT_PACKAGES += \
207 libqcomvisualizer \
208 libqcomvoiceprocessing \
209 libqcompostprocbundle
210
211# battery_monitor
212PRODUCT_PACKAGES += \
213 battery_monitor \
214 battery_shutdown
215
216# fstab.qcom
217PRODUCT_PACKAGES += fstab.qcom
218
Bharath35eab122020-09-21 16:46:01 +0530219# Thermal
220PRODUCT_COPY_FILES += \
221 device/fairphone/FP2/configs/thermal-engine-8974.conf:vendor/etc/thermal-engine-8974.conf
222
Arvind Singh13c02672020-02-19 11:03:27 +0530223# WiFi
224PRODUCT_PACKAGES += \
225 hostapd \
226 wcnss_service \
227 wpa_supplicant
228
229PRODUCT_PACKAGES += \
230 p2p_supplicant_overlay.conf \
231 wpa_supplicant.conf \
232 wpa_supplicant_overlay.conf
233
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530234# ANT stack
235PRODUCT_PACKAGES += \
236 AntHalService \
237 libantradio \
238 ANTRadioService \
239 antradio_app
240
Tejashwini Prabhu59601e92020-04-13 17:26:46 +0530241# Radio
242PRODUCT_PACKAGES += \
243 libril-wrapper
244
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530245# include an expanded selection of fonts for the SDK.
246EXTENDED_FONT_FOOTPRINT := true
247
248# remove /dev/diag in user version for CTS
249ifeq ($(TARGET_BUILD_VARIANT),user)
250PRODUCT_COPY_FILES += device/qcom/common/rootdir/etc/init.qcom.diag.rc.user:root/init.qcom.diag.rc
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000251endif
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000252
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530253# Enable the diagnostics interface by default in userdebug and eng builds
254ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
255PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
256 persist.sys.usb.config=diag
257endif
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000258
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530259ifeq ($(strip $(FP2_SKIP_BOOT_JARS_CHECK)),)
260SKIP_BOOT_JARS_CHECK := true
261endif
262
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530263# display density
264PRODUCT_PROPERTY_OVERRIDES += \
Maarten Derks634ff082020-08-18 12:10:05 +0200265 ro.sf.lcd_density=440
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530266
267$(call inherit-product, build/target/product/product_launched_with_l_mr1.mk)
268
269# Media
270PRODUCT_PACKAGES += \
271 audio.a2dp.default \
272 audio.primary.msm8974 \
273 audio.r_submix.default \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530274 audio_policy.msm8974 \
275 libqcompostprocbundle \
276 libqcomvisualizer \
277 libqcomvoiceprocessing \
278 libqcomvoiceprocessingdescriptors \
279 tinymix
280
281# RenderScript
282PRODUCT_PACKAGES += \
283 android.hardware.renderscript@1.0-impl
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000284
285# Boot animation
286TARGET_SCREEN_HEIGHT := 1920
287TARGET_SCREEN_WIDTH := 1080
288
Arvind Singhab01cec2020-02-20 16:22:51 +0530289# Bluetooth
290PRODUCT_PACKAGES += \
291 android.hardware.bluetooth@1.0-impl \
292 android.hardware.bluetooth@1.0-service \
293 libbt-vendor
294
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530295# Camera
296PRODUCT_PACKAGES += \
297 android.hardware.camera.provider@2.4-impl \
298 camera.device@1.0-impl \
299 camera.msm8974
300
Prityaa86940a22020-03-05 17:21:35 +0530301# Sensors
302PRODUCT_PACKAGES += \
303 android.hardware.sensors@1.0-impl
304
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530305# Media
306PRODUCT_PACKAGES += \
307 libOmxAacEnc \
308 libOmxAmrEnc \
309 libOmxCore \
310 libOmxEvrcEnc \
311 libOmxQcelp13Enc \
312 libOmxVdec \
313 libOmxVenc \
314 libc2dcolorconvert \
Karsten Tausche45955802020-09-10 16:54:56 +0200315 libstagefright_soft_mpeg2dec \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530316 libstagefrighthw
317
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000318
319# Display
320PRODUCT_AAPT_CONFIG := normal
321PRODUCT_AAPT_PREF_CONFIG := xxhdpi
322
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530323# Graphics
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000324PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530325 copybit.msm8974 \
326 gralloc.msm8974 \
327 hwcomposer.msm8974 \
328 liboverlay \
329 memtrack.msm8974
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000330
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530331# HAL Modules
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000332
Arvind Singh13c02672020-02-19 11:03:27 +0530333# WiFi
334PRODUCT_PACKAGES += \
335 android.hardware.wifi@1.0-service
336
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000337PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530338 android.hardware.graphics.allocator@2.0-impl \
339 android.hardware.graphics.allocator@2.0-service \
340 android.hardware.graphics.composer@2.1-impl \
341 android.hardware.graphics.mapper@2.0-impl \
342 android.hardware.memtrack@1.0-impl \
343 android.hardware.memtrack@1.0-service
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000344
345PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530346 android.hardware.audio@2.0-impl \
347 android.hardware.audio@2.0-service \
348 android.hardware.audio.effect@2.0-impl
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000349
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000350PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530351 android.hardware.graphics.allocator@2.1-impl \
352 android.hardware.graphics.allocator@2.1-service \
353 android.hardware.graphics.composer@2.0-impl \
354 android.hardware.graphics.mapper@2.0-impl \
355 android.hardware.memtrack@1.0-impl \
356 android.hardware.memtrack@1.0-service \
357 android.hardware.graphics.allocator@2.0-service \
358 android.hardware.graphics.composer@2.1-service
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000359
360# Keystore
361PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530362 android.hardware.keymaster@3.0-impl \
363 android.hardware.keymaster@3.0-service \
364 keystore.msm8974
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000365
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530366# Lights
367PRODUCT_PACKAGES += \
368 android.hardware.light@2.0-service.FP2
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000369
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530370# Power
371PRODUCT_PACKAGES += \
372 android.hardware.power@1.1-service-qti
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000373
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530374# USB
375PRODUCT_PACKAGES += \
376 android.hardware.usb@1.0-service.basic
377
378# Vibrator
379PRODUCT_PACKAGES += \
380 android.hardware.vibrator@1.0-impl \
381 android.hardware.vibrator@1.0-service
382
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530383PRODUCT_PACKAGES += \
384 libhealthd.FP2
385
386PRODUCT_PACKAGES += xdivert
387
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530388# Ship the sound recorder app for backward compatibility with previous releases
389PRODUCT_PACKAGES += SoundRecorder
390
391# Ramdisk
392PRODUCT_PACKAGES += \
Vivekbalachandar M1506b5e2020-04-20 19:12:43 +0530393 init.qcom.power.rc
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530394
395# GPS
396PRODUCT_PACKAGES += \
397 android.hardware.gnss@1.0-impl \
398 android.hardware.gnss@1.0-service \
Karsten Tauschec5717862020-03-31 15:29:54 +0200399 gps.msm8974 \
400 izat.conf \
401 flp.conf \
402 gps.conf \
403 sap.conf
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530404
405PRODUCT_PACKAGES += senread
Karsten Tauscheec91c022019-07-17 15:36:32 +0200406
407# Experimental OpenGL ES 3.0 support for Android 7 (and higher)
408PRODUCT_PACKAGES += \
409 init.fp.exp_gles3_setup.sh