1# 2# Copyright (C) 2019 The Android Open-Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17LOCAL_PATH := device/google/sunfish 18 19PRODUCT_VENDOR_MOVE_ENABLED := true 20TARGET_BOARD_PLATFORM := sm6150 21MSMSTEPPE := sm6150 22 23PRODUCT_SOONG_NAMESPACES += \ 24 device/google/sunfish \ 25 hardware/google/av \ 26 hardware/google/camera \ 27 hardware/google/interfaces \ 28 hardware/google/pixel \ 29 hardware/qcom/sm8150/display \ 30 hardware/qcom/sm8150/data/ipacfg-mgr \ 31 hardware/qcom/sm8150/gps \ 32 vendor/google/camera \ 33 vendor/qcom/sm8150 \ 34 vendor/qcom/sm8150/proprietary/commonsys/telephony-apps/DataStatusNotification \ 35 vendor/qcom/sm8150/proprietary/gps \ 36 vendor/qcom/sm8150/proprietary/qmi \ 37 vendor/qcom/sm8150/codeaurora/location \ 38 vendor/google/interfaces \ 39 vendor/google_devices/common/proprietary/confirmatioui_hal \ 40 vendor/google_nos/host/android \ 41 vendor/google_nos/test/system-test-harness 42 43# Include sensors soong namespace 44PRODUCT_SOONG_NAMESPACES += \ 45 vendor/qcom/sensors \ 46 vendor/google/tools/sensors 47 48# Single vendor RIL/Telephony/data with SM7250 49DEVICE_USES_SM7250_QCRIL_TELEPHONY := true 50 51ifeq ($(DEVICE_USES_SM7250_QCRIL_TELEPHONY), true) 52 PRODUCT_SOONG_NAMESPACES += \ 53 vendor/qcom/sm7250/codeaurora/commonsys/telephony/ims/ims-ext-common \ 54 vendor/qcom/sm7250/codeaurora/dataservices/rmnetctl \ 55 vendor/qcom/sm7250/proprietary/commonsys/qcrilOemHook \ 56 vendor/qcom/sm7250/proprietary/commonsys/telephony-apps/ims \ 57 vendor/qcom/sm7250/proprietary/commonsys/telephony-apps/QtiTelephonyService \ 58 vendor/qcom/sm7250/proprietary/commonsys/telephony-apps/xdivert \ 59 vendor/qcom/sm7250/proprietary/qcril-data-hal \ 60 vendor/qcom/sm7250/proprietary/qcril-hal \ 61 vendor/qcom/sm7250/proprietary/data 62 else 63 $(warning DEVICE_USES_SM7250_QCRIL_TELEPHONY is disabled) 64 65 PRODUCT_SOONG_NAMESPACES += \ 66 vendor/qcom/sm7150/codeaurora/commonsys/telephony/ims \ 67 vendor/qcom/sm7150/proprietary/qcril-data-hal \ 68 vendor/qcom/sm7150/proprietary/qcril-hal 69endif 70 71PRODUCT_PROPERTY_OVERRIDES += \ 72 keyguard.no_require_sim=true 73 74# enable cal by default on accel sensor 75PRODUCT_PRODUCT_PROPERTIES += \ 76 persist.debug.sensors.accel_cal=1 77 78# The default value of this variable is false and should only be set to true when 79# the device allows users to retain eSIM profiles after factory reset of user data. 80PRODUCT_PRODUCT_PROPERTIES += \ 81 masterclear.allow_retain_esim_profiles_after_fdr=true 82 83PRODUCT_COPY_FILES += \ 84 device/google/sunfish/default-permissions.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/default-permissions/default-permissions.xml \ 85 device/google/sunfish/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \ 86 frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \ 87 frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml 88 89# Enforce privapp-permissions whitelist 90PRODUCT_PROPERTY_OVERRIDES += \ 91 ro.control_privapp_permissions=enforce 92 93PRODUCT_PACKAGES += \ 94 messaging 95 96TARGET_PRODUCT_PROP := $(LOCAL_PATH)/product.prop 97 98$(call inherit-product, $(LOCAL_PATH)/utils.mk) 99 100# Installs gsi keys into ramdisk, to boot a developer GSI with verified boot. 101$(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk) 102 103ifeq ($(wildcard vendor/google_devices/sunfish/proprietary/device-vendor-sunfish.mk),) 104 BUILD_WITHOUT_VENDOR := true 105endif 106 107ifeq ($(TARGET_PREBUILT_KERNEL),) 108 LOCAL_KERNEL := device/google/sunfish-kernel/Image.lz4 109else 110 LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) 111endif 112PRODUCT_VENDOR_KERNEL_HEADERS := device/google/sunfish-kernel/sm7150/kernel-headers 113 114 115PRODUCT_CHARACTERISTICS := nosdcard 116PRODUCT_SHIPPING_API_LEVEL := 29 117 118# Enforce native interfaces of product partition as VNDK 119PRODUCT_PRODUCT_VNDK_VERSION := current 120 121# Enforce java interfaces of product partition 122PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true 123 124DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay 125 126PRODUCT_COPY_FILES += \ 127 $(LOCAL_KERNEL):kernel \ 128 $(LOCAL_PATH)/fstab.hardware:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.$(PRODUCT_PLATFORM) \ 129 $(LOCAL_PATH)/fstab.hardware:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.$(PRODUCT_PLATFORM) \ 130 $(LOCAL_PATH)/fstab.persist:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.persist \ 131 $(LOCAL_PATH)/init.hardware.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_PLATFORM).rc \ 132 $(LOCAL_PATH)/init.power.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_PLATFORM).power.rc \ 133 $(LOCAL_PATH)/init.radio.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.radio.sh \ 134 $(LOCAL_PATH)/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl \ 135 $(LOCAL_PATH)/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc \ 136 $(LOCAL_PATH)/init.hardware.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_PLATFORM).usb.rc \ 137 $(LOCAL_PATH)/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \ 138 $(LOCAL_PATH)/init.sensors.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.sensors.sh \ 139 $(LOCAL_PATH)/thermal-engine-$(PRODUCT_HARDWARE).conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-$(PRODUCT_HARDWARE).conf \ 140 $(LOCAL_PATH)/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \ 141 $(LOCAL_PATH)/init.ramoops.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.ramoops.sh \ 142 143MSM_VIDC_TARGET_LIST := sm6150 # Get the color format from kernel headers 144MASTER_SIDE_CP_TARGET_LIST := sm6150 # ION specific settings 145 146ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 147 PRODUCT_COPY_FILES += \ 148 $(LOCAL_PATH)/init.hardware.diag.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_PLATFORM).diag.rc 149 PRODUCT_COPY_FILES += \ 150 $(LOCAL_PATH)/init.hardware.mpssrfs.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_PLATFORM).mpssrfs.rc 151 PRODUCT_COPY_FILES += \ 152 $(LOCAL_PATH)/init.hardware.ipa.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_PLATFORM).ipa.rc 153 PRODUCT_COPY_FILES += \ 154 $(LOCAL_PATH)/init.hardware.power_debug.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_PLATFORM).power_debug.rc 155 PRODUCT_COPY_FILES += \ 156 $(LOCAL_PATH)/init.hardware.userdebug.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_PLATFORM).userdebug.rc 157else 158 PRODUCT_COPY_FILES += \ 159 $(LOCAL_PATH)/init.hardware.diag.rc.user:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_PLATFORM).diag.rc 160 PRODUCT_COPY_FILES += \ 161 $(LOCAL_PATH)/init.hardware.mpssrfs.rc.user:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_PLATFORM).mpssrfs.rc 162endif 163 164# Enable DIAG issue debug 165ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 166 PRODUCT_COPY_FILES += \ 167 $(LOCAL_PATH)/init.diagdebug.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.diagdebug.rc 168endif 169 170# A/B support 171PRODUCT_PACKAGES += \ 172 otapreopt_script \ 173 cppreopts.sh \ 174 update_engine \ 175 update_verifier 176 177PRODUCT_PACKAGES += \ 178 e2fsck_ramdisk \ 179 tune2fs_ramdisk \ 180 resize2fs_ramdisk 181 182# Use Sdcardfs 183PRODUCT_PRODUCT_PROPERTIES += \ 184 ro.sys.sdcardfs=1 185 186PRODUCT_PACKAGES += \ 187 bootctrl.sm6150 \ 188 bootctrl.sm6150.recovery 189 190PRODUCT_PROPERTY_OVERRIDES += \ 191 ro.cp_system_other_odex=1 192 193AB_OTA_POSTINSTALL_CONFIG += \ 194 RUN_POSTINSTALL_system=true \ 195 POSTINSTALL_PATH_system=system/bin/otapreopt_script \ 196 FILESYSTEM_TYPE_system=ext4 \ 197 POSTINSTALL_OPTIONAL_system=true 198 199PRODUCT_PACKAGES += \ 200 update_engine_sideload 201 202PRODUCT_PACKAGES_DEBUG += \ 203 sg_write_buffer \ 204 f2fs_io \ 205 check_f2fs 206 207AB_OTA_POSTINSTALL_CONFIG += \ 208 RUN_POSTINSTALL_vendor=true \ 209 POSTINSTALL_PATH_vendor=bin/checkpoint_gc \ 210 FILESYSTEM_TYPE_vendor=ext4 \ 211 POSTINSTALL_OPTIONAL_vendor=true 212 213PRODUCT_PROPERTY_OVERRIDES += \ 214 ro.crypto.volume.filenames_mode=aes-256-cts 215 216# Userdata Checkpointing OTA GC 217PRODUCT_PACKAGES += \ 218 checkpoint_gc 219 220# The following modules are included in debuggable builds only. 221PRODUCT_PACKAGES_DEBUG += \ 222 bootctl \ 223 r.vendor \ 224 update_engine_client 225 226PRODUCT_COPY_FILES += \ 227 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ 228 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ 229 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml\ 230 frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml\ 231 frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ 232 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ 233 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ 234 frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ 235 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ 236 frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \ 237 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \ 238 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \ 239 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \ 240 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml \ 241 frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hifi_sensors.xml \ 242 frameworks/native/data/etc/android.hardware.context_hub.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.context_hub.xml \ 243 frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \ 244 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \ 245 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ 246 frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \ 247 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ 248 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ 249 frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ 250 frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml \ 251 frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \ 252 frameworks/native/data/etc/android.hardware.wifi.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \ 253 frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \ 254 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ 255 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ 256 frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \ 257 frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ 258 frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \ 259 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \ 260 frameworks/native/data/etc/android.hardware.reboot_escrow.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.reboot_escrow.xml \ 261 frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \ 262 frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \ 263 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \ 264 frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml \ 265 frameworks/native/data/etc/android.software.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \ 266 frameworks/native/data/etc/android.software.opengles.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \ 267 frameworks/native/data/etc/android.hardware.telephony.carrierlock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.carrierlock.xml \ 268 frameworks/native/data/etc/android.hardware.strongbox_keystore.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.strongbox_keystore.xml \ 269 frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml \ 270 frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \ 271 frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \ 272 frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.xml \ 273 frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml 274 275# Audio fluence, ns, aec property, voice and media volume steps 276PRODUCT_PROPERTY_OVERRIDES += \ 277 ro.vendor.audio.sdk.fluencetype=fluencepro \ 278 persist.vendor.audio.fluence.voicecall=true \ 279 persist.vendor.audio.fluence.speaker=true \ 280 persist.vendor.audio.fluence.voicecomm=true \ 281 persist.vendor.audio.fluence.voicerec=false \ 282 ro.config.vc_call_vol_steps=7 \ 283 ro.config.media_vol_steps=25 \ 284 285# Audio Features 286PRODUCT_PROPERTY_OVERRIDES += \ 287 vendor.audio.feature.external_dsp.enable=true \ 288 vendor.audio.feature.external_speaker.enable=true \ 289 vendor.audio.feature.concurrent_capture.enable=false \ 290 vendor.audio.feature.a2dp_offload.enable=true \ 291 vendor.audio.feature.hfp.enable=true \ 292 vendor.audio.feature.hwdep_cal.enable=true \ 293 vendor.audio.feature.incall_music.enable=true \ 294 vendor.audio.feature.maxx_audio.enable=true \ 295 vendor.audio.feature.spkr_prot.enable=true \ 296 vendor.audio.feature.usb_offload.enable=true \ 297 vendor.audio.feature.audiozoom.enable=true \ 298 vendor.audio.feature.snd_mon.enable=true \ 299 vendor.audio.feature.multi_voice_session.enable=true \ 300 vendor.audio.capture.enforce_legacy_copp_sr=true \ 301 vendor.audio.offload.buffer.size.kb=256 \ 302 persist.vendor.audio_hal.dsp_bit_width_enforce_mode=24 \ 303 vendor.audio.offload.gapless.enabled=true \ 304 305# MaxxAudio effect and add rotation monitor 306PRODUCT_PROPERTY_OVERRIDES += \ 307 ro.audio.monitorRotation=true 308 309# Iaxxx streming and factory binary 310PRODUCT_PACKAGES += \ 311 libtunnel \ 312 libodsp \ 313 adnc_strm.primary.default 314 315# graphics 316PRODUCT_PROPERTY_OVERRIDES += \ 317 ro.opengles.version=196610 318 319PRODUCT_PROPERTY_OVERRIDES += \ 320 ro.vendor.display.foss=1 \ 321 ro.vendor.display.paneltype=2 \ 322 ro.vendor.display.sensortype=2 \ 323 vendor.display.foss.config=1 \ 324 vendor.display.foss.config_path=/vendor/etc/FOSSConfig.xml \ 325 vendor.display.qdcm.mode_combine=1 326 327# camera hal buffer management 328PRODUCT_PROPERTY_OVERRIDES += \ 329 persist.camera.managebuffer.enable=1 330 331# camera google face detection 332PRODUCT_PROPERTY_OVERRIDES += \ 333 persist.camera.googfd.enable=1 334 335# Lets the vendor library that Google Camera HWL is enabled 336PRODUCT_PROPERTY_OVERRIDES += \ 337 persist.camera.google_hwl.enabled=true \ 338 persist.camera.google_hwl.name=libgooglecamerahwl_impl.so 339 340# camera common HWL 341CAMERA_COMMON_HWL := true 342 343# OEM Unlock reporting 344PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 345 ro.oem_unlock_supported=1 346 347PRODUCT_PROPERTY_OVERRIDES += \ 348 persist.vendor.cne.feature=1 \ 349 persist.vendor.data.iwlan.enable=true \ 350 persist.vendor.radio.RATE_ADAPT_ENABLE=1 \ 351 persist.vendor.radio.ROTATION_ENABLE=1 \ 352 persist.vendor.radio.VT_ENABLE=1 \ 353 persist.vendor.radio.VT_HYBRID_ENABLE=1 \ 354 persist.vendor.radio.apm_sim_not_pwdn=1 \ 355 persist.vendor.radio.custom_ecc=1 \ 356 persist.vendor.radio.data_ltd_sys_ind=1 \ 357 persist.vendor.radio.videopause.mode=1 \ 358 persist.vendor.radio.mt_sms_ack=30 \ 359 persist.vendor.radio.multisim_switch_support=true \ 360 persist.vendor.radio.sib16_support=1 \ 361 persist.vendor.radio.data_con_rprt=true \ 362 persist.vendor.radio.relay_oprt_change=1 \ 363 persist.vendor.radio.no_wait_for_card=1 \ 364 persist.vendor.radio.sap_silent_pin=1 \ 365 persist.vendor.radio.manual_nw_rej_ct=1 \ 366 persist.rcs.supported=1 \ 367 vendor.rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so \ 368 ro.hardware.keystore_desede=true \ 369 ro.telephony.iwlan_operation_mode=legacy \ 370 persist.vendor.radio.procedure_bytes=SKIP \ 371 372# Enable reboot free DSDS 373PRODUCT_PRODUCT_PROPERTIES += \ 374 persist.radio.reboot_on_modem_change=false 375 376PRODUCT_PROPERTY_OVERRIDES += \ 377 telephony.active_modems.max_count=2 378 379# Disable snapshot timer 380PRODUCT_PROPERTY_OVERRIDES += \ 381 persist.vendor.radio.snapshot_enabled=0 \ 382 persist.vendor.radio.snapshot_timer=0 383 384PRODUCT_PACKAGES += \ 385 hwcomposer.sm6150 \ 386 android.hardware.graphics.composer@2.4-service-sm8150 \ 387 gralloc.sm6150 \ 388 android.hardware.graphics.mapper@3.0-impl-qti-display \ 389 android.hardware.graphics.mapper@4.0-impl-qti-display \ 390 vendor.qti.hardware.display.allocator-service 391 392# RenderScript HAL 393PRODUCT_PACKAGES += \ 394 android.hardware.renderscript@1.0-impl 395 396# Light HAL 397PRODUCT_PACKAGES += \ 398 lights.sm6150 \ 399 hardware.google.light@1.1-service 400 401# Memtrack HAL 402PRODUCT_PACKAGES += \ 403 memtrack.sm6150 \ 404 android.hardware.memtrack@1.0-impl \ 405 android.hardware.memtrack@1.0-service 406 407# Bluetooth HAL 408PRODUCT_PACKAGES += \ 409 android.hardware.bluetooth@1.0-impl-qti \ 410 android.hardware.bluetooth@1.0-service-qti 411 412#Bluetooth SAR HAL 413PRODUCT_PACKAGES += \ 414 hardware.google.bluetooth.sar@1.0-impl 415PRODUCT_PACKAGES_DEBUG += \ 416 bluetooth_sar_test 417 418# Bluetooth AFH 419PRODUCT_PACKAGES += \ 420 hardware.google.bluetooth.bt_channel_avoidance@1.0-impl 421 422# Bluetooth SoC 423PRODUCT_PROPERTY_OVERRIDES += \ 424 vendor.qcom.bluetooth.soc=cherokee 425 426# Property for loading BDA from device tree 427PRODUCT_PROPERTY_OVERRIDES += \ 428 ro.vendor.bt.bdaddr_path=/proc/device-tree/chosen/cdt/cdb2/bt_addr 429 430# Bluetooth WiPower 431PRODUCT_PROPERTY_OVERRIDES += \ 432 ro.vendor.bluetooth.emb_wp_mode=false \ 433 ro.vendor.bluetooth.wipower=false 434 435# DRM HAL 436PRODUCT_PACKAGES += \ 437 android.hardware.drm@1.0-impl \ 438 android.hardware.drm@1.0-service \ 439 android.hardware.drm@1.4-service.clearkey \ 440 android.hardware.drm@1.4-service.widevine 441 442# NFC and Secure Element packages 443PRODUCT_PACKAGES += \ 444 NfcNci \ 445 Tag \ 446 SecureElement \ 447 android.hardware.nfc@1.2-service.st \ 448 android.hardware.secure_element@1.0-service.st 449 450PRODUCT_COPY_FILES += \ 451 device/google/sunfish/nfc/libnfc-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \ 452 device/google/sunfish/nfc/libese-hal-st.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libese-hal-st.conf \ 453 device/google/sunfish/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_PRODUCT)/etc/libnfc-nci.conf 454 455PRODUCT_PACKAGES += \ 456 android.hardware.usb@1.3-service.sunfish 457 458PRODUCT_PACKAGES += \ 459 android.hardware.health@2.1-impl-sunfish \ 460 android.hardware.health@2.1-service 461 462# Storage health HAL 463PRODUCT_PACKAGES += \ 464 android.hardware.health.storage@1.0-service 465 466PRODUCT_PACKAGES += \ 467 libmm-omxcore \ 468 libOmxCore \ 469 libstagefrighthw \ 470 libOmxVdec \ 471 libOmxVdecHevc \ 472 libOmxVenc \ 473 libc2dcolorconvert 474 475# Enable Codec 2.0 476PRODUCT_PACKAGES += \ 477 libqcodec2 \ 478 vendor.qti.media.c2@1.0-service \ 479 media_codecs_c2.xml \ 480 codec2.vendor.ext.policy \ 481 codec2.vendor.base.policy 482 483PRODUCT_PROPERTY_OVERRIDES += \ 484 debug.stagefright.omx_default_rank=512 485 486# Create input surface on the framework side 487PRODUCT_PROPERTY_OVERRIDES += \ 488 debug.stagefright.c2inputsurface=-1 \ 489 490# Transcoding related property. 491PRODUCT_PROPERTY_OVERRIDES += \ 492 debug.media.transcoding.codec_max_operating_rate_720P=240 \ 493 debug.media.transcoding.codec_max_operating_rate_1080P=120 \ 494 495# Disable OMX 496PRODUCT_PROPERTY_OVERRIDES += \ 497 vendor.media.omx=0 \ 498 499# Enable ECO service 500QC2_HAVE_ECO_SERVICE := true 501 502PRODUCT_PROPERTY_OVERRIDES += \ 503 vendor.qc2.venc.avgqp.enable=1 504 505# To reach target bitrate in CBR mode for IMS VT Call 506PRODUCT_PROPERTY_OVERRIDES += \ 507 persist.vendor.ims.mm_minqp=1 508 509PRODUCT_PACKAGES += \ 510 android.hardware.camera.provider@2.7-impl-google \ 511 android.hardware.camera.provider@2.7-service-google \ 512 camera.sm6150 \ 513 libgooglecamerahwl_impl \ 514 libqomx_core \ 515 libmmjpeg_interface \ 516 libmmcamera_interface \ 517 libcameradepthcalibrator 518 519# Google Camera HAL test libraries in debug builds 520PRODUCT_PACKAGES_DEBUG += \ 521 libgoogle_camera_hal_proprietary_tests \ 522 libgoogle_camera_hal_tests 523 524PRODUCT_PACKAGES += \ 525 sensors.$(PRODUCT_HARDWARE) \ 526 android.hardware.sensors@2.0-service.multihal \ 527 hals.conf 528 529PRODUCT_PACKAGES += \ 530 fs_config_dirs \ 531 fs_config_files 532 533# Context hub HAL 534PRODUCT_PACKAGES += \ 535 android.hardware.contexthub@1.2-service.generic 536 537# CHRE tools 538ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 539PRODUCT_PACKAGES += \ 540 chre_power_test_client \ 541 chre_test_client 542endif 543 544# Boot control HAL 545PRODUCT_PACKAGES += \ 546 android.hardware.boot@1.2-impl-pixel-legacy \ 547 android.hardware.boot@1.2-impl-pixel-legacy.recovery \ 548 android.hardware.boot@1.2-service \ 549 550# Vibrator HAL 551PRODUCT_PACKAGES += \ 552 com.android.vibrator.sunfish \ 553 554# Vibrator HAL 555PRODUCT_PRODUCT_PROPERTIES +=\ 556 ro.vendor.vibrator.hal.config.dynamic=1 \ 557 ro.vendor.vibrator.hal.click.duration=6 \ 558 ro.vendor.vibrator.hal.tick.duration=6 \ 559 ro.vendor.vibrator.hal.heavyclick.duration=6 \ 560 ro.vendor.vibrator.hal.short.voltage=161 \ 561 ro.vendor.vibrator.hal.long.voltage=161 \ 562 ro.vendor.vibrator.hal.long.frequency.shift=10 \ 563 ro.vendor.vibrator.hal.steady.shape=1 \ 564 ro.vendor.vibrator.hal.lptrigger=0 565 566# Thermal HAL config 567PRODUCT_COPY_FILES += \ 568 $(LOCAL_PATH)/thermal_info_config_$(PRODUCT_HARDWARE).json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \ 569 570#GNSS HAL 571PRODUCT_PACKAGES += \ 572 libgps.utils \ 573 libgnss \ 574 libloc_core \ 575 liblocation_api \ 576 libbatching \ 577 libgeofencing \ 578 android.hardware.gnss@2.1-impl-qti \ 579 android.hardware.gnss@2.1-service-qti 580 581ENABLE_VENDOR_RIL_SERVICE := true 582 583USE_QCRIL_OEMHOOK := true 584 585HOSTAPD := hostapd 586ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 587HOSTAPD += hostapd_cli 588endif 589PRODUCT_PACKAGES += $(HOSTAPD) 590 591WPA := wpa_supplicant.conf 592WPA += wpa_supplicant_wcn.conf 593WPA += wpa_supplicant 594PRODUCT_PACKAGES += $(WPA) 595 596ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 597PRODUCT_PACKAGES += wpa_cli 598endif 599 600# Wifi 601PRODUCT_PACKAGES += \ 602 android.hardware.wifi@1.0-service \ 603 wificond \ 604 libwpa_client \ 605 WifiOverlay 606 607# Connectivity 608PRODUCT_PACKAGES += \ 609 ConnectivityOverlay 610 611# WLAN driver configuration files 612PRODUCT_COPY_FILES += \ 613 $(LOCAL_PATH)/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \ 614 $(LOCAL_PATH)/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \ 615 $(LOCAL_PATH)/wifi_concurrency_cfg.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wifi_concurrency_cfg.txt \ 616 $(LOCAL_PATH)/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini \ 617 618LIB_NL := libnl_2 619PRODUCT_PACKAGES += $(LIB_NL) 620 621# Audio effects 622PRODUCT_PACKAGES += \ 623 libvolumelistener \ 624 libqcomvisualizer \ 625 libqcomvoiceprocessing \ 626 libqcomvoiceprocessingdescriptors \ 627 libqcompostprocbundle 628 629PRODUCT_PACKAGES += \ 630 audio.primary.sm6150 \ 631 audio.a2dp.default \ 632 audio.usb.default \ 633 audio.r_submix.default \ 634 libaudio-resampler \ 635 audio.hearing_aid.default \ 636 audio.bluetooth.default 637 638PRODUCT_PACKAGES += \ 639 android.hardware.audio@7.0-impl:32 \ 640 android.hardware.audio.effect@7.0-impl:32 \ 641 android.hardware.soundtrigger@2.3-impl \ 642 android.hardware.bluetooth.audio@2.0-impl \ 643 android.hardware.audio.service 644 645# Modules for Audio HAL 646PRODUCT_PACKAGES += \ 647 libcirrusspkrprot \ 648 libsndmonitor \ 649 libmalistener \ 650 liba2dpoffload \ 651 btaudio_offload_if \ 652 libmaxxaudio \ 653 libaudiozoom 654 655ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 656PRODUCT_PACKAGES += \ 657 tinyplay \ 658 tinycap \ 659 tinymix \ 660 tinypcminfo \ 661 cplay 662endif 663 664# Audio hal xmls 665 666# Audio Policy tables 667 668# Audio ACDB data 669 670# Audio ACDB workspace files for QACT 671 672# Audio speaker tunning config data 673 674# Audio audiozoom config data 675 676PRODUCT_COPY_FILES += \ 677 $(LOCAL_PATH)/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ 678 $(LOCAL_PATH)/media_codecs_omx.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_omx.xml \ 679 $(LOCAL_PATH)/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \ 680 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ 681 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ 682 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ 683 $(LOCAL_PATH)/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml 684 685# Vendor seccomp policy files for media components: 686PRODUCT_COPY_FILES += \ 687 $(LOCAL_PATH)/seccomp_policy/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy 688 689PRODUCT_PROPERTY_OVERRIDES += \ 690 vendor.audio.snd_card.open.retries=50 691 692 693ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 694# Subsystem ramdump 695PRODUCT_PROPERTY_OVERRIDES += \ 696 persist.vendor.sys.ssr.enable_ramdumps=1 697endif 698 699# Subsystem silent restart 700PRODUCT_PROPERTY_OVERRIDES += \ 701 persist.vendor.sys.ssr.restart_level=modem,adsp,slpi 702 703ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 704# Sensor debug flag 705PRODUCT_PROPERTY_OVERRIDES += \ 706 persist.vendor.debug.ash.logger=0 \ 707 persist.vendor.debug.ash.logger.time=0 708endif 709 710# setup dalvik vm configs 711$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) 712 713# Use the default charger mode images 714PRODUCT_PACKAGES += \ 715 charger_res_images 716 717ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 718# b/36703476: Set default log size to 1M 719PRODUCT_PROPERTY_OVERRIDES += \ 720 ro.logd.size=1M 721# b/114766334: persist all logs by default rotating on 30 files of 1MiB 722PRODUCT_PROPERTY_OVERRIDES += \ 723 logd.logpersistd=logcatd \ 724 logd.logpersistd.size=30 725endif 726 727# Dumpstate HAL 728PRODUCT_PACKAGES += \ 729 android.hardware.dumpstate@1.1-service.sunfish 730 731 732# Storage: for factory reset protection feature 733PRODUCT_PROPERTY_OVERRIDES += \ 734 ro.frp.pst=/dev/block/bootdevice/by-name/frp 735 736PRODUCT_PACKAGES += \ 737 vndk-sp 738 739# Override heap growth limit due to high display density on device 740PRODUCT_PROPERTY_OVERRIDES += \ 741 dalvik.vm.heapgrowthlimit=256m 742 743# Use 64-bit dex2oat for better dexopt time. 744PRODUCT_PROPERTY_OVERRIDES += \ 745 dalvik.vm.dex2oat64.enabled=true 746 747PRODUCT_PACKAGES += \ 748 ipacm \ 749 IPACM_cfg.xml 750 751#Set default CDMA subscription to RUIM 752PRODUCT_PROPERTY_OVERRIDES += \ 753 ro.telephony.default_cdma_sub=0 754 755# Set network mode to Global by default and no DSDS/DSDA 756PRODUCT_PROPERTY_OVERRIDES += ro.telephony.default_network=10 757 758# Set display color mode to Adaptive by default 759PRODUCT_PROPERTY_OVERRIDES += \ 760 persist.sys.sf.color_saturation=1.0 \ 761 persist.sys.sf.native_mode=2 \ 762 persist.sys.sf.color_mode=9 763 764# Keymaster configuration 765PRODUCT_COPY_FILES += \ 766 frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \ 767 frameworks/native/data/etc/android.hardware.device_unique_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.device_unique_attestation.xml 768 769# Enable modem logging 770PRODUCT_PROPERTY_OVERRIDES += \ 771 ro.vendor.radio.log_loc="/data/vendor/modem_dump" \ 772 ro.vendor.radio.log_prefix="modem_log_" 773 774# Enable modem logging for debug 775ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 776PRODUCT_PROPERTY_OVERRIDES += \ 777 persist.vendor.sys.modem.diag.mdlog=true 778else 779PRODUCT_PROPERTY_OVERRIDES += \ 780 persist.vendor.sys.modem.diag.mdlog=false 781endif 782PRODUCT_PROPERTY_OVERRIDES += \ 783 persist.vendor.sys.modem.diag.mdlog_br_num=5 784 785# Preopt SystemUI 786PRODUCT_DEXPREOPT_SPEED_APPS += \ 787 SystemUIGoogle 788 789# Enable stats logging in LMKD 790TARGET_LMKD_STATS_LOG := true 791 792# default usb oem functions 793ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 794 PRODUCT_PROPERTY_OVERRIDES += \ 795 persist.vendor.usb.usbradio.config=diag 796endif 797 798# Enable app/sf phase offset as durations. The numbers below are translated from the existing 799# positive offsets by finding the duration app/sf will have with the offsets. 800# For SF the previous value was 6ms which under 16.6ms vsync time (60Hz) will leave SF with ~10.5ms 801# for each frame. For App the previous value was 2ms which under 16.6ms vsync time will leave the 802# App with ~20.5ms (16.6ms * 2 - 10.5ms - 2ms). The other values were calculated similarly. 803# Full comparison between the old vs. the new values are captured in 804# https://docs.google.com/spreadsheets/d/1a_5cVNY3LUAkeg-yL56rYQNwved6Hy-dvEcKSxp6f8k/edit 805 806PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.use_phase_offsets_as_durations=1 807PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.late.sf.duration=10500000 808PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.late.app.duration=20500000 809PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.early.sf.duration=21000000 810PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.early.app.duration=16500000 811PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.earlyGl.sf.duration=13500000 812PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.earlyGl.app.duration=21000000 813 814# Enable backpressure for GL comp 815PRODUCT_PROPERTY_OVERRIDES += \ 816 debug.sf.enable_gl_backpressure=1 817 818# Do not skip init trigger by default 819PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 820 vendor.skip.init=0 821 822BOARD_USES_QCNE := true 823 824#per device 825PRODUCT_COPY_FILES += \ 826 $(LOCAL_PATH)/sunfish/init.sunfish.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.sunfish.rc 827 828PRODUCT_COPY_FILES += \ 829 $(LOCAL_PATH)/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config 830 831# GPS configuration file 832PRODUCT_COPY_FILES += \ 833 $(LOCAL_PATH)/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf 834 835# Fingerprint 836PRODUCT_PACKAGES += \ 837 android.hardware.biometrics.fingerprint@2.1-service.fpc 838PRODUCT_COPY_FILES += \ 839 frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml 840 841# Reliability reporting 842PRODUCT_PACKAGES += \ 843 pixelstats-vendor 844 845PRODUCT_USE_DYNAMIC_PARTITIONS := true 846 847# insmod files 848PRODUCT_COPY_FILES += \ 849 $(LOCAL_PATH)/init.insmod.sunfish.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.sunfish.cfg 850 851# Use /product/etc/fstab.postinstall to mount system_other 852PRODUCT_PRODUCT_PROPERTIES += \ 853 ro.postinstall.fstab.prefix=/product 854 855# Set support one-handed mode 856PRODUCT_PRODUCT_PROPERTIES += \ 857 ro.support_one_handed_mode=true 858 859PRODUCT_COPY_FILES += \ 860 $(LOCAL_PATH)/fstab.postinstall:$(TARGET_COPY_OUT_PRODUCT)/etc/fstab.postinstall 861 862# powerstats HAL 863PRODUCT_PACKAGES += \ 864 android.hardware.power.stats@1.0-service.pixel 865 866# Recovery 867PRODUCT_COPY_FILES += \ 868 $(LOCAL_PATH)/init.recovery.device.rc:recovery/root/init.recovery.sunfish.rc 869 870 871QTI_TELEPHONY_UTILS := qti-telephony-utils 872QTI_TELEPHONY_UTILS += qti_telephony_utils.xml 873PRODUCT_PACKAGES += $(QTI_TELEPHONY_UTILS) 874 875HIDL_WRAPPER := qti-telephony-hidl-wrapper 876HIDL_WRAPPER += qti_telephony_hidl_wrapper.xml 877HIDL_WRAPPER += qti-telephony-hidl-wrapper-prd 878HIDL_WRAPPER += qti_telephony_hidl_wrapper_prd.xml 879PRODUCT_PACKAGES += $(HIDL_WRAPPER) 880 881# Increment the SVN for any official public releases 882PRODUCT_PROPERTY_OVERRIDES += \ 883 ro.vendor.build.svn=31 884 885PRODUCT_COPY_FILES += \ 886 $(LOCAL_PATH)/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json 887 888# Vendor verbose logging default property 889ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 890PRODUCT_PROPERTY_OVERRIDES += \ 891 persist.vendor.verbose_logging_enabled=true 892else 893PRODUCT_PROPERTY_OVERRIDES += \ 894 persist.vendor.verbose_logging_enabled=false 895endif 896 897# (b/183612348): Enable skia reduceOpsTaskSplitting 898PRODUCT_PROPERTY_OVERRIDES += \ 899 renderthread.skia.reduceopstasksplitting=true 900 901-include vendor/qcom/sm8150/proprietary/commonsys-intf/data/data_commonsys-intf_system_product.mk 902-include vendor/qcom/sm8150/proprietary/commonsys-intf/data/data_commonsys-intf_vendor_product.mk 903# Security 904-include vendor/qcom/sm8150/proprietary/securemsm/config/keymaster_vendor_proprietary_board.mk 905-include vendor/qcom/sm8150/proprietary/securemsm/config/keymaster_vendor_proprietary_product.mk 906 907# Project 908include hardware/google/pixel/common/pixel-common-device.mk 909 910# Citadel 911include hardware/google/pixel/citadel/citadel.mk 912 913# Factory OTA 914-include vendor/google/factoryota/client/factoryota.mk 915 916-include vendor/qcom/sm8150/proprietary/securemsm/config/cpz_vendor_proprietary_board.mk 917-include vendor/qcom/sm8150/proprietary/securemsm/config/cpz_vendor_proprietary_product.mk 918-include vendor/qcom/sm8150/proprietary/securemsm/config/smcinvoke_vendor_proprietary_product.mk 919-include vendor/qcom/sm8150/proprietary/commonsys/securemsm/securemsm_system_product.mk 920 921# storage 922-include hardware/google/pixel/pixelstats/device.mk 923 924# power HAL 925-include hardware/google/pixel/power-libperfmgr/aidl/device.mk 926 927# mm_event 928-include hardware/google/pixel/mm/device_legacy.mk 929 930# thermal 931-include hardware/google/pixel/thermal/device.mk 932 933# Pixel Logger 934include hardware/google/pixel/PixelLogger/PixelLogger.mk 935 936# enable retrofit virtual A/B 937$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota_retrofit.mk) 938 939# Set system properties identifying the chipset 940PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Qualcomm 941PRODUCT_VENDOR_PROPERTIES += ro.soc.model=SM7150 942