blob: 78f94eafed5d55cbf5629eef1f3b18da5eecf9e7 [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
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +000049# This is needed for the 2016 June official Nexus 5 driver's glsub
50TARGET_USE_COMPAT_GRALLOC_PERFORM := true
51
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053052# Common definitions to set undefined properties
53$(call inherit-product, device/qcom/common/common.mk)
54
55
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053056# Call the proprietary setup
57$(call inherit-product, $(BLOBS_PATH)/device-vendor.mk)
58
59TARGET_USES_QCOM_BSP := true
60TARGET_USES_QCA_NFC := other
61
62ifeq ($(TARGET_USES_QCOM_BSP), true)
63# Add QC Video Enhancements flag
64TARGET_ENABLE_QC_AV_ENHANCEMENTS := true
65endif #TARGET_USES_QCOM_BSP
66
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053067PRODUCT_DEVICE := FP2
68PRODUCT_BRAND := Fairphone
69PRODUCT_MANUFACTURER := Fairphone
70
Borjan Tchakaloff832cec42018-05-24 16:07:24 +020071# The product flavors will set PRODUCT_NAME and PRODUCT_MODEL to something else
72# but really, we are not allowed to change it because it was certified like this.
73# To not break the build system and still have some properties set with the fancy
74# flavour name, we only override the variables in the generated build.prop file.
75PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_MODEL=FP2 PRODUCT_NAME=FP2
76
Borjan Tchakaloff1b9d2602018-05-11 11:35:06 +020077# Define the build number based on the product flavour and on the build manifest
78# revision
79ifneq (,$(strip $(PRODUCT_FLAVOR)))
80 _BUILD_MANIFEST_REV := $(shell (git -C $(TOPDIR).repo/manifests rev-parse --short=8 HEAD))
81 BUILD_NUMBER := $(PRODUCT_FLAVOR)-$(_BUILD_MANIFEST_REV)
82 HAS_BUILD_NUMBER := true
83else
84 $(error PRODUCT_FLAVOR must be defined)
85endif
86$(warning Build defined as $(BUILD_ID) ($(BUILD_NUMBER)))
87
88
Bharathf65bc8e2020-06-14 19:54:10 +053089PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/platform/msm_sdcc.1/by-name/pad
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053090
91DEVICE_PACKAGE_OVERLAYS += device/fairphone/fp2-common/overlay
92
93# Do not enable data roaming by default
94PRODUCT_PROPERTY_OVERRIDES := $(filter-out ro.com.android.dataroaming=%,\
95 $(PRODUCT_PROPERTY_OVERRIDES)) \
96 ro.com.android.dataroaming=false
97
98# Set default alarm sound
99PRODUCT_PROPERTY_OVERRIDES += \
100 ro.config.alarm_alert=Cesium.ogg
101
102# Allow mediaserver to allocate up to 75% of total RAM
103PRODUCT_PROPERTY_OVERRIDES += \
104 ro.media.maxmem=1451891712
105
106# Enable strict operation
107PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
108 persist.sys.strict_op_enable=false
109
110PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
111 persist.sys.whitelist=/system/etc/whitelist_appops.xml
112
113PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
114 camera2.portability.force_api=1
115
116
117PRODUCT_COPY_FILES += \
118 device/fairphone/fp2-common/rootdir/system/etc/old-apns-conf.xml:system/etc/old-apns-conf.xml \
119 device/fairphone/fp2-common/rootdir/system/etc/apns-conf.xml:system/etc/apns-conf.xml
120
121# MIDI feature
122PRODUCT_COPY_FILES += \
123 frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml
124
125PRODUCT_COPY_FILES += \
126 device/fairphone/FP2/whitelist_appops.xml:system/etc/whitelist_appops.xml
127
Arvind Singh13c02672020-02-19 11:03:27 +0530128# WiFi driver
129PRODUCT_COPY_FILES += \
Prityaac36e0712020-03-05 15:35:16 +0530130 device/fairphone/FP2/wifi/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini
131
132ifneq ($(strip $(FP2_SKIP_PERSIST_IMG)),true)
133PRODUCT_COPY_FILES += \
Arvind Singh13c02672020-02-19 11:03:27 +0530134 device/fairphone/FP2/wifi/WCNSS_qcom_wlan_nv.bin:persist/WCNSS_qcom_wlan_nv.bin
Prityaac36e0712020-03-05 15:35:16 +0530135endif
Arvind Singh13c02672020-02-19 11:03:27 +0530136
137# WiFi
138PRODUCT_COPY_FILES += \
139 device/fairphone/FP2/wifi/WCNSS_cfg.dat:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_cfg.dat \
140 device/fairphone/FP2/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_cfg.ini \
141 device/fairphone/FP2/wifi/WCNSS_qcom_wlan_nv.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
142
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530143# Features
144PRODUCT_COPY_FILES += \
145 external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.dsi.ant.antradio_library.xml \
146 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
147 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
148 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
149 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 +0200150 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 +0530151 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
152 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
153 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
154 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 \
274 audio.usb.default \
275 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 \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530317 libstagefrighthw
318
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000319
320# Display
321PRODUCT_AAPT_CONFIG := normal
322PRODUCT_AAPT_PREF_CONFIG := xxhdpi
323
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530324# Graphics
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000325PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530326 copybit.msm8974 \
327 gralloc.msm8974 \
328 hwcomposer.msm8974 \
329 liboverlay \
330 memtrack.msm8974
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000331
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530332# HAL Modules
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000333
Arvind Singh13c02672020-02-19 11:03:27 +0530334# WiFi
335PRODUCT_PACKAGES += \
336 android.hardware.wifi@1.0-service
337
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000338PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530339 android.hardware.graphics.allocator@2.0-impl \
340 android.hardware.graphics.allocator@2.0-service \
341 android.hardware.graphics.composer@2.1-impl \
342 android.hardware.graphics.mapper@2.0-impl \
343 android.hardware.memtrack@1.0-impl \
344 android.hardware.memtrack@1.0-service
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000345
346PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530347 android.hardware.audio@2.0-impl \
348 android.hardware.audio@2.0-service \
349 android.hardware.audio.effect@2.0-impl
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000350
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000351PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530352 android.hardware.graphics.allocator@2.1-impl \
353 android.hardware.graphics.allocator@2.1-service \
354 android.hardware.graphics.composer@2.0-impl \
355 android.hardware.graphics.mapper@2.0-impl \
356 android.hardware.memtrack@1.0-impl \
357 android.hardware.memtrack@1.0-service \
358 android.hardware.graphics.allocator@2.0-service \
359 android.hardware.graphics.composer@2.1-service
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000360
361# Keystore
362PRODUCT_PACKAGES += \
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530363 android.hardware.keymaster@3.0-impl \
364 android.hardware.keymaster@3.0-service \
365 keystore.msm8974
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000366
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530367# Lights
368PRODUCT_PACKAGES += \
369 android.hardware.light@2.0-service.FP2
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000370
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530371# Power
372PRODUCT_PACKAGES += \
373 android.hardware.power@1.1-service-qti
Vivekbalachandar Marisamy659e6a62019-10-08 08:44:33 +0000374
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530375# USB
376PRODUCT_PACKAGES += \
377 android.hardware.usb@1.0-service.basic
378
379# Vibrator
380PRODUCT_PACKAGES += \
381 android.hardware.vibrator@1.0-impl \
382 android.hardware.vibrator@1.0-service
383
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530384PRODUCT_PACKAGES += \
385 libhealthd.FP2
386
387PRODUCT_PACKAGES += xdivert
388
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530389# Ship the sound recorder app for backward compatibility with previous releases
390PRODUCT_PACKAGES += SoundRecorder
391
392# Ramdisk
393PRODUCT_PACKAGES += \
Vivekbalachandar M1506b5e2020-04-20 19:12:43 +0530394 init.qcom.power.rc
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530395
396# GPS
397PRODUCT_PACKAGES += \
398 android.hardware.gnss@1.0-impl \
399 android.hardware.gnss@1.0-service \
Karsten Tauschec5717862020-03-31 15:29:54 +0200400 gps.msm8974 \
401 izat.conf \
402 flp.conf \
403 gps.conf \
404 sap.conf
Vivekbalachandar M7af3d832020-02-12 15:56:09 +0530405
406PRODUCT_PACKAGES += senread
Karsten Tauscheec91c022019-07-17 15:36:32 +0200407
408# Experimental OpenGL ES 3.0 support for Android 7 (and higher)
409PRODUCT_PACKAGES += \
410 init.fp.exp_gles3_setup.sh