Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 1 | # Copyright 2021-2022 Fairphone B.V. |
| 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 | |
| 16 | FP_PATH := device/fairphone/FP3 |
| 17 | |
| 18 | # Call the vendor setup |
| 19 | $(call inherit-product-if-exists, vendor/fairphone/fp3-common/device-vendor.mk) |
| 20 | |
| 21 | $(call inherit-product, build/make/target/product/product_launched_with_p.mk) |
| 22 | |
| 23 | $(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk) |
| 24 | |
| 25 | $(call inherit-product, device/fairphone/fp3-common/common/common64.mk) |
| 26 | |
| 27 | PRODUCT_NAME := FP3 |
| 28 | PRODUCT_DEVICE := FP3 |
| 29 | PRODUCT_MODEL := FP3 |
| 30 | PRODUCT_MANUFACTURER := Fairphone |
| 31 | PRODUCT_BRAND := Fairphone |
| 32 | |
| 33 | |
| 34 | # Allow using custom and expressive names for our Android flavors while in fact |
| 35 | # targeting the same model with all of them. |
Bharath | 6a7439e | 2022-02-21 17:35:49 +0530 | [diff] [blame] | 36 | PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_MODEL=FP3 PRODUCT_NAME=FP3 TARGET_PRODUCT=FP3 |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 37 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 38 | |
Bharath | dccdc59 | 2022-03-31 12:10:41 +0530 | [diff] [blame] | 39 | TARGET_SYSTEM_PROP := $(FP_PATH)/system.prop |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 40 | |
Borjan Tchakaloff | 17a5b5f | 2018-05-11 11:35:06 +0200 | [diff] [blame] | 41 | # Define the build number based on the product flavour and on the build manifest |
| 42 | # revision |
| 43 | ifneq (,$(strip $(PRODUCT_FLAVOR))) |
| 44 | _BUILD_MANIFEST_REV := $(shell (git -C $(TOPDIR).repo/manifests rev-parse --short=8 HEAD)) |
| 45 | BUILD_NUMBER := $(PRODUCT_FLAVOR)-$(_BUILD_MANIFEST_REV) |
| 46 | HAS_BUILD_NUMBER := true |
| 47 | else |
| 48 | $(error PRODUCT_FLAVOR must be defined) |
| 49 | endif |
| 50 | $(warning Build defined as $(BUILD_ID) ($(BUILD_NUMBER))) |
| 51 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 52 | |
| 53 | # We don't have the calibration data as this sort of |
| 54 | # data can only be generated at the factory so don't generate persist.img |
| 55 | FP3_SKIP_PERSIST_IMG := true |
| 56 | |
Bharath | 80ba187 | 2021-08-21 11:53:57 +0530 | [diff] [blame] | 57 | |
| 58 | # Operator specific overlays |
| 59 | DEVICE_PACKAGE_OVERLAYS += \ |
| 60 | $(LOCAL_PATH)/overlay-operators |
| 61 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 62 | # Overlays |
| 63 | DEVICE_PACKAGE_OVERLAYS += \ |
| 64 | $(LOCAL_PATH)/overlay |
| 65 | |
| 66 | |
| 67 | # A/B related defines |
| 68 | AB_OTA_UPDATER := true |
| 69 | AB_OTA_PARTITIONS += \ |
| 70 | boot \ |
| 71 | dtbo \ |
| 72 | system \ |
| 73 | vbmeta \ |
| 74 | vendor |
| 75 | |
| 76 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 77 | PRODUCT_PACKAGES += \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 78 | update_engine_sideload |
| 79 | |
| 80 | |
Bharath | 2307d3b | 2022-01-06 22:23:25 +0530 | [diff] [blame] | 81 | # APN |
| 82 | PRODUCT_COPY_FILES += \ |
| 83 | $(LOCAL_PATH)/apns-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml |
| 84 | |
| 85 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 86 | # AVB |
| 87 | BOARD_AVB_ENABLE := true |
| 88 | |
| 89 | |
| 90 | # Additional native libraries |
| 91 | PRODUCT_COPY_FILES += \ |
| 92 | $(FP_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt |
| 93 | |
| 94 | |
| 95 | # Atrace HAL |
| 96 | PRODUCT_PACKAGES += \ |
| 97 | android.hardware.atrace@1.0-service |
| 98 | |
| 99 | |
| 100 | # Audio |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 101 | PRODUCT_PACKAGES += \ |
| 102 | android.hardware.audio@6.0 \ |
| 103 | android.hardware.audio.common@6.0 \ |
| 104 | android.hardware.audio.common@6.0-util \ |
| 105 | android.hardware.audio@6.0-impl:32 \ |
| 106 | android.hardware.audio.effect@6.0 \ |
| 107 | android.hardware.audio.effect@6.0-impl:32 \ |
| 108 | android.hardware.audio.service \ |
| 109 | android.hardware.soundtrigger@2.1-impl \ |
| 110 | audio.a2dp.default \ |
| 111 | audio.primary.msm8953 \ |
| 112 | audio.r_submix.default \ |
| 113 | audio.usb.default \ |
| 114 | libaacwrapper \ |
| 115 | libaudio-resampler \ |
| 116 | libautohal \ |
| 117 | libqcompostprocbundle \ |
| 118 | libqcomvisualizer \ |
| 119 | libqcomvoiceprocessing \ |
| 120 | libvolumelistener \ |
| 121 | tinymix |
| 122 | |
| 123 | |
| 124 | AUDIO_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal |
| 125 | |
| 126 | # Audio files |
| 127 | PRODUCT_COPY_FILES += \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 128 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \ |
| 129 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
| 130 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ |
| 131 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \ |
| 132 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_platform_info_sku3_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_sku3_tasha.xml \ |
| 133 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_platform_info_sku4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_sku4.xml \ |
| 134 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_platform_info_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tasha.xml \ |
| 135 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_platform_info_tashalite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tashalite.xml \ |
| 136 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \ |
| 137 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \ |
| 138 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ |
| 139 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_mtp.xml \ |
| 140 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths_sku3_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_sku3_tasha.xml \ |
| 141 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths_sku4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_sku4.xml \ |
| 142 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tasha.xml \ |
| 143 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths_tashalite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tashalite.xml \ |
| 144 | $(AUDIO_HAL_PATH)/configs/msm8953/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \ |
| 145 | $(AUDIO_HAL_PATH)/configs/msm8953/sound_trigger_mixer_paths_wcd9306.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9306.xml \ |
| 146 | $(AUDIO_HAL_PATH)/configs/msm8953/sound_trigger_mixer_paths_wcd9330.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9330.xml \ |
| 147 | $(AUDIO_HAL_PATH)/configs/msm8953/sound_trigger_mixer_paths_wcd9335.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9335.xml \ |
| 148 | $(AUDIO_HAL_PATH)/configs/msm8953/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml |
| 149 | |
| 150 | |
| 151 | # Audio config files |
| 152 | PRODUCT_COPY_FILES += \ |
| 153 | frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ |
| 154 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 155 | frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ |
| 156 | frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ |
| 157 | frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ |
| 158 | frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml |
| 159 | |
| 160 | # Custom config files |
| 161 | PRODUCT_COPY_FILES += \ |
| 162 | $(FP_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml |
| 163 | |
| 164 | |
| 165 | # Audio firmware files |
| 166 | PRODUCT_COPY_FILES += \ |
| 167 | $(FP_PATH)/aw/aw8898_cfg.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/aw8898_cfg.bin \ |
| 168 | $(FP_PATH)/tas2557_fw/OBO_0617_music.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/tas2557_uCDSP.bin \ |
| 169 | $(FP_PATH)/tas2557_fw/tas2557evm_OBO_0617.ftcfg:$(TARGET_COPY_OUT_VENDOR)/firmware/tas2557evm_aacspk_a.ftcfg |
| 170 | |
| 171 | |
| 172 | # Audio Specific device overlays |
| 173 | DEVICE_PACKAGE_OVERLAYS += $(AUDIO_HAL_PATH)/configs/common/overlay |
| 174 | |
| 175 | |
| 176 | # Audio Specific properties |
| 177 | # Properties |
| 178 | -include $(LOCAL_PATH)/audio_properties.mk |
| 179 | |
| 180 | |
| 181 | # Audio Kernel modules |
| 182 | AUDIO_DLKM := audio_apr.ko |
| 183 | AUDIO_DLKM += audio_q6_notifier.ko |
| 184 | AUDIO_DLKM += audio_adsp_loader.ko |
| 185 | AUDIO_DLKM += audio_q6.ko |
| 186 | AUDIO_DLKM += audio_usf.ko |
| 187 | AUDIO_DLKM += audio_pinctrl_wcd.ko |
| 188 | AUDIO_DLKM += audio_swr.ko |
| 189 | AUDIO_DLKM += audio_wcd_core.ko |
| 190 | AUDIO_DLKM += audio_swr_ctrl.ko |
| 191 | AUDIO_DLKM += audio_wsa881x.ko |
| 192 | AUDIO_DLKM += audio_wsa881x_analog.ko |
| 193 | AUDIO_DLKM += audio_platform.ko |
| 194 | AUDIO_DLKM += audio_cpe_lsm.ko |
| 195 | AUDIO_DLKM += audio_hdmi.ko |
| 196 | AUDIO_DLKM += audio_stub.ko |
| 197 | AUDIO_DLKM += audio_wcd9xxx.ko |
| 198 | AUDIO_DLKM += audio_mbhc.ko |
| 199 | AUDIO_DLKM += audio_wcd9335.ko |
| 200 | AUDIO_DLKM += audio_wcd_cpe.ko |
| 201 | AUDIO_DLKM += audio_digital_cdc.ko |
| 202 | AUDIO_DLKM += audio_analog_cdc.ko |
| 203 | AUDIO_DLKM += audio_native.ko |
| 204 | AUDIO_DLKM += audio_machine_sdm450.ko |
| 205 | AUDIO_DLKM += audio_machine_ext_sdm450.ko |
| 206 | PRODUCT_PACKAGES += $(AUDIO_DLKM) |
| 207 | |
| 208 | |
Bharath | 9cdcce2 | 2021-12-08 15:43:43 +0530 | [diff] [blame] | 209 | # Automation/ATS |
| 210 | PRODUCT_PACKAGES += \ |
| 211 | automation_setup \ |
| 212 | automation_adb_setup |
| 213 | |
| 214 | |
Bharath | fe661fb | 2021-08-16 18:56:32 +0530 | [diff] [blame] | 215 | # ANT |
| 216 | PRODUCT_PACKAGES += \ |
| 217 | AntHalService \ |
| 218 | antradio_app \ |
| 219 | com.dsi.ant@1.0 \ |
| 220 | libantradio |
| 221 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 222 | # Bluetooth |
Bharath | fe661fb | 2021-08-16 18:56:32 +0530 | [diff] [blame] | 223 | PRODUCT_PACKAGES += \ |
| 224 | libbt-vendor \ |
| 225 | audio.bluetooth.default \ |
| 226 | android.hardware.bluetooth.audio@2.0-impl \ |
| 227 | android.hardware.bluetooth@1.0 \ |
| 228 | vendor.qti.hardware.bluetooth_audio@2.0 \ |
| 229 | vendor.qti.hardware.bluetooth_audio@2.1.vendor \ |
| 230 | vendor.qti.hardware.btconfigstore@1.0.vendor |
| 231 | |
| 232 | # Bluetooth Permissions |
| 233 | PRODUCT_COPY_FILES += \ |
| 234 | frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ |
| 235 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 236 | |
| 237 | |
| 238 | # Boot |
| 239 | PRODUCT_PACKAGES += \ |
| 240 | android.hardware.boot@1.0-impl \ |
| 241 | android.hardware.boot@1.0-impl.recovery \ |
| 242 | android.hardware.boot@1.0-service \ |
| 243 | bootctrl.msm8953 \ |
Bharath | e341d1d | 2022-04-06 09:49:27 +0530 | [diff] [blame] | 244 | bootctrl.msm8953.recovery \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 245 | update_engine \ |
| 246 | update_engine_client \ |
| 247 | update_engine_sideload \ |
| 248 | update_verifier |
| 249 | |
| 250 | |
| 251 | # Boot animation |
| 252 | TARGET_SCREEN_HEIGHT := 2160 |
| 253 | TARGET_SCREEN_WIDTH := 1080 |
| 254 | |
| 255 | |
| 256 | PRODUCT_COPY_FILES += \ |
| 257 | vendor/fairphone/media/bootanimation/bootanimation.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation.zip |
| 258 | |
| 259 | |
| 260 | # Camera |
Bharath | cbfb0a9 | 2021-08-19 21:13:50 +0530 | [diff] [blame] | 261 | PRODUCT_PACKAGES += \ |
| 262 | android.frameworks.displayservice@1.0.vendor \ |
| 263 | android.hidl.base@1.0.vendor \ |
| 264 | android.hardware.camera.device@3.5 \ |
| 265 | android.hardware.camera.provider@2.4 \ |
| 266 | android.hardware.camera.provider@2.4-external \ |
| 267 | android.hardware.camera.provider@2.4-impl \ |
| 268 | android.hardware.camera.provider@2.4-legacy \ |
| 269 | android.hardware.camera.provider@2.4-service \ |
| 270 | android.hardware.camera.provider@2.6 \ |
| 271 | camera.device@1.0-impl \ |
| 272 | camera.device@3.5-impl \ |
| 273 | camera.device@3.6-external-impl \ |
| 274 | camera.msm8953 \ |
| 275 | cameraconfig.txt \ |
| 276 | libcamera2ndk_vendor \ |
| 277 | libhal_dbg \ |
| 278 | libjni_burstpmk \ |
| 279 | libjni_imageutil \ |
| 280 | libjni_snapcammosaic \ |
| 281 | libjni_snapcamtinyplanet \ |
| 282 | libmm-qcamera \ |
| 283 | libmmcamera_interface \ |
| 284 | libmmjpeg_interface \ |
| 285 | libmmlib2d_interface \ |
| 286 | libqomx_core \ |
| 287 | libxml2 \ |
| 288 | mm-qcamera-app \ |
| 289 | vendor.qti.hardware.camera.device@1.0 \ |
| 290 | vendor.qti.hardware.camera.device@1.0.vendor |
| 291 | |
| 292 | # Fairphone Camera |
| 293 | PRODUCT_PACKAGES += \ |
| 294 | FairphoneCamera |
| 295 | |
| 296 | # Arcsoft camera libraries |
| 297 | PRODUCT_PACKAGES += \ |
| 298 | libarcimageprocess \ |
| 299 | libarcsoft_aiscenedetection \ |
| 300 | libarcsoft_hdr_detection \ |
| 301 | libarcsoft_high_dynamic_range \ |
| 302 | libarcsoft_low_light_hdr \ |
| 303 | libarcsoft_low_light_shot \ |
| 304 | libarcsoft_object_tracking \ |
| 305 | libarcsoft_panorama_burstcapture \ |
| 306 | libarcsoft_singlecam_bokeh \ |
| 307 | libarcsoft_videoautozoom \ |
| 308 | libarcsoft_videostabs \ |
| 309 | libmpbase \ |
| 310 | libmpbase.vendor |
| 311 | |
| 312 | # Feature flags for camera |
| 313 | PRODUCT_COPY_FILES += \ |
| 314 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 315 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 316 | frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ |
| 317 | frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 318 | |
| 319 | |
| 320 | # Component overrides |
| 321 | # TODO: Check if this is required. |
| 322 | #PRODUCT_COPY_FILES += \ |
| 323 | $(FP_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml |
| 324 | |
| 325 | |
| 326 | # Display |
| 327 | PRODUCT_PACKAGES += \ |
| 328 | android.hardware.graphics.allocator@2.0-impl \ |
| 329 | android.hardware.graphics.allocator@2.0-service \ |
| 330 | android.hardware.graphics.composer@2.1-service \ |
| 331 | android.hardware.graphics.mapper@2.0-impl-2.1 \ |
| 332 | android.hardware.memtrack@1.0-impl \ |
| 333 | android.hardware.memtrack@1.0-service \ |
| 334 | gralloc.default \ |
| 335 | gralloc.msm8953 \ |
| 336 | hwcomposer.msm8953 \ |
| 337 | memtrack.msm8953 \ |
| 338 | libdisplayconfig \ |
| 339 | libqdutils \ |
| 340 | libqdMetaData \ |
| 341 | libvulkan \ |
| 342 | vendor.qti.hardware.display.composer@3.0 |
| 343 | |
| 344 | |
| 345 | # Vendor Display |
| 346 | # Disable skip validate |
| 347 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 348 | vendor.display.disable_skip_validate=1 |
| 349 | |
| 350 | |
| 351 | # Display Properties |
| 352 | PRODUCT_AAPT_CONFIG := normal |
| 353 | PRODUCT_AAPT_PREF_CONFIG := xxhdpi |
| 354 | |
| 355 | |
| 356 | # DRM |
| 357 | PRODUCT_PACKAGES += \ |
| 358 | android.hardware.drm@1.3-service.clearkey |
| 359 | |
| 360 | |
Pradeep Chenthati | b4c3c10 | 2021-10-19 20:07:52 +0530 | [diff] [blame] | 361 | # Elabel |
| 362 | PRODUCT_PACKAGES += \ |
| 363 | eLabel.html.gz \ |
| 364 | eLabel1.png \ |
| 365 | eLabel2.png \ |
| 366 | FAIRPHONE.html.gz \ |
| 367 | FAIRPHONE.png |
| 368 | |
| 369 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 370 | # Enable vndk-sp Libraries |
| 371 | PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true |
| 372 | TARGET_USES_MKE2FS := true |
| 373 | |
| 374 | PRODUCT_PACKAGES += \ |
| 375 | vndk_package |
| 376 | |
| 377 | |
| 378 | # Encryption |
| 379 | PRODUCT_PROPERTY_OVERRIDES += ro.crypto.allow_encrypt_override=true |
| 380 | PRODUCT_PROPERTY_OVERRIDES += ro.crypto.volume.filenames_mode=aes-256-cts |
| 381 | |
| 382 | |
Bharath | 44ee36f | 2022-05-02 15:37:19 +0530 | [diff] [blame] | 383 | # ExFAT binaries |
| 384 | PRODUCT_COPY_FILES += \ |
| 385 | $(FP_PATH)/tuxera/exfatck:$(TARGET_COPY_OUT_SYSTEM)/bin/exfatck \ |
| 386 | $(FP_PATH)/tuxera/exfatdebug:$(TARGET_COPY_OUT_SYSTEM)/bin/exfatdebug \ |
| 387 | $(FP_PATH)/tuxera/exfatlabel:$(TARGET_COPY_OUT_SYSTEM)/bin/exfatlabel \ |
| 388 | $(FP_PATH)/tuxera/exfatvsn:$(TARGET_COPY_OUT_SYSTEM)/bin/exfatvsn \ |
| 389 | $(FP_PATH)/tuxera/mkexfat:$(TARGET_COPY_OUT_SYSTEM)/bin/mkexfat |
| 390 | |
| 391 | |
Bharath | e341d1d | 2022-04-06 09:49:27 +0530 | [diff] [blame] | 392 | # Fastbootd |
| 393 | PRODUCT_PACKAGES += fastbootd |
| 394 | |
| 395 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 396 | # FBE support |
| 397 | PRODUCT_COPY_FILES += \ |
| 398 | $(FP_PATH)/init.qti.qseecomd.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qti.qseecomd.sh |
| 399 | |
| 400 | |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 401 | # Feature flags and permissions |
| 402 | PRODUCT_COPY_FILES += \ |
| 403 | frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ |
| 404 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 405 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 406 | frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \ |
| 407 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 408 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ |
| 409 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ |
| 410 | frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \ |
| 411 | frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-0.xml \ |
Bharath | 0c86f4b | 2022-02-14 16:38:53 +0530 | [diff] [blame^] | 412 | frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \ |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 413 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ |
| 414 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 415 | frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 416 | frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \ |
| 417 | frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \ |
| 418 | frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \ |
| 419 | frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.verified_boot.xml \ |
| 420 | frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml |
| 421 | |
Bharath | 1dcb651 | 2021-08-20 00:41:08 +0530 | [diff] [blame] | 422 | # Fingerprint |
| 423 | PRODUCT_PACKAGES += \ |
| 424 | android.hardware.biometrics.fingerprint@2.1 \ |
| 425 | android.hardware.biometrics.fingerprint@2.1-service \ |
| 426 | elan_device.rc \ |
| 427 | fingerprint.default |
| 428 | |
| 429 | # Fingerprint files |
| 430 | include $(FP_PATH)/elan_lib/fingerprint/elan_lib.mk |
| 431 | |
| 432 | # Fingerprint feature flag |
| 433 | PRODUCT_COPY_FILES += \ |
| 434 | frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml |
| 435 | |
| 436 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 437 | # Framework Detect |
| 438 | PRODUCT_PACKAGES += \ |
| 439 | libqti_vndfwk_detect \ |
| 440 | libqti_vndfwk_detect.vendor \ |
| 441 | libvndfwk_detect_jni.qti \ |
| 442 | libvndfwk_detect_jni.qti.vendor \ |
| 443 | vndservicemanager |
| 444 | |
| 445 | |
| 446 | # HIDL |
| 447 | PRODUCT_PACKAGES += \ |
| 448 | android.hidl.base@1.0 \ |
| 449 | libhidltransport \ |
| 450 | libhidltransport.vendor \ |
| 451 | libhwbinder \ |
| 452 | libhwbinder.vendor |
| 453 | |
| 454 | |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 455 | # GPS |
| 456 | BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := default |
| 457 | |
| 458 | PRODUCT_PACKAGES += \ |
| 459 | android.hardware.gnss@2.1-impl-qti:64 \ |
| 460 | android.hardware.gnss@2.1-service-qti \ |
| 461 | libbatching \ |
| 462 | libgeofencing \ |
| 463 | libgnss \ |
| 464 | libjson \ |
| 465 | libwifi-hal-ctrl \ |
| 466 | libgps.utils |
| 467 | |
| 468 | PRODUCT_PACKAGES += \ |
| 469 | flp.conf \ |
| 470 | gps.conf |
| 471 | |
| 472 | # gps/location secuity configuration file |
| 473 | PRODUCT_COPY_FILES += \ |
| 474 | $(FP_PATH)/configs/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config |
| 475 | |
| 476 | # Permissions |
| 477 | PRODUCT_COPY_FILES += \ |
| 478 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml |
| 479 | |
| 480 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 481 | # Health |
| 482 | PRODUCT_PACKAGES += \ |
| 483 | android.hardware.health@2.1-impl \ |
| 484 | android.hardware.health@2.1-impl.recovery \ |
| 485 | android.hardware.health@2.1-service |
| 486 | |
| 487 | # IMS |
| 488 | PRODUCT_PACKAGES += \ |
| 489 | ims-ext-common \ |
| 490 | ims_ext_common.xml \ |
| 491 | ConfURIDialer |
| 492 | |
| 493 | # IPACM |
| 494 | PRODUCT_PACKAGES += \ |
| 495 | ipacm \ |
| 496 | IPACM_cfg.xml \ |
| 497 | libipanat \ |
| 498 | liboffloadhal \ |
| 499 | libqsap_sdk |
| 500 | |
| 501 | # IRQ |
| 502 | PRODUCT_COPY_FILES += \ |
| 503 | $(FP_PATH)/configs/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf \ |
| 504 | $(FP_PATH)/configs/msm_irqbalance_little_big.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance_little_big.conf |
| 505 | |
| 506 | |
| 507 | # Kernel modules |
| 508 | # Kernel modules install path |
| 509 | KERNEL_MODULES_INSTALL := dlkm |
| 510 | KERNEL_MODULES_OUT := out/target/product/$(PRODUCT_NAME)/$(KERNEL_MODULES_INSTALL)/lib/modules |
| 511 | |
| 512 | |
| 513 | # LED packages |
| 514 | PRODUCT_PACKAGES += \ |
| 515 | android.hardware.light@2.0-impl \ |
| 516 | android.hardware.light@2.0-service \ |
| 517 | lights.msm8953 |
| 518 | |
| 519 | |
| 520 | # Media / StagefrightCodec 2.0 |
| 521 | PRODUCT_PROPERTY_OVERRIDES += debug.stagefright.omx_default_rank=0 |
| 522 | |
Bharath | e3615be | 2021-08-18 22:25:42 +0530 | [diff] [blame] | 523 | # Enable features in video HAL that can compile only on this platform |
| 524 | TARGET_USES_MEDIA_EXTENSIONS := true |
| 525 | |
| 526 | |
| 527 | # media_profiles and media_codecs xmls for msm8953 |
| 528 | PRODUCT_COPY_FILES += \ |
| 529 | $(FP_PATH)/media/media_profiles_8953.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/media_profiles.xml \ |
| 530 | $(FP_PATH)/media/media_profiles_8953.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \ |
| 531 | $(FP_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
| 532 | $(FP_PATH)/media/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \ |
| 533 | $(FP_PATH)/media/media_codecs_8953.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_8953.xml \ |
| 534 | $(FP_PATH)/media/media_codecs_performance_8953.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 535 | $(FP_PATH)/media/media_codecs_performance_8953.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_8953.xml \ |
| 536 | $(FP_PATH)/media/media_profiles_8953_v1.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/media_profiles_8953_v1.xml \ |
| 537 | $(FP_PATH)/media/media_profiles_8953_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_8953_v1.xml \ |
| 538 | $(FP_PATH)/media/media_codecs_8953_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v1.xml \ |
| 539 | $(FP_PATH)/media/media_codecs_performance_8953_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v1.xml \ |
| 540 | $(FP_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \ |
| 541 | device/qcom/common/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml |
| 542 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 543 | |
| 544 | # NFC |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 545 | PRODUCT_PACKAGES += \ |
| 546 | NfcNci \ |
| 547 | Tag \ |
| 548 | com.android.nfc_extras \ |
| 549 | com.nxp.nfc.nq \ |
| 550 | com.nxp.nfc.nq.xml \ |
| 551 | libnqnfc-nci \ |
| 552 | libnqnfc_nci_jni \ |
| 553 | nfc_nci.nqx.default.hw \ |
| 554 | vendor.nxp.hardware.nfc@2.0-service |
| 555 | |
| 556 | # Permissions |
| 557 | PRODUCT_COPY_FILES += \ |
| 558 | frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \ |
| 559 | frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ |
| 560 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ |
| 561 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ |
| 562 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ |
| 563 | frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \ |
| 564 | frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \ |
| 565 | vendor/nxp/opensource/halimpl/halimpl/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \ |
| 566 | vendor/nxp/opensource/halimpl/SN100x/halimpl/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci_SN100.conf |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 567 | |
| 568 | |
| 569 | # OMX |
| 570 | PRODUCT_PACKAGES += \ |
| 571 | libavservices_minijail.vendor \ |
| 572 | libc2dcolorconvert \ |
| 573 | libOmxAacEnc \ |
| 574 | libOmxAmrEnc \ |
| 575 | libOmxCore \ |
| 576 | libOmxEvrcEnc \ |
| 577 | libOmxQcelp13Enc \ |
| 578 | libOmxVdec \ |
| 579 | libOmxVenc \ |
| 580 | libqomx_core \ |
| 581 | libaacwrapper \ |
| 582 | libmm-omxcore \ |
| 583 | libstagefrighthw \ |
| 584 | libstagefright_softomx.vendor |
| 585 | |
| 586 | |
| 587 | # |
| 588 | # system prop for opengles version |
| 589 | # |
| 590 | # 196608 is decimal for 0x30000 to report major/minor versions as 3/0 |
| 591 | # 196609 is decimal for 0x30001 to report major/minor versions as 3/1 |
| 592 | # 196610 is decimal for 0x30002 to report major/minor versions as 3/2 |
| 593 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 594 | ro.opengles.version=196610 |
| 595 | |
| 596 | |
| 597 | # Perf |
| 598 | PRODUCT_COPY_FILES += \ |
| 599 | $(FP_PATH)/configs/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml |
| 600 | |
| 601 | |
| 602 | # Power |
| 603 | PRODUCT_PACKAGES += \ |
| 604 | android.hardware.power@1.0-impl \ |
| 605 | android.hardware.power@1.0-service \ |
| 606 | power.qcom |
| 607 | |
| 608 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 609 | # privapp-permissions whitelisting |
| 610 | PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions=enforce |
| 611 | |
| 612 | |
| 613 | # Protobuf |
| 614 | PRODUCT_PACKAGES += \ |
| 615 | libprotobuf-cpp-full \ |
| 616 | libprotobuf-cpp-full-vendorcompat \ |
| 617 | libprotobuf-cpp-lite-vendorcompat |
| 618 | |
| 619 | |
| 620 | # RIL properties |
| 621 | PRODUCT_PROPERTY_OVERRIDES += rild.libpath=/vendor/lib64/libril-qc-qmi-1.so |
| 622 | PRODUCT_PROPERTY_OVERRIDES += vendor.rild.libpath=/vendor/lib64/libril-qc-qmi-1.so |
| 623 | #vendor prop to disable advanced network scanning |
| 624 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 625 | persist.vendor.radio.enableadvancedscan=false |
| 626 | |
| 627 | |
| 628 | # RenderScript |
| 629 | PRODUCT_PACKAGES += \ |
| 630 | android.hardware.renderscript@1.0-impl |
| 631 | |
| 632 | |
| 633 | # SDCard |
| 634 | # default is nosdcard, S/W button enabled in resource |
| 635 | PRODUCT_CHARACTERISTICS := nosdcard |
| 636 | |
| 637 | |
| 638 | # Seccomp |
| 639 | PRODUCT_COPY_FILES += \ |
| 640 | $(FP_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ |
| 641 | $(FP_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy |
| 642 | |
| 643 | |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 644 | # Secure Element |
| 645 | PRODUCT_PACKAGES += \ |
| 646 | android.hardware.secure_element@1.2 |
| 647 | |
| 648 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 649 | # System helper |
| 650 | PRODUCT_PACKAGES += \ |
| 651 | vendor.qti.hardware.systemhelper@1.0 |
| 652 | |
| 653 | |
| 654 | # Service tracker |
| 655 | PRODUCT_PACKAGES += \ |
| 656 | vendor.qti.hardware.servicetracker@1.2.vendor |
| 657 | |
| 658 | |
Bharath | a60665d | 2021-08-19 09:37:22 +0530 | [diff] [blame] | 659 | # Sensors |
| 660 | PRODUCT_PACKAGES += \ |
| 661 | sensors.FP3 \ |
| 662 | android.hardware.sensors@1.0-impl \ |
| 663 | android.hardware.sensors@1.0-service \ |
| 664 | libsensorndkbridge |
| 665 | |
| 666 | # Sensor HAL conf file |
| 667 | PRODUCT_COPY_FILES += \ |
| 668 | $(FP_PATH)/configs/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf |
| 669 | |
| 670 | # Feature definition files for msm8953 |
| 671 | PRODUCT_COPY_FILES += \ |
| 672 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 673 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ |
| 674 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 675 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 676 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 677 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 678 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml |
| 679 | |
| 680 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 681 | # Telephony Permissions |
| 682 | |
| 683 | |
| 684 | # Thermal |
| 685 | PRODUCT_PACKAGES += \ |
| 686 | android.hardware.thermal@1.0-impl \ |
| 687 | android.hardware.thermal@1.0-service |
| 688 | |
| 689 | |
| 690 | # Tinyxml |
| 691 | PRODUCT_PACKAGES += \ |
| 692 | libtinyxml |
| 693 | |
| 694 | # USB |
| 695 | PRODUCT_PACKAGES += \ |
| 696 | android.hardware.usb@1.0-service |
| 697 | |
| 698 | -include vendor/qcom/opensource/usb/vendor_product.mk |
| 699 | |
| 700 | |
| 701 | # Vendor move |
| 702 | PRODUCT_VENDOR_MOVE_ENABLED := true |
| 703 | |
| 704 | |
| 705 | # Vibrator |
| 706 | PRODUCT_PACKAGES += \ |
| 707 | android.hardware.vibrator@1.0-impl \ |
| 708 | android.hardware.vibrator@1.0-service |
| 709 | |
| 710 | |
Bharath | ed25571 | 2021-08-14 20:37:05 +0530 | [diff] [blame] | 711 | # WiFi |
| 712 | # WLAN drivers |
| 713 | PRODUCT_COPY_FILES += \ |
| 714 | $(FP_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini \ |
| 715 | $(FP_PATH)/wifi/WCNSS_wlan_dictionary.dat:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_wlan_dictionary.dat \ |
| 716 | $(FP_PATH)/wifi/WCNSS_qcom_wlan_nv.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin # From Android 10 |
| 717 | |
| 718 | # Flag to check if wcnss_service is built from source |
| 719 | TARGET_USE_WCNSS_HAL := false |
| 720 | |
| 721 | # If building from source then drop proprietary dependency |
| 722 | ifeq ($(TARGET_USE_WCNSS_HAL),true) |
| 723 | TARGET_USES_QCOM_WCNSS_QMI := false |
| 724 | endif |
| 725 | |
| 726 | # WiFi HAL |
| 727 | PRODUCT_PACKAGES += \ |
| 728 | android.hardware.wifi@1.0-service |
| 729 | |
| 730 | # WiFi Components |
| 731 | PRODUCT_PACKAGES += \ |
| 732 | hostapd \ |
| 733 | hostapd.accept \ |
| 734 | hostapd.deny \ |
| 735 | hostapd_cli \ |
| 736 | hostapd_default.conf \ |
| 737 | libnl \ |
| 738 | libqsap_sdk \ |
| 739 | libwcnss_qmi \ |
| 740 | libwifi-hal-qcom \ |
| 741 | libwpa_client \ |
| 742 | p2p_supplicant_overlay.conf \ |
| 743 | vendor.qti.hardware.wifi.supplicant@1.0.vendor \ |
| 744 | wcnss_service \ |
| 745 | wificond \ |
| 746 | wpa_cli \ |
| 747 | wpa_supplicant.conf \ |
| 748 | wpa_supplicant \ |
| 749 | wpa_supplicant_overlay.conf \ |
| 750 | WifiOverlay \ |
| 751 | TetheringConfigOverlay |
| 752 | |
| 753 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 754 | # Call the proprietary setup |
| 755 | # Call this in the end so that flags if required can be utilized. |
| 756 | $(call inherit-product, device/fairphone/fp3-proprietary/device-vendor.mk) |
| 757 | |
| 758 | ################################################################################### |
| 759 | # This is the End of target.mk file. |
| 760 | # Now, Pickup other split product.mk files: |
| 761 | ################################################################################### |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 762 | $(call inherit-product-if-exists, hardware/qcom/gps/gps_vendor_product.mk) |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 763 | $(call inherit-product-if-exists, vendor/qcom/opensource/commonsys-intf/display/config/display-product-system.mk) |
| 764 | $(call inherit-product-if-exists, vendor/qcom/opensource/commonsys-intf/display/config/display-interfaces-product.mk) |
| 765 | $(call inherit-product-if-exists, vendor/qcom/opensource/usb/vendor_product.mk) |
| 766 | $(call inherit-product-if-exists, vendor/qcom/opensource/vibrator/vibrator-vendor-product.mk) |
| 767 | ################################################################################### |