Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 1 | # Copyright 2018-2020 Fairphone B.V. |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 2 | # |
| 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 | |
Karsten Tausche | a71dec3 | 2020-05-18 18:50:49 +0200 | [diff] [blame] | 16 | # Call the vendor setup |
| 17 | $(call inherit-product-if-exists, vendor/fairphone/fp2-common/device-vendor.mk) |
| 18 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 19 | # camera_detect |
| 20 | $(call inherit-product-if-exists, device/fairphone/fp2-common/camera_detect/camera_detect.mk) |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 21 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 22 | # setup dalvik vm configs. |
| 23 | $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 24 | |
Prityaa | c36e071 | 2020-03-05 15:35:16 +0530 | [diff] [blame] | 25 | # we don't have the calibration data so don't generate persist.img |
| 26 | FP2_SKIP_PERSIST_IMG := true |
| 27 | |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 28 | # This is needed for the 2016 June official Nexus 5 driver's glsub |
| 29 | TARGET_USE_COMPAT_GRALLOC_PERFORM := true |
| 30 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 31 | # Common definitions to set undefined properties |
| 32 | $(call inherit-product, device/qcom/common/common.mk) |
| 33 | |
| 34 | |
| 35 | BLOBS_PATH = device/fairphone/fp2-proprietary |
| 36 | |
| 37 | # Call the proprietary setup |
| 38 | $(call inherit-product, $(BLOBS_PATH)/device-vendor.mk) |
| 39 | |
| 40 | TARGET_USES_QCOM_BSP := true |
| 41 | TARGET_USES_QCA_NFC := other |
| 42 | |
| 43 | ifeq ($(TARGET_USES_QCOM_BSP), true) |
| 44 | # Add QC Video Enhancements flag |
| 45 | TARGET_ENABLE_QC_AV_ENHANCEMENTS := true |
| 46 | endif #TARGET_USES_QCOM_BSP |
| 47 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 48 | PRODUCT_DEVICE := FP2 |
| 49 | PRODUCT_BRAND := Fairphone |
| 50 | PRODUCT_MANUFACTURER := Fairphone |
| 51 | |
Borjan Tchakaloff | 832cec4 | 2018-05-24 16:07:24 +0200 | [diff] [blame] | 52 | # The product flavors will set PRODUCT_NAME and PRODUCT_MODEL to something else |
| 53 | # but really, we are not allowed to change it because it was certified like this. |
| 54 | # To not break the build system and still have some properties set with the fancy |
| 55 | # flavour name, we only override the variables in the generated build.prop file. |
| 56 | PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_MODEL=FP2 PRODUCT_NAME=FP2 |
| 57 | |
Borjan Tchakaloff | 1b9d260 | 2018-05-11 11:35:06 +0200 | [diff] [blame] | 58 | # Define the build number based on the product flavour and on the build manifest |
| 59 | # revision |
| 60 | ifneq (,$(strip $(PRODUCT_FLAVOR))) |
| 61 | _BUILD_MANIFEST_REV := $(shell (git -C $(TOPDIR).repo/manifests rev-parse --short=8 HEAD)) |
| 62 | BUILD_NUMBER := $(PRODUCT_FLAVOR)-$(_BUILD_MANIFEST_REV) |
| 63 | HAS_BUILD_NUMBER := true |
| 64 | else |
| 65 | $(error PRODUCT_FLAVOR must be defined) |
| 66 | endif |
| 67 | $(warning Build defined as $(BUILD_ID) ($(BUILD_NUMBER))) |
| 68 | |
| 69 | |
Bharath | f65bc8e | 2020-06-14 19:54:10 +0530 | [diff] [blame] | 70 | PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/platform/msm_sdcc.1/by-name/pad |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 71 | |
| 72 | DEVICE_PACKAGE_OVERLAYS += device/fairphone/fp2-common/overlay |
| 73 | |
| 74 | # Do not enable data roaming by default |
| 75 | PRODUCT_PROPERTY_OVERRIDES := $(filter-out ro.com.android.dataroaming=%,\ |
| 76 | $(PRODUCT_PROPERTY_OVERRIDES)) \ |
| 77 | ro.com.android.dataroaming=false |
| 78 | |
| 79 | # Set default alarm sound |
| 80 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 81 | ro.config.alarm_alert=Cesium.ogg |
| 82 | |
| 83 | # Allow mediaserver to allocate up to 75% of total RAM |
| 84 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 85 | ro.media.maxmem=1451891712 |
| 86 | |
| 87 | # Enable strict operation |
| 88 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 89 | persist.sys.strict_op_enable=false |
| 90 | |
| 91 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 92 | persist.sys.whitelist=/system/etc/whitelist_appops.xml |
| 93 | |
| 94 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 95 | camera2.portability.force_api=1 |
| 96 | |
| 97 | |
| 98 | PRODUCT_COPY_FILES += \ |
| 99 | device/fairphone/fp2-common/rootdir/system/etc/old-apns-conf.xml:system/etc/old-apns-conf.xml \ |
| 100 | device/fairphone/fp2-common/rootdir/system/etc/apns-conf.xml:system/etc/apns-conf.xml |
| 101 | |
| 102 | # MIDI feature |
| 103 | PRODUCT_COPY_FILES += \ |
| 104 | frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml |
| 105 | |
| 106 | PRODUCT_COPY_FILES += \ |
| 107 | device/fairphone/FP2/whitelist_appops.xml:system/etc/whitelist_appops.xml |
| 108 | |
Arvind Singh | 13c0267 | 2020-02-19 11:03:27 +0530 | [diff] [blame] | 109 | # WiFi driver |
| 110 | PRODUCT_COPY_FILES += \ |
Prityaa | c36e071 | 2020-03-05 15:35:16 +0530 | [diff] [blame] | 111 | device/fairphone/FP2/wifi/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini |
| 112 | |
| 113 | ifneq ($(strip $(FP2_SKIP_PERSIST_IMG)),true) |
| 114 | PRODUCT_COPY_FILES += \ |
Arvind Singh | 13c0267 | 2020-02-19 11:03:27 +0530 | [diff] [blame] | 115 | device/fairphone/FP2/wifi/WCNSS_qcom_wlan_nv.bin:persist/WCNSS_qcom_wlan_nv.bin |
Prityaa | c36e071 | 2020-03-05 15:35:16 +0530 | [diff] [blame] | 116 | endif |
Arvind Singh | 13c0267 | 2020-02-19 11:03:27 +0530 | [diff] [blame] | 117 | |
| 118 | # WiFi |
| 119 | PRODUCT_COPY_FILES += \ |
| 120 | device/fairphone/FP2/wifi/WCNSS_cfg.dat:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_cfg.dat \ |
| 121 | device/fairphone/FP2/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_cfg.ini \ |
| 122 | device/fairphone/FP2/wifi/WCNSS_qcom_wlan_nv.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin |
| 123 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 124 | # Features |
| 125 | PRODUCT_COPY_FILES += \ |
| 126 | external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.dsi.ant.antradio_library.xml \ |
| 127 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 128 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 129 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 130 | frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \ |
Karsten Tausche | c571786 | 2020-03-31 15:29:54 +0200 | [diff] [blame] | 131 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 132 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 133 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ |
| 134 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 135 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 136 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 137 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 138 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \ |
| 139 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 140 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 141 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ |
| 142 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ |
| 143 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 144 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ |
| 145 | frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \ |
| 146 | frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \ |
| 147 | frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \ |
| 148 | |
Vivekbalachandar M | 64df7ec | 2020-03-09 10:21:30 +0530 | [diff] [blame] | 149 | # Media |
| 150 | PRODUCT_COPY_FILES += \ |
| 151 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ |
Karsten Tausche | b02f5dd | 2020-08-31 15:43:31 +0200 | [diff] [blame^] | 152 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml |
Vivekbalachandar M | 64df7ec | 2020-03-09 10:21:30 +0530 | [diff] [blame] | 153 | |
| 154 | PRODUCT_COPY_FILES += \ |
| 155 | device/fairphone/FP2/media/media_codecs_8974.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
Karsten Tausche | b02f5dd | 2020-08-31 15:43:31 +0200 | [diff] [blame^] | 156 | device/fairphone/FP2/media/media_codecs_google_video_8974.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_8974.xml \ |
Vivekbalachandar M | 64df7ec | 2020-03-09 10:21:30 +0530 | [diff] [blame] | 157 | device/fairphone/FP2/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 158 | device/fairphone/FP2/media/media_profiles_8974.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml |
| 159 | |
| 160 | # Audio |
| 161 | PRODUCT_COPY_FILES += \ |
| 162 | device/fairphone/FP2/audio/acdbdata/MTP/MTP_Bluetooth_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Bluetooth_cal.acdb \ |
| 163 | device/fairphone/FP2/audio/acdbdata/MTP/MTP_General_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_General_cal.acdb \ |
| 164 | device/fairphone/FP2/audio/acdbdata/MTP/MTP_Global_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Global_cal.acdb \ |
| 165 | device/fairphone/FP2/audio/acdbdata/MTP/MTP_Handset_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Handset_cal.acdb \ |
| 166 | device/fairphone/FP2/audio/acdbdata/MTP/MTP_Hdmi_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Hdmi_cal.acdb \ |
| 167 | device/fairphone/FP2/audio/acdbdata/MTP/MTP_Headset_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Headset_cal.acdb \ |
| 168 | device/fairphone/FP2/audio/acdbdata/MTP/MTP_Speaker_cal.acdb:$(TARGET_COPY_OUT_SYSTEM)/etc/acdbdata/MTP/MTP_Speaker_cal.acdb |
| 169 | |
| 170 | PRODUCT_COPY_FILES += \ |
| 171 | device/fairphone/FP2/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
| 172 | device/fairphone/FP2/audio/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \ |
| 173 | device/fairphone/FP2/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ |
| 174 | device/fairphone/FP2/audio/mixer_paths_auxpcm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_auxpcm.xml |
| 175 | |
| 176 | # Seccomp |
| 177 | PRODUCT_COPY_FILES += \ |
| 178 | device/fairphone/FP2/seccomp/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ |
| 179 | device/fairphone/FP2/seccomp/mediaextractor.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy |
| 180 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 181 | # Boot animation |
| 182 | PRODUCT_COPY_FILES += \ |
| 183 | vendor/fairphone/media/bootanimation/fp2.zip:system/media/bootanimation.zip |
| 184 | |
| 185 | # Display logo image file |
| 186 | PRODUCT_PACKAGES += \ |
| 187 | libqcomvisualizer \ |
| 188 | libqcomvoiceprocessing \ |
| 189 | libqcompostprocbundle |
| 190 | |
| 191 | # battery_monitor |
| 192 | PRODUCT_PACKAGES += \ |
| 193 | battery_monitor \ |
| 194 | battery_shutdown |
| 195 | |
| 196 | # fstab.qcom |
| 197 | PRODUCT_PACKAGES += fstab.qcom |
| 198 | |
Arvind Singh | 13c0267 | 2020-02-19 11:03:27 +0530 | [diff] [blame] | 199 | # WiFi |
| 200 | PRODUCT_PACKAGES += \ |
| 201 | hostapd \ |
| 202 | wcnss_service \ |
| 203 | wpa_supplicant |
| 204 | |
| 205 | PRODUCT_PACKAGES += \ |
| 206 | p2p_supplicant_overlay.conf \ |
| 207 | wpa_supplicant.conf \ |
| 208 | wpa_supplicant_overlay.conf |
| 209 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 210 | # ANT stack |
| 211 | PRODUCT_PACKAGES += \ |
| 212 | AntHalService \ |
| 213 | libantradio \ |
| 214 | ANTRadioService \ |
| 215 | antradio_app |
| 216 | |
Tejashwini Prabhu | 59601e9 | 2020-04-13 17:26:46 +0530 | [diff] [blame] | 217 | # Radio |
| 218 | PRODUCT_PACKAGES += \ |
| 219 | libril-wrapper |
| 220 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 221 | # include an expanded selection of fonts for the SDK. |
| 222 | EXTENDED_FONT_FOOTPRINT := true |
| 223 | |
| 224 | # remove /dev/diag in user version for CTS |
| 225 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 226 | PRODUCT_COPY_FILES += device/qcom/common/rootdir/etc/init.qcom.diag.rc.user:root/init.qcom.diag.rc |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 227 | endif |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 228 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 229 | # Enable the diagnostics interface by default in userdebug and eng builds |
| 230 | ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) |
| 231 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 232 | persist.sys.usb.config=diag |
| 233 | endif |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 234 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 235 | ifeq ($(strip $(FP2_SKIP_BOOT_JARS_CHECK)),) |
| 236 | SKIP_BOOT_JARS_CHECK := true |
| 237 | endif |
| 238 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 239 | # display density |
| 240 | PRODUCT_PROPERTY_OVERRIDES += \ |
Maarten Derks | 634ff08 | 2020-08-18 12:10:05 +0200 | [diff] [blame] | 241 | ro.sf.lcd_density=440 |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 242 | |
| 243 | $(call inherit-product, build/target/product/product_launched_with_l_mr1.mk) |
| 244 | |
| 245 | # Media |
| 246 | PRODUCT_PACKAGES += \ |
| 247 | audio.a2dp.default \ |
| 248 | audio.primary.msm8974 \ |
| 249 | audio.r_submix.default \ |
| 250 | audio.usb.default \ |
| 251 | audio_policy.msm8974 \ |
| 252 | libqcompostprocbundle \ |
| 253 | libqcomvisualizer \ |
| 254 | libqcomvoiceprocessing \ |
| 255 | libqcomvoiceprocessingdescriptors \ |
| 256 | tinymix |
| 257 | |
| 258 | # RenderScript |
| 259 | PRODUCT_PACKAGES += \ |
| 260 | android.hardware.renderscript@1.0-impl |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 261 | |
| 262 | # Boot animation |
| 263 | TARGET_SCREEN_HEIGHT := 1920 |
| 264 | TARGET_SCREEN_WIDTH := 1080 |
| 265 | |
Arvind Singh | ab01cec | 2020-02-20 16:22:51 +0530 | [diff] [blame] | 266 | # Bluetooth |
| 267 | PRODUCT_PACKAGES += \ |
| 268 | android.hardware.bluetooth@1.0-impl \ |
| 269 | android.hardware.bluetooth@1.0-service \ |
| 270 | libbt-vendor |
| 271 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 272 | # Camera |
| 273 | PRODUCT_PACKAGES += \ |
| 274 | android.hardware.camera.provider@2.4-impl \ |
| 275 | camera.device@1.0-impl \ |
| 276 | camera.msm8974 |
| 277 | |
Prityaa | 86940a2 | 2020-03-05 17:21:35 +0530 | [diff] [blame] | 278 | # Sensors |
| 279 | PRODUCT_PACKAGES += \ |
| 280 | android.hardware.sensors@1.0-impl |
| 281 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 282 | # Media |
| 283 | PRODUCT_PACKAGES += \ |
| 284 | libOmxAacEnc \ |
| 285 | libOmxAmrEnc \ |
| 286 | libOmxCore \ |
| 287 | libOmxEvrcEnc \ |
| 288 | libOmxQcelp13Enc \ |
| 289 | libOmxVdec \ |
| 290 | libOmxVenc \ |
| 291 | libc2dcolorconvert \ |
| 292 | libstagefrighthw |
| 293 | |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 294 | |
| 295 | # Display |
| 296 | PRODUCT_AAPT_CONFIG := normal |
| 297 | PRODUCT_AAPT_PREF_CONFIG := xxhdpi |
| 298 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 299 | # Graphics |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 300 | PRODUCT_PACKAGES += \ |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 301 | copybit.msm8974 \ |
| 302 | gralloc.msm8974 \ |
| 303 | hwcomposer.msm8974 \ |
| 304 | liboverlay \ |
| 305 | memtrack.msm8974 |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 306 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 307 | # HAL Modules |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 308 | |
Arvind Singh | 13c0267 | 2020-02-19 11:03:27 +0530 | [diff] [blame] | 309 | # WiFi |
| 310 | PRODUCT_PACKAGES += \ |
| 311 | android.hardware.wifi@1.0-service |
| 312 | |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 313 | PRODUCT_PACKAGES += \ |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 314 | android.hardware.graphics.allocator@2.0-impl \ |
| 315 | android.hardware.graphics.allocator@2.0-service \ |
| 316 | android.hardware.graphics.composer@2.1-impl \ |
| 317 | android.hardware.graphics.mapper@2.0-impl \ |
| 318 | android.hardware.memtrack@1.0-impl \ |
| 319 | android.hardware.memtrack@1.0-service |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 320 | |
| 321 | PRODUCT_PACKAGES += \ |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 322 | android.hardware.audio@2.0-impl \ |
| 323 | android.hardware.audio@2.0-service \ |
| 324 | android.hardware.audio.effect@2.0-impl |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 325 | |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 326 | PRODUCT_PACKAGES += \ |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 327 | android.hardware.graphics.allocator@2.1-impl \ |
| 328 | android.hardware.graphics.allocator@2.1-service \ |
| 329 | android.hardware.graphics.composer@2.0-impl \ |
| 330 | android.hardware.graphics.mapper@2.0-impl \ |
| 331 | android.hardware.memtrack@1.0-impl \ |
| 332 | android.hardware.memtrack@1.0-service \ |
| 333 | android.hardware.graphics.allocator@2.0-service \ |
| 334 | android.hardware.graphics.composer@2.1-service |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 335 | |
| 336 | # Keystore |
| 337 | PRODUCT_PACKAGES += \ |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 338 | android.hardware.keymaster@3.0-impl \ |
| 339 | android.hardware.keymaster@3.0-service \ |
| 340 | keystore.msm8974 |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 341 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 342 | # Lights |
| 343 | PRODUCT_PACKAGES += \ |
| 344 | android.hardware.light@2.0-service.FP2 |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 345 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 346 | # Power |
| 347 | PRODUCT_PACKAGES += \ |
| 348 | android.hardware.power@1.1-service-qti |
Vivekbalachandar Marisamy | 659e6a6 | 2019-10-08 08:44:33 +0000 | [diff] [blame] | 349 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 350 | # USB |
| 351 | PRODUCT_PACKAGES += \ |
| 352 | android.hardware.usb@1.0-service.basic |
| 353 | |
| 354 | # Vibrator |
| 355 | PRODUCT_PACKAGES += \ |
| 356 | android.hardware.vibrator@1.0-impl \ |
| 357 | android.hardware.vibrator@1.0-service |
| 358 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 359 | PRODUCT_PACKAGES += \ |
| 360 | libhealthd.FP2 |
| 361 | |
| 362 | PRODUCT_PACKAGES += xdivert |
| 363 | |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 364 | # Ship the sound recorder app for backward compatibility with previous releases |
| 365 | PRODUCT_PACKAGES += SoundRecorder |
| 366 | |
| 367 | # Ramdisk |
| 368 | PRODUCT_PACKAGES += \ |
Vivekbalachandar M | 1506b5e | 2020-04-20 19:12:43 +0530 | [diff] [blame] | 369 | init.qcom.power.rc |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 370 | |
| 371 | # GPS |
| 372 | PRODUCT_PACKAGES += \ |
| 373 | android.hardware.gnss@1.0-impl \ |
| 374 | android.hardware.gnss@1.0-service \ |
Karsten Tausche | c571786 | 2020-03-31 15:29:54 +0200 | [diff] [blame] | 375 | gps.msm8974 \ |
| 376 | izat.conf \ |
| 377 | flp.conf \ |
| 378 | gps.conf \ |
| 379 | sap.conf |
Vivekbalachandar M | 7af3d83 | 2020-02-12 15:56:09 +0530 | [diff] [blame] | 380 | |
| 381 | PRODUCT_PACKAGES += senread |
Karsten Tausche | ec91c02 | 2019-07-17 15:36:32 +0200 | [diff] [blame] | 382 | |
| 383 | # Experimental OpenGL ES 3.0 support for Android 7 (and higher) |
| 384 | PRODUCT_PACKAGES += \ |
| 385 | init.fp.exp_gles3_setup.sh |