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 | |
lindaguo(103996) | 47226c1 | 2020-06-22 17:27:43 +0800 | [diff] [blame] | 18 | # Disable data roaming by default |
| 19 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 20 | ro.com.android.dataroaming=false |
| 21 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 22 | # Call the vendor setup |
| 23 | $(call inherit-product-if-exists, vendor/fairphone/fp3-common/device-vendor.mk) |
| 24 | |
| 25 | $(call inherit-product, build/make/target/product/product_launched_with_p.mk) |
| 26 | |
| 27 | $(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk) |
| 28 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 29 | # Inherit generic AOSP content for telephony based 64-bit devices |
| 30 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) |
| 31 | $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 32 | |
| 33 | PRODUCT_NAME := FP3 |
| 34 | PRODUCT_DEVICE := FP3 |
| 35 | PRODUCT_MODEL := FP3 |
| 36 | PRODUCT_MANUFACTURER := Fairphone |
| 37 | PRODUCT_BRAND := Fairphone |
| 38 | |
| 39 | |
| 40 | # Allow using custom and expressive names for our Android flavors while in fact |
| 41 | # targeting the same model with all of them. |
Bharath | 6a7439e | 2022-02-21 17:35:49 +0530 | [diff] [blame] | 42 | PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_MODEL=FP3 PRODUCT_NAME=FP3 TARGET_PRODUCT=FP3 |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 43 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 44 | |
Bharath | dccdc59 | 2022-03-31 12:10:41 +0530 | [diff] [blame] | 45 | TARGET_SYSTEM_PROP := $(FP_PATH)/system.prop |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 46 | |
Borjan Tchakaloff | 17a5b5f | 2018-05-11 11:35:06 +0200 | [diff] [blame] | 47 | # Define the build number based on the product flavour and on the build manifest |
| 48 | # revision |
| 49 | ifneq (,$(strip $(PRODUCT_FLAVOR))) |
| 50 | _BUILD_MANIFEST_REV := $(shell (git -C $(TOPDIR).repo/manifests rev-parse --short=8 HEAD)) |
| 51 | BUILD_NUMBER := $(PRODUCT_FLAVOR)-$(_BUILD_MANIFEST_REV) |
| 52 | HAS_BUILD_NUMBER := true |
| 53 | else |
| 54 | $(error PRODUCT_FLAVOR must be defined) |
| 55 | endif |
Borjan Tchakaloff | 17a5b5f | 2018-05-11 11:35:06 +0200 | [diff] [blame] | 56 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 57 | |
Luca Weiss | e7ef1c8 | 2022-07-13 13:13:20 +0200 | [diff] [blame] | 58 | # Define SPL for boot & vendor |
| 59 | BOOT_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH) |
| 60 | VENDOR_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH) |
| 61 | |
| 62 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 63 | # We don't have the calibration data as this sort of |
| 64 | # data can only be generated at the factory so don't generate persist.img |
| 65 | FP3_SKIP_PERSIST_IMG := true |
| 66 | |
Bharath | 80ba187 | 2021-08-21 11:53:57 +0530 | [diff] [blame] | 67 | |
| 68 | # Operator specific overlays |
| 69 | DEVICE_PACKAGE_OVERLAYS += \ |
| 70 | $(LOCAL_PATH)/overlay-operators |
| 71 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 72 | # Overlays |
| 73 | DEVICE_PACKAGE_OVERLAYS += \ |
| 74 | $(LOCAL_PATH)/overlay |
| 75 | |
| 76 | |
| 77 | # A/B related defines |
| 78 | AB_OTA_UPDATER := true |
Luca Weiss | d6c3ca1 | 2022-07-13 16:24:08 +0200 | [diff] [blame] | 79 | AB_OTA_PARTITIONS := \ |
| 80 | aboot \ |
| 81 | cmnlib64 \ |
| 82 | cmnlib \ |
| 83 | devcfg \ |
| 84 | dsp \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 85 | dtbo \ |
Luca Weiss | d6c3ca1 | 2022-07-13 16:24:08 +0200 | [diff] [blame] | 86 | keymaster \ |
| 87 | lksecapp \ |
| 88 | mdtp \ |
| 89 | modem \ |
| 90 | rpm \ |
| 91 | sbl1 \ |
| 92 | tz \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 93 | vbmeta \ |
Luca Weiss | d6c3ca1 | 2022-07-13 16:24:08 +0200 | [diff] [blame] | 94 | boot \ |
| 95 | system \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 96 | vendor |
| 97 | |
| 98 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 99 | PRODUCT_PACKAGES += \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 100 | update_engine_sideload |
| 101 | |
| 102 | |
Bharath | 2307d3b | 2022-01-06 22:23:25 +0530 | [diff] [blame] | 103 | # APN |
| 104 | PRODUCT_COPY_FILES += \ |
| 105 | $(LOCAL_PATH)/apns-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml |
| 106 | |
| 107 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 108 | # AVB |
| 109 | BOARD_AVB_ENABLE := true |
| 110 | |
| 111 | |
| 112 | # Additional native libraries |
| 113 | PRODUCT_COPY_FILES += \ |
| 114 | $(FP_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt |
| 115 | |
| 116 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 117 | # OEM Unlock reporting |
| 118 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 119 | ro.oem_unlock_supported=1 |
| 120 | |
| 121 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 122 | # Atrace HAL |
| 123 | PRODUCT_PACKAGES += \ |
| 124 | android.hardware.atrace@1.0-service |
| 125 | |
| 126 | |
| 127 | # Audio |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 128 | PRODUCT_PACKAGES += \ |
| 129 | android.hardware.audio@6.0 \ |
| 130 | android.hardware.audio.common@6.0 \ |
| 131 | android.hardware.audio.common@6.0-util \ |
Bharath | 70cf2ae | 2022-02-14 12:13:50 +0530 | [diff] [blame] | 132 | android.hardware.audio@6.0-impl \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 133 | android.hardware.audio.effect@6.0 \ |
Bharath | 70cf2ae | 2022-02-14 12:13:50 +0530 | [diff] [blame] | 134 | android.hardware.audio.effect@6.0-impl \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 135 | android.hardware.audio.service \ |
| 136 | android.hardware.soundtrigger@2.1-impl \ |
| 137 | audio.a2dp.default \ |
| 138 | audio.primary.msm8953 \ |
| 139 | audio.r_submix.default \ |
| 140 | audio.usb.default \ |
| 141 | libaacwrapper \ |
| 142 | libaudio-resampler \ |
| 143 | libautohal \ |
| 144 | libqcompostprocbundle \ |
| 145 | libqcomvisualizer \ |
| 146 | libqcomvoiceprocessing \ |
| 147 | libvolumelistener \ |
| 148 | tinymix |
| 149 | |
| 150 | |
| 151 | AUDIO_HAL_PATH := vendor/qcom/opensource/audio-hal/primary-hal |
| 152 | |
| 153 | # Audio files |
| 154 | PRODUCT_COPY_FILES += \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 155 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \ |
| 156 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ |
| 157 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ |
| 158 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \ |
| 159 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_platform_info_sku3_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_sku3_tasha.xml \ |
| 160 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_platform_info_sku4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_sku4.xml \ |
| 161 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_platform_info_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tasha.xml \ |
| 162 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_platform_info_tashalite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tashalite.xml \ |
| 163 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf \ |
| 164 | $(AUDIO_HAL_PATH)/configs/msm8953/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \ |
| 165 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ |
| 166 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_mtp.xml \ |
| 167 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths_sku3_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_sku3_tasha.xml \ |
| 168 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths_sku4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_sku4.xml \ |
| 169 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths_tasha.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tasha.xml \ |
| 170 | $(AUDIO_HAL_PATH)/configs/msm8953/mixer_paths_tashalite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tashalite.xml \ |
| 171 | $(AUDIO_HAL_PATH)/configs/msm8953/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \ |
| 172 | $(AUDIO_HAL_PATH)/configs/msm8953/sound_trigger_mixer_paths_wcd9306.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9306.xml \ |
| 173 | $(AUDIO_HAL_PATH)/configs/msm8953/sound_trigger_mixer_paths_wcd9330.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9330.xml \ |
| 174 | $(AUDIO_HAL_PATH)/configs/msm8953/sound_trigger_mixer_paths_wcd9335.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9335.xml \ |
| 175 | $(AUDIO_HAL_PATH)/configs/msm8953/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml |
| 176 | |
| 177 | |
| 178 | # Audio config files |
| 179 | PRODUCT_COPY_FILES += \ |
| 180 | frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ |
| 181 | frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ |
| 182 | frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ |
| 183 | frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ |
| 184 | frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ |
| 185 | frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml |
| 186 | |
| 187 | # Custom config files |
| 188 | PRODUCT_COPY_FILES += \ |
| 189 | $(FP_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml |
| 190 | |
| 191 | |
| 192 | # Audio firmware files |
| 193 | PRODUCT_COPY_FILES += \ |
| 194 | $(FP_PATH)/aw/aw8898_cfg.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/aw8898_cfg.bin \ |
| 195 | $(FP_PATH)/tas2557_fw/OBO_0617_music.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/tas2557_uCDSP.bin \ |
| 196 | $(FP_PATH)/tas2557_fw/tas2557evm_OBO_0617.ftcfg:$(TARGET_COPY_OUT_VENDOR)/firmware/tas2557evm_aacspk_a.ftcfg |
| 197 | |
| 198 | |
| 199 | # Audio Specific device overlays |
| 200 | DEVICE_PACKAGE_OVERLAYS += $(AUDIO_HAL_PATH)/configs/common/overlay |
| 201 | |
| 202 | |
| 203 | # Audio Specific properties |
| 204 | # Properties |
| 205 | -include $(LOCAL_PATH)/audio_properties.mk |
| 206 | |
| 207 | |
| 208 | # Audio Kernel modules |
| 209 | AUDIO_DLKM := audio_apr.ko |
| 210 | AUDIO_DLKM += audio_q6_notifier.ko |
| 211 | AUDIO_DLKM += audio_adsp_loader.ko |
| 212 | AUDIO_DLKM += audio_q6.ko |
| 213 | AUDIO_DLKM += audio_usf.ko |
| 214 | AUDIO_DLKM += audio_pinctrl_wcd.ko |
| 215 | AUDIO_DLKM += audio_swr.ko |
| 216 | AUDIO_DLKM += audio_wcd_core.ko |
| 217 | AUDIO_DLKM += audio_swr_ctrl.ko |
| 218 | AUDIO_DLKM += audio_wsa881x.ko |
| 219 | AUDIO_DLKM += audio_wsa881x_analog.ko |
| 220 | AUDIO_DLKM += audio_platform.ko |
| 221 | AUDIO_DLKM += audio_cpe_lsm.ko |
| 222 | AUDIO_DLKM += audio_hdmi.ko |
| 223 | AUDIO_DLKM += audio_stub.ko |
| 224 | AUDIO_DLKM += audio_wcd9xxx.ko |
| 225 | AUDIO_DLKM += audio_mbhc.ko |
| 226 | AUDIO_DLKM += audio_wcd9335.ko |
| 227 | AUDIO_DLKM += audio_wcd_cpe.ko |
| 228 | AUDIO_DLKM += audio_digital_cdc.ko |
| 229 | AUDIO_DLKM += audio_analog_cdc.ko |
| 230 | AUDIO_DLKM += audio_native.ko |
| 231 | AUDIO_DLKM += audio_machine_sdm450.ko |
| 232 | AUDIO_DLKM += audio_machine_ext_sdm450.ko |
| 233 | PRODUCT_PACKAGES += $(AUDIO_DLKM) |
| 234 | |
| 235 | |
Bharath | 9cdcce2 | 2021-12-08 15:43:43 +0530 | [diff] [blame] | 236 | # Automation/ATS |
| 237 | PRODUCT_PACKAGES += \ |
| 238 | automation_setup \ |
| 239 | automation_adb_setup |
| 240 | |
| 241 | |
Bharath | fe661fb | 2021-08-16 18:56:32 +0530 | [diff] [blame] | 242 | # ANT |
| 243 | PRODUCT_PACKAGES += \ |
| 244 | AntHalService \ |
| 245 | antradio_app \ |
| 246 | com.dsi.ant@1.0 \ |
Bharath | 70cf2ae | 2022-02-14 12:13:50 +0530 | [diff] [blame] | 247 | com.dsi.ant@1.0.vendor \ |
Bharath | fe661fb | 2021-08-16 18:56:32 +0530 | [diff] [blame] | 248 | libantradio |
| 249 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 250 | # Bluetooth |
Bharath | fe661fb | 2021-08-16 18:56:32 +0530 | [diff] [blame] | 251 | PRODUCT_PACKAGES += \ |
Bharath | fe661fb | 2021-08-16 18:56:32 +0530 | [diff] [blame] | 252 | audio.bluetooth.default \ |
| 253 | android.hardware.bluetooth.audio@2.0-impl \ |
| 254 | android.hardware.bluetooth@1.0 \ |
| 255 | vendor.qti.hardware.bluetooth_audio@2.0 \ |
| 256 | vendor.qti.hardware.bluetooth_audio@2.1.vendor \ |
| 257 | vendor.qti.hardware.btconfigstore@1.0.vendor |
| 258 | |
| 259 | # Bluetooth Permissions |
| 260 | PRODUCT_COPY_FILES += \ |
| 261 | frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ |
| 262 | 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] | 263 | |
| 264 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 265 | # Board platforms lists to be used for |
| 266 | # TARGET_BOARD_PLATFORM specific featurization |
| 267 | QCOM_BOARD_PLATFORMS += msm8953 |
| 268 | |
| 269 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 270 | # Boot |
| 271 | PRODUCT_PACKAGES += \ |
| 272 | android.hardware.boot@1.0-impl \ |
| 273 | android.hardware.boot@1.0-impl.recovery \ |
| 274 | android.hardware.boot@1.0-service \ |
| 275 | bootctrl.msm8953 \ |
Bharath | e341d1d | 2022-04-06 09:49:27 +0530 | [diff] [blame] | 276 | bootctrl.msm8953.recovery \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 277 | update_engine \ |
| 278 | update_engine_client \ |
| 279 | update_engine_sideload \ |
| 280 | update_verifier |
| 281 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 282 | # MSM updater library |
| 283 | PRODUCT_PACKAGES += librecovery_updater_msm |
| 284 | |
| 285 | |
| 286 | # Skip boot jars check |
| 287 | SKIP_BOOT_JARS_CHECK := true |
| 288 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 289 | |
| 290 | # Boot animation |
| 291 | TARGET_SCREEN_HEIGHT := 2160 |
| 292 | TARGET_SCREEN_WIDTH := 1080 |
| 293 | |
| 294 | |
| 295 | PRODUCT_COPY_FILES += \ |
| 296 | vendor/fairphone/media/bootanimation/bootanimation.zip:$(TARGET_COPY_OUT_PRODUCT)/media/bootanimation.zip |
| 297 | |
| 298 | |
| 299 | # Camera |
Bharath | cbfb0a9 | 2021-08-19 21:13:50 +0530 | [diff] [blame] | 300 | PRODUCT_PACKAGES += \ |
| 301 | android.frameworks.displayservice@1.0.vendor \ |
| 302 | android.hidl.base@1.0.vendor \ |
| 303 | android.hardware.camera.device@3.5 \ |
| 304 | android.hardware.camera.provider@2.4 \ |
| 305 | android.hardware.camera.provider@2.4-external \ |
| 306 | android.hardware.camera.provider@2.4-impl \ |
| 307 | android.hardware.camera.provider@2.4-legacy \ |
| 308 | android.hardware.camera.provider@2.4-service \ |
| 309 | android.hardware.camera.provider@2.6 \ |
| 310 | camera.device@1.0-impl \ |
| 311 | camera.device@3.5-impl \ |
| 312 | camera.device@3.6-external-impl \ |
| 313 | camera.msm8953 \ |
| 314 | cameraconfig.txt \ |
| 315 | libcamera2ndk_vendor \ |
| 316 | libhal_dbg \ |
| 317 | libjni_burstpmk \ |
| 318 | libjni_imageutil \ |
| 319 | libjni_snapcammosaic \ |
| 320 | libjni_snapcamtinyplanet \ |
| 321 | libmm-qcamera \ |
| 322 | libmmcamera_interface \ |
| 323 | libmmjpeg_interface \ |
| 324 | libmmlib2d_interface \ |
| 325 | libqomx_core \ |
| 326 | libxml2 \ |
| 327 | mm-qcamera-app \ |
| 328 | vendor.qti.hardware.camera.device@1.0 \ |
| 329 | vendor.qti.hardware.camera.device@1.0.vendor |
| 330 | |
| 331 | # Fairphone Camera |
| 332 | PRODUCT_PACKAGES += \ |
| 333 | FairphoneCamera |
| 334 | |
| 335 | # Arcsoft camera libraries |
| 336 | PRODUCT_PACKAGES += \ |
| 337 | libarcimageprocess \ |
| 338 | libarcsoft_aiscenedetection \ |
| 339 | libarcsoft_hdr_detection \ |
| 340 | libarcsoft_high_dynamic_range \ |
| 341 | libarcsoft_low_light_hdr \ |
| 342 | libarcsoft_low_light_shot \ |
| 343 | libarcsoft_object_tracking \ |
| 344 | libarcsoft_panorama_burstcapture \ |
| 345 | libarcsoft_singlecam_bokeh \ |
| 346 | libarcsoft_videoautozoom \ |
| 347 | libarcsoft_videostabs \ |
| 348 | libmpbase \ |
| 349 | libmpbase.vendor |
| 350 | |
| 351 | # Feature flags for camera |
| 352 | PRODUCT_COPY_FILES += \ |
| 353 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 354 | frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ |
| 355 | frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \ |
| 356 | 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] | 357 | |
| 358 | |
| 359 | # Component overrides |
Bharath | e025dac | 2022-08-02 15:02:41 +0530 | [diff] [blame] | 360 | PRODUCT_COPY_FILES += \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 361 | $(FP_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml |
| 362 | |
| 363 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 364 | # Charger |
| 365 | PRODUCT_PACKAGES += \ |
| 366 | charger \ |
| 367 | charger_res_images |
| 368 | |
| 369 | |
| 370 | # Chromium |
| 371 | PRODUCT_PACKAGES += \ |
| 372 | libwebviewchromium_loader \ |
| 373 | libwebviewchromium_plat_support |
| 374 | |
| 375 | |
| 376 | # Curl |
| 377 | PRODUCT_PACKAGES += \ |
| 378 | curl \ |
| 379 | libcurl |
| 380 | |
| 381 | |
| 382 | # Data/rmnetctrl |
| 383 | PRODUCT_PACKAGES += \ |
| 384 | librmnetctl |
| 385 | |
leolee | 75d6658 | 2020-10-21 15:26:49 +0800 | [diff] [blame] | 386 | # IPV4 |
| 387 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 388 | persist.vendor.data.profile_update=true |
| 389 | |
Bharath | a701c6b | 2022-07-25 17:26:28 +0530 | [diff] [blame] | 390 | PRODUCT_PROPERTY_OVERRIDES += ro.telephony.iwlan_operation_mode=legacy |
| 391 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 392 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 393 | # Display |
| 394 | PRODUCT_PACKAGES += \ |
| 395 | android.hardware.graphics.allocator@2.0-impl \ |
| 396 | android.hardware.graphics.allocator@2.0-service \ |
| 397 | android.hardware.graphics.composer@2.1-service \ |
| 398 | android.hardware.graphics.mapper@2.0-impl-2.1 \ |
| 399 | android.hardware.memtrack@1.0-impl \ |
| 400 | android.hardware.memtrack@1.0-service \ |
| 401 | gralloc.default \ |
| 402 | gralloc.msm8953 \ |
| 403 | hwcomposer.msm8953 \ |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 404 | libcomposerextn.qti \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 405 | libdisplayconfig \ |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 406 | libdisplayconfig.qti \ |
| 407 | libdrm \ |
| 408 | libgralloc.qti \ |
| 409 | liblayerext.qti \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 410 | libqdMetaData \ |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 411 | libqdMetaData.system \ |
| 412 | libqdutils \ |
| 413 | libsmomo.qti \ |
| 414 | libsmomoconfig.qti \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 415 | libvulkan \ |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 416 | memtrack.msm8953 \ |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 417 | vendor.qti.hardware.display.composer@3.0 |
| 418 | |
| 419 | |
| 420 | # Vendor Display |
| 421 | # Disable skip validate |
| 422 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 423 | vendor.display.disable_skip_validate=1 |
| 424 | |
Bharath | a701c6b | 2022-07-25 17:26:28 +0530 | [diff] [blame] | 425 | PRODUCT_PROPERTY_OVERRIDES += ro.hardware.vulkan=adreno |
| 426 | PRODUCT_PROPERTY_OVERRIDES += ro.hardware.egl=adreno |
| 427 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 428 | |
| 429 | # Display Properties |
| 430 | PRODUCT_AAPT_CONFIG := normal |
| 431 | PRODUCT_AAPT_PREF_CONFIG := xxhdpi |
| 432 | |
| 433 | |
| 434 | # DRM |
| 435 | PRODUCT_PACKAGES += \ |
| 436 | android.hardware.drm@1.3-service.clearkey |
| 437 | |
| 438 | |
Pradeep Chenthati | b4c3c10 | 2021-10-19 20:07:52 +0530 | [diff] [blame] | 439 | # Elabel |
| 440 | PRODUCT_PACKAGES += \ |
| 441 | eLabel.html.gz \ |
| 442 | eLabel1.png \ |
| 443 | eLabel2.png \ |
| 444 | FAIRPHONE.html.gz \ |
| 445 | FAIRPHONE.png |
| 446 | |
| 447 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 448 | # Enable vndk-sp Libraries |
| 449 | PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true |
| 450 | TARGET_USES_MKE2FS := true |
| 451 | |
| 452 | PRODUCT_PACKAGES += \ |
| 453 | vndk_package |
| 454 | |
| 455 | |
| 456 | # Encryption |
| 457 | PRODUCT_PROPERTY_OVERRIDES += ro.crypto.allow_encrypt_override=true |
| 458 | PRODUCT_PROPERTY_OVERRIDES += ro.crypto.volume.filenames_mode=aes-256-cts |
| 459 | |
| 460 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 461 | # E2fsck |
| 462 | PRODUCT_PACKAGES += \ |
| 463 | e2fsck |
| 464 | |
Bharath | 44ee36f | 2022-05-02 15:37:19 +0530 | [diff] [blame] | 465 | # ExFAT binaries |
| 466 | PRODUCT_COPY_FILES += \ |
| 467 | $(FP_PATH)/tuxera/exfatck:$(TARGET_COPY_OUT_SYSTEM)/bin/exfatck \ |
| 468 | $(FP_PATH)/tuxera/exfatdebug:$(TARGET_COPY_OUT_SYSTEM)/bin/exfatdebug \ |
| 469 | $(FP_PATH)/tuxera/exfatlabel:$(TARGET_COPY_OUT_SYSTEM)/bin/exfatlabel \ |
| 470 | $(FP_PATH)/tuxera/exfatvsn:$(TARGET_COPY_OUT_SYSTEM)/bin/exfatvsn \ |
| 471 | $(FP_PATH)/tuxera/mkexfat:$(TARGET_COPY_OUT_SYSTEM)/bin/mkexfat |
| 472 | |
| 473 | |
Bharath | e341d1d | 2022-04-06 09:49:27 +0530 | [diff] [blame] | 474 | # Fastbootd |
| 475 | PRODUCT_PACKAGES += fastbootd |
| 476 | |
| 477 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 478 | # FBE support |
| 479 | PRODUCT_COPY_FILES += \ |
| 480 | $(FP_PATH)/init.qti.qseecomd.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qti.qseecomd.sh |
| 481 | |
| 482 | |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 483 | # Feature flags and permissions |
| 484 | PRODUCT_COPY_FILES += \ |
| 485 | frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ |
| 486 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 487 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 488 | frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \ |
| 489 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 490 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ |
| 491 | frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ |
| 492 | frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \ |
| 493 | 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] | 494 | 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] | 495 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ |
| 496 | frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ |
| 497 | 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] | 498 | frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \ |
| 499 | frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \ |
| 500 | frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \ |
| 501 | frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.verified_boot.xml \ |
Bharath | df89a7d | 2022-06-27 20:12:06 +0530 | [diff] [blame] | 502 | frameworks/native/data/etc/android.software.vulkan.deqp.level-2019-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \ |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 503 | frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml |
| 504 | |
Bharath | 1dcb651 | 2021-08-20 00:41:08 +0530 | [diff] [blame] | 505 | # Fingerprint |
| 506 | PRODUCT_PACKAGES += \ |
| 507 | android.hardware.biometrics.fingerprint@2.1 \ |
| 508 | android.hardware.biometrics.fingerprint@2.1-service \ |
| 509 | elan_device.rc \ |
| 510 | fingerprint.default |
| 511 | |
| 512 | # Fingerprint files |
| 513 | include $(FP_PATH)/elan_lib/fingerprint/elan_lib.mk |
| 514 | |
| 515 | # Fingerprint feature flag |
| 516 | PRODUCT_COPY_FILES += \ |
| 517 | frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml |
| 518 | |
| 519 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 520 | # Framework Detect |
| 521 | PRODUCT_PACKAGES += \ |
| 522 | libqti_vndfwk_detect \ |
| 523 | libqti_vndfwk_detect.vendor \ |
| 524 | libvndfwk_detect_jni.qti \ |
| 525 | libvndfwk_detect_jni.qti.vendor \ |
| 526 | vndservicemanager |
| 527 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 528 | # FRP |
| 529 | PRODUCT_PROPERTY_OVERRIDES += ro.frp.pst=/dev/block/bootdevice/by-name/config |
| 530 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 531 | |
| 532 | # HIDL |
| 533 | PRODUCT_PACKAGES += \ |
| 534 | android.hidl.base@1.0 \ |
| 535 | libhidltransport \ |
| 536 | libhidltransport.vendor \ |
| 537 | libhwbinder \ |
| 538 | libhwbinder.vendor |
| 539 | |
| 540 | |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 541 | # GPS |
| 542 | BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := default |
Luca Weiss | a8a6026 | 2022-02-28 15:00:31 +0100 | [diff] [blame] | 543 | LOC_HIDL_VERSION := 4.0 |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 544 | |
| 545 | PRODUCT_PACKAGES += \ |
Bharath | 70cf2ae | 2022-02-14 12:13:50 +0530 | [diff] [blame] | 546 | android.hardware.gnss@2.1-impl-qti \ |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 547 | android.hardware.gnss@2.1-service-qti \ |
| 548 | libbatching \ |
| 549 | libgeofencing \ |
| 550 | libgnss \ |
| 551 | libjson \ |
| 552 | libwifi-hal-ctrl \ |
| 553 | libgps.utils |
| 554 | |
| 555 | PRODUCT_PACKAGES += \ |
| 556 | flp.conf \ |
| 557 | gps.conf |
| 558 | |
| 559 | # gps/location secuity configuration file |
| 560 | PRODUCT_COPY_FILES += \ |
| 561 | $(FP_PATH)/configs/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config |
| 562 | |
| 563 | # Permissions |
| 564 | PRODUCT_COPY_FILES += \ |
| 565 | frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml |
| 566 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 567 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 568 | persist.backup.ntpServer=0.pool.ntp.org |
| 569 | |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 570 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 571 | # Health |
| 572 | PRODUCT_PACKAGES += \ |
| 573 | android.hardware.health@2.1-impl \ |
| 574 | android.hardware.health@2.1-impl.recovery \ |
| 575 | android.hardware.health@2.1-service |
| 576 | |
| 577 | # IMS |
| 578 | PRODUCT_PACKAGES += \ |
| 579 | ims-ext-common \ |
| 580 | ims_ext_common.xml \ |
| 581 | ConfURIDialer |
| 582 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 583 | |
| 584 | # Init |
| 585 | PRODUCT_PACKAGES += \ |
| 586 | fstab.qcom \ |
| 587 | init.class_main.sh \ |
| 588 | init.crda.sh \ |
Karsten Tausche | e270bad | 2022-08-22 15:41:19 +0200 | [diff] [blame] | 589 | init.legacy_prop.rc \ |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 590 | init.mdm.sh \ |
| 591 | init.qcom.class_core.sh \ |
| 592 | init.qcom.coex.sh \ |
| 593 | init.qcom.early_boot.sh \ |
| 594 | init.qcom.efs.sync.sh \ |
| 595 | init.qcom.factory.rc \ |
| 596 | init.qcom.post_boot.sh \ |
| 597 | init.qcom.rc \ |
| 598 | init.qcom.sdio.sh \ |
| 599 | init.qcom.sensors.sh \ |
| 600 | init.qcom.sh \ |
| 601 | init.qcom.usb.rc \ |
| 602 | init.qcom.usb.sh \ |
| 603 | init.recovery.qcom.rc \ |
| 604 | init.target.rc \ |
| 605 | init.veth_ipa_config.sh \ |
| 606 | qca6234-service.sh \ |
| 607 | ueventd.qcom.rc \ |
| 608 | vold.fstab |
| 609 | |
| 610 | #intialise PRODUCT_PACKAGES_DEBUG list for debug modules |
Luca Weiss | 2327bfb | 2022-07-13 09:47:07 +0200 | [diff] [blame] | 611 | PRODUCT_PACKAGES_DEBUG += init.qcom.testscripts.sh |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 612 | |
| 613 | #Add init.qcom.test.rc to PRODUCT_PACKAGES_DEBUG list |
| 614 | PRODUCT_PACKAGES_DEBUG += init.qcom.test.rc |
| 615 | PRODUCT_PACKAGES_DEBUG += init.qcom.debug.sh |
| 616 | |
| 617 | ifneq ($(strip $(TARGET_BUILD_VARIANT)),user) |
| 618 | PRODUCT_COPY_FILES += \ |
| 619 | device/qcom/common/rootdir/etc/init.qcom.testscripts.sh:$(TARGET_COPY_OUT_PRODUCT)/etc/init.qcom.testscripts.sh |
| 620 | endif |
| 621 | |
| 622 | PRODUCT_PACKAGES_DEBUG += \ |
| 623 | init.qcom.debug.sh \ |
| 624 | init.qcom.debug-sdm660.sh \ |
| 625 | init.qcom.debug-sdm710.sh \ |
| 626 | init.qti.debug-msmnile-apps.sh \ |
| 627 | init.qti.debug-msmnile-modem.sh \ |
| 628 | init.qti.debug-msmnile-slpi.sh \ |
| 629 | init.qti.debug-talos.sh \ |
| 630 | init.qti.debug-msmnile.sh \ |
| 631 | init.qti.debug-kona.sh \ |
| 632 | init.qti.debug-lito.sh \ |
| 633 | init.qti.debug-trinket.sh \ |
| 634 | init.qti.debug-atoll.sh \ |
| 635 | init.qti.debug-lagoon.sh \ |
| 636 | init.qti.debug-bengal.sh |
| 637 | |
| 638 | |
| 639 | # IP and iptables |
| 640 | PRODUCT_PACKAGES += \ |
| 641 | ip \ |
| 642 | libiprouteutil \ |
| 643 | iptables \ |
| 644 | ip-up-vpn \ |
| 645 | libext |
| 646 | |
| 647 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 648 | # IPACM |
| 649 | PRODUCT_PACKAGES += \ |
| 650 | ipacm \ |
| 651 | IPACM_cfg.xml \ |
| 652 | libipanat \ |
| 653 | liboffloadhal \ |
| 654 | libqsap_sdk |
| 655 | |
| 656 | # IRQ |
| 657 | PRODUCT_COPY_FILES += \ |
| 658 | $(FP_PATH)/configs/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf \ |
| 659 | $(FP_PATH)/configs/msm_irqbalance_little_big.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance_little_big.conf |
| 660 | |
| 661 | |
| 662 | # Kernel modules |
| 663 | # Kernel modules install path |
| 664 | KERNEL_MODULES_INSTALL := dlkm |
| 665 | KERNEL_MODULES_OUT := out/target/product/$(PRODUCT_NAME)/$(KERNEL_MODULES_INSTALL)/lib/modules |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 666 | KERNEL_TO_BUILD_ROOT_OFFSET := ../../ |
| 667 | |
| 668 | |
| 669 | # Key layouts |
| 670 | PRODUCT_PACKAGES += \ |
| 671 | ft5x06_ts.kl \ |
| 672 | gpio-keys.kl \ |
| 673 | synaptics_dsx.kl \ |
| 674 | synaptics_dsxv26.kl \ |
| 675 | synaptics_rmi4_i2c.kl |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 676 | |
| 677 | |
Bharath | a701c6b | 2022-07-25 17:26:28 +0530 | [diff] [blame] | 678 | # Keystore |
| 679 | PRODUCT_PROPERTY_OVERRIDES += ro.hardware.keystore_desede=true |
| 680 | |
| 681 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 682 | # LED packages |
| 683 | PRODUCT_PACKAGES += \ |
| 684 | android.hardware.light@2.0-impl \ |
| 685 | android.hardware.light@2.0-service \ |
| 686 | lights.msm8953 |
| 687 | |
| 688 | |
| 689 | # Media / StagefrightCodec 2.0 |
| 690 | PRODUCT_PROPERTY_OVERRIDES += debug.stagefright.omx_default_rank=0 |
| 691 | |
Bharath | e3615be | 2021-08-18 22:25:42 +0530 | [diff] [blame] | 692 | # Enable features in video HAL that can compile only on this platform |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 693 | MSM_VIDC_TARGET_LIST := msm8953 |
Bharath | e3615be | 2021-08-18 22:25:42 +0530 | [diff] [blame] | 694 | TARGET_USES_MEDIA_EXTENSIONS := true |
| 695 | |
| 696 | |
| 697 | # media_profiles and media_codecs xmls for msm8953 |
| 698 | PRODUCT_COPY_FILES += \ |
| 699 | $(FP_PATH)/media/media_profiles_8953.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/media_profiles.xml \ |
| 700 | $(FP_PATH)/media/media_profiles_8953.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \ |
| 701 | $(FP_PATH)/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ |
| 702 | $(FP_PATH)/media/media_codecs_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \ |
| 703 | $(FP_PATH)/media/media_codecs_8953.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_8953.xml \ |
| 704 | $(FP_PATH)/media/media_codecs_performance_8953.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \ |
| 705 | $(FP_PATH)/media/media_codecs_performance_8953.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_8953.xml \ |
| 706 | $(FP_PATH)/media/media_profiles_8953_v1.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/media_profiles_8953_v1.xml \ |
| 707 | $(FP_PATH)/media/media_profiles_8953_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_8953_v1.xml \ |
| 708 | $(FP_PATH)/media/media_codecs_8953_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_v1.xml \ |
| 709 | $(FP_PATH)/media/media_codecs_performance_8953_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_v1.xml \ |
| 710 | $(FP_PATH)/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \ |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 711 | device/qcom/common/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ |
| 712 | device/qcom/common/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml |
| 713 | |
| 714 | PRODUCT_COPY_FILES += \ |
| 715 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ |
| 716 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ |
| 717 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ |
| 718 | frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \ |
| 719 | frameworks/av/media/libstagefright/data/media_codecs_google_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2.xml \ |
| 720 | frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_audio.xml \ |
| 721 | frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml |
Bharath | e3615be | 2021-08-18 22:25:42 +0530 | [diff] [blame] | 722 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 723 | |
| 724 | # NFC |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 725 | PRODUCT_PACKAGES += \ |
Bharath | caaa78e | 2022-09-06 10:18:06 +0530 | [diff] [blame] | 726 | NQNfcNci \ |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 727 | Tag \ |
| 728 | com.android.nfc_extras \ |
| 729 | com.nxp.nfc.nq \ |
| 730 | com.nxp.nfc.nq.xml \ |
| 731 | libnqnfc-nci \ |
| 732 | libnqnfc_nci_jni \ |
| 733 | nfc_nci.nqx.default.hw \ |
| 734 | vendor.nxp.hardware.nfc@2.0-service |
| 735 | |
| 736 | # Permissions |
| 737 | PRODUCT_COPY_FILES += \ |
| 738 | frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \ |
| 739 | frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \ |
| 740 | frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ |
| 741 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ |
| 742 | frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ |
| 743 | frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \ |
| 744 | frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \ |
| 745 | vendor/nxp/opensource/halimpl/halimpl/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \ |
| 746 | 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] | 747 | |
| 748 | |
| 749 | # OMX |
| 750 | PRODUCT_PACKAGES += \ |
| 751 | libavservices_minijail.vendor \ |
| 752 | libc2dcolorconvert \ |
| 753 | libOmxAacEnc \ |
| 754 | libOmxAmrEnc \ |
| 755 | libOmxCore \ |
| 756 | libOmxEvrcEnc \ |
| 757 | libOmxQcelp13Enc \ |
| 758 | libOmxVdec \ |
| 759 | libOmxVenc \ |
| 760 | libqomx_core \ |
| 761 | libaacwrapper \ |
| 762 | libmm-omxcore \ |
| 763 | libstagefrighthw \ |
| 764 | libstagefright_softomx.vendor |
| 765 | |
| 766 | |
| 767 | # |
| 768 | # system prop for opengles version |
| 769 | # |
| 770 | # 196608 is decimal for 0x30000 to report major/minor versions as 3/0 |
| 771 | # 196609 is decimal for 0x30001 to report major/minor versions as 3/1 |
| 772 | # 196610 is decimal for 0x30002 to report major/minor versions as 3/2 |
| 773 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 774 | ro.opengles.version=196610 |
| 775 | |
| 776 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 777 | # AOSP Packages |
| 778 | PRODUCT_PACKAGES += \ |
| 779 | DeskClock \ |
| 780 | Calendar \ |
| 781 | CalendarProvider \ |
| 782 | Camera2 \ |
| 783 | CertInstaller \ |
| 784 | Gallery2 \ |
| 785 | LatinIME \ |
| 786 | Launcher3 \ |
| 787 | LiveWallpapersPicker \ |
| 788 | Music \ |
| 789 | netutils-wrapper-1.0 \ |
| 790 | Provision \ |
| 791 | Protips \ |
| 792 | QuickSearchBox \ |
| 793 | Settings \ |
| 794 | Stk \ |
| 795 | SystemUI \ |
| 796 | |
| 797 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 798 | # Perf |
| 799 | PRODUCT_COPY_FILES += \ |
| 800 | $(FP_PATH)/configs/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml |
| 801 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 802 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 803 | persist.vendor.qcomsysd.enabled=1 \ |
| 804 | ro.vendor.extension_library=libqti-perfd-client.so \ |
| 805 | sys.vendor.shutdown.waittime=500 |
| 806 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 807 | |
| 808 | # Power |
| 809 | PRODUCT_PACKAGES += \ |
| 810 | android.hardware.power@1.0-impl \ |
| 811 | android.hardware.power@1.0-service \ |
| 812 | power.qcom |
| 813 | |
| 814 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 815 | # privapp-permissions whitelisting |
| 816 | PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions=enforce |
| 817 | |
| 818 | |
| 819 | # Protobuf |
| 820 | PRODUCT_PACKAGES += \ |
| 821 | libprotobuf-cpp-full \ |
| 822 | libprotobuf-cpp-full-vendorcompat \ |
| 823 | libprotobuf-cpp-lite-vendorcompat |
| 824 | |
| 825 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 826 | # include additional QCOM build utilities |
| 827 | -include device/qcom/common/utils.mk |
| 828 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 829 | # RIL properties |
| 830 | PRODUCT_PROPERTY_OVERRIDES += rild.libpath=/vendor/lib64/libril-qc-qmi-1.so |
| 831 | PRODUCT_PROPERTY_OVERRIDES += vendor.rild.libpath=/vendor/lib64/libril-qc-qmi-1.so |
| 832 | #vendor prop to disable advanced network scanning |
| 833 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 834 | persist.vendor.radio.enableadvancedscan=false |
| 835 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 836 | # Enable Dual SIM by default |
| 837 | PRODUCT_PROPERTY_OVERRIDES += persist.radio.multisim.config=dsds |
| 838 | |
| 839 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 840 | persist.vendor.radio.apm_sim_not_pwdn=1 \ |
| 841 | persist.vendor.radio.sib16_support=1 \ |
| 842 | persist.vendor.radio.custom_ecc=1 \ |
| 843 | persist.vendor.radio.rat_on=combine \ |
| 844 | persist.vendor.radio.procedure_bytes=SKIP |
| 845 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 846 | |
| 847 | # RenderScript |
| 848 | PRODUCT_PACKAGES += \ |
| 849 | android.hardware.renderscript@1.0-impl |
| 850 | |
| 851 | |
| 852 | # SDCard |
| 853 | # default is nosdcard, S/W button enabled in resource |
| 854 | PRODUCT_CHARACTERISTICS := nosdcard |
| 855 | |
| 856 | |
| 857 | # Seccomp |
| 858 | PRODUCT_COPY_FILES += \ |
| 859 | $(FP_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \ |
| 860 | $(FP_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy |
| 861 | |
| 862 | |
Bharath | 1710e06 | 2021-08-20 11:30:47 +0530 | [diff] [blame] | 863 | # Secure Element |
| 864 | PRODUCT_PACKAGES += \ |
| 865 | android.hardware.secure_element@1.2 |
| 866 | |
| 867 | |
Bharath | ca82a24 | 2022-08-18 19:48:51 +0530 | [diff] [blame] | 868 | # Sound Recorder |
| 869 | PRODUCT_PACKAGES += \ |
| 870 | QtiSoundRecorder |
| 871 | |
| 872 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 873 | # System helper |
| 874 | PRODUCT_PACKAGES += \ |
| 875 | vendor.qti.hardware.systemhelper@1.0 |
| 876 | |
| 877 | |
| 878 | # Service tracker |
| 879 | PRODUCT_PACKAGES += \ |
| 880 | vendor.qti.hardware.servicetracker@1.2.vendor |
| 881 | |
| 882 | |
Bharath | a60665d | 2021-08-19 09:37:22 +0530 | [diff] [blame] | 883 | # Sensors |
| 884 | PRODUCT_PACKAGES += \ |
| 885 | sensors.FP3 \ |
| 886 | android.hardware.sensors@1.0-impl \ |
| 887 | android.hardware.sensors@1.0-service \ |
| 888 | libsensorndkbridge |
| 889 | |
| 890 | # Sensor HAL conf file |
| 891 | PRODUCT_COPY_FILES += \ |
| 892 | $(FP_PATH)/configs/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf |
| 893 | |
| 894 | # Feature definition files for msm8953 |
| 895 | PRODUCT_COPY_FILES += \ |
| 896 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 897 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ |
| 898 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 899 | frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ |
| 900 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 901 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 902 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml |
| 903 | |
| 904 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 905 | # Telephony Permissions |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 906 | # whitelisted app |
| 907 | PRODUCT_COPY_FILES += \ |
| 908 | device/qcom/common/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml |
| 909 | |
| 910 | PRODUCT_COPY_FILES += \ |
| 911 | device/qcom/common/privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-qti.xml |
| 912 | |
| 913 | # Telephony wrappers |
| 914 | PRODUCT_PACKAGES += \ |
| 915 | qti-telephony-hidl-wrapper \ |
| 916 | qti_telephony_hidl_wrapper.xml \ |
| 917 | qti-telephony-utils \ |
| 918 | qti_telephony_utils.xml |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 919 | |
| 920 | |
| 921 | # Thermal |
| 922 | PRODUCT_PACKAGES += \ |
| 923 | android.hardware.thermal@1.0-impl \ |
| 924 | android.hardware.thermal@1.0-service |
| 925 | |
| 926 | |
| 927 | # Tinyxml |
| 928 | PRODUCT_PACKAGES += \ |
| 929 | libtinyxml |
| 930 | |
| 931 | # USB |
| 932 | PRODUCT_PACKAGES += \ |
| 933 | android.hardware.usb@1.0-service |
| 934 | |
| 935 | -include vendor/qcom/opensource/usb/vendor_product.mk |
| 936 | |
| 937 | |
| 938 | # Vendor move |
| 939 | PRODUCT_VENDOR_MOVE_ENABLED := true |
| 940 | |
| 941 | |
| 942 | # Vibrator |
| 943 | PRODUCT_PACKAGES += \ |
| 944 | android.hardware.vibrator@1.0-impl \ |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 945 | android.hardware.vibrator@1.0-service \ |
| 946 | vendor.qti.hardware.vibrator.service |
| 947 | |
| 948 | PRODUCT_COPY_FILES += \ |
| 949 | vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 950 | |
| 951 | |
Bharath | ed25571 | 2021-08-14 20:37:05 +0530 | [diff] [blame] | 952 | # WiFi |
| 953 | # WLAN drivers |
| 954 | PRODUCT_COPY_FILES += \ |
| 955 | $(FP_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini \ |
| 956 | $(FP_PATH)/wifi/WCNSS_wlan_dictionary.dat:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_wlan_dictionary.dat \ |
| 957 | $(FP_PATH)/wifi/WCNSS_qcom_wlan_nv.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin # From Android 10 |
| 958 | |
| 959 | # Flag to check if wcnss_service is built from source |
| 960 | TARGET_USE_WCNSS_HAL := false |
| 961 | |
| 962 | # If building from source then drop proprietary dependency |
| 963 | ifeq ($(TARGET_USE_WCNSS_HAL),true) |
| 964 | TARGET_USES_QCOM_WCNSS_QMI := false |
Bharath | 70cf2ae | 2022-02-14 12:13:50 +0530 | [diff] [blame] | 965 | |
| 966 | PRODUCT_PACKAGES += \ |
| 967 | libwcnss_qmi \ |
| 968 | wcnss_service |
Bharath | ed25571 | 2021-08-14 20:37:05 +0530 | [diff] [blame] | 969 | endif |
| 970 | |
| 971 | # WiFi HAL |
| 972 | PRODUCT_PACKAGES += \ |
| 973 | android.hardware.wifi@1.0-service |
| 974 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 975 | # WLAN DLKM |
| 976 | PRODUCT_PACKAGES += \ |
| 977 | pronto_wlan.ko |
| 978 | |
Bharath | ed25571 | 2021-08-14 20:37:05 +0530 | [diff] [blame] | 979 | # WiFi Components |
| 980 | PRODUCT_PACKAGES += \ |
| 981 | hostapd \ |
| 982 | hostapd.accept \ |
| 983 | hostapd.deny \ |
| 984 | hostapd_cli \ |
| 985 | hostapd_default.conf \ |
| 986 | libnl \ |
| 987 | libqsap_sdk \ |
Bharath | ed25571 | 2021-08-14 20:37:05 +0530 | [diff] [blame] | 988 | libwifi-hal-qcom \ |
| 989 | libwpa_client \ |
| 990 | p2p_supplicant_overlay.conf \ |
| 991 | vendor.qti.hardware.wifi.supplicant@1.0.vendor \ |
Bharath | ed25571 | 2021-08-14 20:37:05 +0530 | [diff] [blame] | 992 | wificond \ |
| 993 | wpa_cli \ |
| 994 | wpa_supplicant.conf \ |
| 995 | wpa_supplicant \ |
| 996 | wpa_supplicant_overlay.conf \ |
| 997 | WifiOverlay \ |
| 998 | TetheringConfigOverlay |
| 999 | |
| 1000 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 1001 | # Zlib |
| 1002 | PRODUCT_HOST_PACKAGES += minigzip |
| 1003 | |
| 1004 | |
| 1005 | #soong namespace for qssi vs vendor differentiation |
| 1006 | SOONG_CONFIG_NAMESPACES += qssi_vs_vendor |
| 1007 | SOONG_CONFIG_qssi_vs_vendor += qssi_or_vendor |
| 1008 | SOONG_CONFIG_qssi_vs_vendor_qssi_or_vendor := vendor |
| 1009 | |
| 1010 | SOONG_CONFIG_NAMESPACES += aosp_vs_qva |
| 1011 | SOONG_CONFIG_aosp_vs_qva += aosp_or_qva |
| 1012 | ifeq ($(TARGET_FWK_SUPPORTS_FULL_VALUEADDS),true) |
| 1013 | SOONG_CONFIG_aosp_vs_qva_aosp_or_qva := qva |
| 1014 | else |
| 1015 | SOONG_CONFIG_aosp_vs_qva_aosp_or_qva := aosp |
| 1016 | endif |
| 1017 | |
| 1018 | SOONG_CONFIG_NAMESPACES += qtidisplaycommonsys |
| 1019 | # Soong Keys |
| 1020 | SOONG_CONFIG_qtidisplaycommonsys := displayconfig_enabled |
| 1021 | # Soong Values |
| 1022 | SOONG_CONFIG_qtidisplaycommonsys_displayconfig_enabled := true |
| 1023 | |
| 1024 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 1025 | # Call the proprietary setup |
Bharath | a3a85a7 | 2022-05-23 17:50:24 +0530 | [diff] [blame] | 1026 | FP3_PROPRIETARY_PATH := device/fairphone/fp3-proprietary |
Bharath | a3a85a7 | 2022-05-23 17:50:24 +0530 | [diff] [blame] | 1027 | |
Bharath | 8808e70 | 2022-08-04 14:48:24 +0530 | [diff] [blame] | 1028 | DEVICE_BLOB_VERSION := 4.A.0016.2 |
Francesco Salvatore | 0311748 | 2019-02-28 16:39:11 +0100 | [diff] [blame] | 1029 | |
| 1030 | GET_BLOBS_CMD = vendor/fairphone/tools/bin/get_blobs.py --device FP3 --build-id $(DEVICE_BLOB_VERSION) --blobs-dir $(FP3_PROPRIETARY_PATH) |
| 1031 | |
| 1032 | # Check the presence of proprietary blobs |
| 1033 | ifeq ("$(wildcard $(FP3_PROPRIETARY_PATH)/device-vendor.mk)","") |
| 1034 | define BLOBS_INSTRUCTION |
| 1035 | Cannot find FP3 binary blobs. |
| 1036 | Please run |
| 1037 | $(GET_BLOBS_CMD) |
| 1038 | and accept the terms of agreement. |
| 1039 | endef |
| 1040 | $(error $(BLOBS_INSTRUCTION)) |
| 1041 | endif |
| 1042 | |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 1043 | # Call this in the end so that flags if required can be utilized. |
Bharath | a3a85a7 | 2022-05-23 17:50:24 +0530 | [diff] [blame] | 1044 | $(call inherit-product, $(FP3_PROPRIETARY_PATH)/device-vendor.mk) |
| 1045 | |
Bharath | 1216328 | 2022-06-20 15:10:58 +0530 | [diff] [blame] | 1046 | # Build some more display components to vendor |
| 1047 | $(call inherit-product, vendor/qcom/opensource/commonsys-intf/display/config/display-interfaces-product.mk) |
Bharath | 756d7dd | 2021-08-07 23:53:55 +0530 | [diff] [blame] | 1048 | ################################################################################### |