1 # 2 # Copyright (C) 2015 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 17 # This file includes all definitions that apply to ALL angler devices, and 18 # are also specific to angler devices 19 # 20 # Everything in this directory will become public 21 22 # Enable support for chinook sensorhub 23 TARGET_USES_CHINOOK_SENSORHUB := false 24 25 ifeq ($(TARGET_PREBUILT_KERNEL),) 26 LOCAL_KERNEL := device/huawei/angler-kernel/Image.gz-dtb 27 else 28 LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) 29 endif 30 31 PRODUCT_COPY_FILES := \ 32 $(LOCAL_KERNEL):kernel 33 34 PRODUCT_COPY_FILES += \ 35 device/huawei/angler/init.angler.rc:root/init.angler.rc \ 36 device/huawei/angler/init.angler.usb.rc:root/init.angler.usb.rc \ 37 device/huawei/angler/fstab.angler:root/fstab.angler \ 38 device/huawei/angler/ueventd.angler.rc:root/ueventd.angler.rc \ 39 device/huawei/angler/init.recovery.angler.rc:root/init.recovery.angler.rc \ 40 device/huawei/angler/init.angler.power.sh:system/bin/init.angler.power.sh \ 41 device/huawei/angler/uinput-fpc.kl:system/usr/keylayout/uinput-fpc.kl 42 43 ifeq ($(TARGET_USES_CHINOOK_SENSORHUB),true) 44 PRODUCT_COPY_FILES += \ 45 device/huawei/angler/init.angler.sensorhub.rc:root/init.angler.sensorhub.rc 46 else 47 PRODUCT_COPY_FILES += \ 48 device/huawei/angler/init.angler.nanohub.rc:root/init.angler.sensorhub.rc 49 endif 50 51 PRODUCT_COPY_FILES += \ 52 device/huawei/angler/init.mcfg.sh:system/bin/init.mcfg.sh 53 54 PRODUCT_COPY_FILES += \ 55 device/huawei/angler/init.radio.sh:system/bin/init.radio.sh 56 57 # Thermal configuration 58 PRODUCT_COPY_FILES += \ 59 device/huawei/angler/thermal-engine-angler.conf:system/etc/thermal-engine.conf 60 61 # Media 62 PRODUCT_COPY_FILES += \ 63 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ 64 frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ 65 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ 66 device/huawei/angler/media_codecs.xml:system/etc/media_codecs.xml \ 67 device/huawei/angler/media_codecs_performance.xml:system/etc/media_codecs_performance.xml \ 68 device/huawei/angler/media_profiles.xml:system/etc/media_profiles.xml 69 70 # Audio 71 PRODUCT_COPY_FILES += \ 72 device/huawei/angler/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ 73 device/huawei/angler/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \ 74 device/huawei/angler/mixer_paths.xml:system/etc/mixer_paths.xml \ 75 device/huawei/angler/audio_platform_info_i2s.xml:system/etc/audio_platform_info_i2s.xml \ 76 device/huawei/angler/sound_trigger_mixer_paths.xml:system/etc/sound_trigger_mixer_paths.xml \ 77 device/huawei/angler/sound_trigger_platform_info.xml:system/etc/sound_trigger_platform_info.xml \ 78 device/huawei/angler/audio_platform_info.xml:system/etc/audio_platform_info.xml \ 79 device/huawei/angler/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml \ 80 device/huawei/angler/audio_policy_volumes_drc.xml:system/etc/audio_policy_volumes_drc.xml \ 81 frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:system/etc/a2dp_audio_policy_configuration.xml \ 82 frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:system/etc/r_submix_audio_policy_configuration.xml \ 83 frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:system/etc/usb_audio_policy_configuration.xml \ 84 frameworks/av/services/audiopolicy/config/default_volume_tables.xml:system/etc/default_volume_tables.xml \ 85 86 # Input device files 87 PRODUCT_COPY_FILES += \ 88 device/huawei/angler/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ 89 device/huawei/angler/qpnp_pon.kl:system/usr/keylayout/qpnp_pon.kl \ 90 device/huawei/angler/synaptics_dsx.idc:system/usr/idc/synaptics_dsx.idc 91 92 # for launcher layout 93 PRODUCT_PACKAGES += \ 94 AnglerLayout 95 96 # include fingerprintd 97 PRODUCT_PACKAGES += \ 98 fingerprintd 99 100 # Delegation for OEM customization 101 PRODUCT_OEM_PROPERTIES := \ 102 ro.config.ringtone \ 103 ro.config.notification_sound \ 104 ro.config.alarm_alert \ 105 ro.config.wallpaper \ 106 ro.config.wallpaper_component \ 107 ro.oem.* \ 108 oem.* 109 110 PRODUCT_COPY_FILES += \ 111 device/huawei/angler/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config 112 113 # Wifi 114 PRODUCT_COPY_FILES += \ 115 device/huawei/angler/bcmdhd.cal:system/etc/wifi/bcmdhd.cal \ 116 device/huawei/angler/bcmdhd-pme.cal:system/etc/wifi/bcmdhd-pme.cal \ 117 device/huawei/angler/bcmdhd-high.cal:system/etc/wifi/bcmdhd-high.cal \ 118 device/huawei/angler/bcmdhd-low.cal:system/etc/wifi/bcmdhd-low.cal 119 120 # These are the hardware-specific features 121 PRODUCT_COPY_FILES += \ 122 frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ 123 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ 124 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ 125 frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ 126 frameworks/native/data/etc/android.hardware.camera.full.xml:system/etc/permissions/android.hardware.camera.full.xml \ 127 frameworks/native/data/etc/android.hardware.camera.raw.xml:system/etc/permissions/android.hardware.camera.raw.xml \ 128 frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml \ 129 frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ 130 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ 131 frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ 132 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ 133 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ 134 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ 135 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ 136 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/etc/permissions/android.hardware.sensor.stepcounter.xml \ 137 frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:system/etc/permissions/android.hardware.sensor.stepdetector.xml \ 138 frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:system/etc/permissions/android.hardware.sensor.hifi_sensors.xml \ 139 frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ 140 frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ 141 frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ 142 frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ 143 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ 144 frameworks/native/data/etc/android.hardware.audio.pro.xml:system/etc/permissions/android.hardware.audio.pro.xml \ 145 frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \ 146 frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ 147 frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ 148 frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \ 149 frameworks/native/data/etc/android.hardware.nfc.hcef.xml:system/etc/permissions/android.hardware.nfc.hcef.xml \ 150 frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \ 151 frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml \ 152 frameworks/native/data/etc/android.software.verified_boot.xml:system/etc/permissions/android.software.verified_boot.xml \ 153 frameworks/native/data/etc/com.nxp.mifare.xml:system/etc/permissions/com.nxp.mifare.xml \ 154 frameworks/native/data/etc/android.hardware.opengles.aep.xml:system/etc/permissions/android.hardware.opengles.aep.xml \ 155 frameworks/native/data/etc/android.hardware.vr.high_performance.xml:system/etc/permissions/android.hardware.vr.high_performance.xml \ 156 frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:system/etc/permissions/android.hardware.vulkan.level.xml \ 157 frameworks/native/data/etc/android.hardware.vulkan.version-1_0_3.xml:system/etc/permissions/android.hardware.vulkan.version.xml 158 159 160 # MSM IRQ Balancer configuration file 161 PRODUCT_COPY_FILES += \ 162 device/huawei/angler/msm_irqbalance.conf:$(TARGET_COPY_OUT_VENDOR)/etc/msm_irqbalance.conf 163 164 # Qseecomd configuration file 165 PRODUCT_COPY_FILES += \ 166 device/huawei/angler/init.angler.qseecomd.sh:system/bin/init.angler.qseecomd.sh 167 168 PRODUCT_TAGS += dalvik.gc.type-precise 169 170 # This device is 560dpi. However the platform doesn't 171 # currently contain all of the bitmaps at 560dpi density so 172 # we do this little trick to fall back to the xxhdpi version 173 # if the 560dpi doesn't exist. 174 PRODUCT_AAPT_CONFIG := normal 175 PRODUCT_AAPT_PREF_CONFIG := 560dpi 176 # A list of dpis to select prebuilt apk, in precedence order. 177 PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi 178 179 PRODUCT_CHARACTERISTICS := nosdcard 180 181 PRODUCT_PACKAGES += \ 182 gralloc.msm8994 \ 183 hwcomposer.msm8994 \ 184 libgenlock \ 185 memtrack.msm8994 \ 186 lights.angler 187 188 USE_XML_AUDIO_POLICY_CONF := 1 189 PRODUCT_PACKAGES += \ 190 audio.primary.msm8994 \ 191 audio.a2dp.default \ 192 audio.usb.default \ 193 audio.r_submix.default \ 194 libaudio-resampler \ 195 dsm_ctrl 196 197 # Audio effects 198 PRODUCT_PACKAGES += \ 199 libqcomvisualizer \ 200 libqcomvoiceprocessing \ 201 libqcomvoiceprocessingdescriptors \ 202 libqcompostprocbundle 203 204 PRODUCT_PACKAGES += \ 205 libc2dcolorconvert \ 206 libstagefrighthw \ 207 libOmxCore \ 208 libmm-omxcore \ 209 libOmxVdec \ 210 libOmxVdecHevc \ 211 libOmxVenc 212 213 #CAMERA 214 PRODUCT_PACKAGES += \ 215 camera.msm8994 \ 216 libcamera \ 217 libmmcamera_interface \ 218 libmmcamera_interface2 \ 219 libmmjpeg_interface \ 220 libqomx_core \ 221 mm-qcamera-app 222 223 # GPS 224 PRODUCT_PACKAGES += \ 225 libgps.utils \ 226 gps.msm8994 227 228 # Sensor & activity_recognition HAL 229 TARGET_USES_NANOHUB_SENSORHAL := true 230 NANOHUB_SENSORHAL_LID_STATE_ENABLED := true 231 NANOHUB_SENSORHAL_USB_MAG_BIAS_ENABLED := true 232 NANOHUB_SENSORHAL_SENSORLIST := $(LOCAL_PATH)/sensorhal/sensorlist.cpp 233 234 PRODUCT_PACKAGES += \ 235 sensors.angler \ 236 activity_recognition.angler \ 237 context_hub.default 238 239 ifeq ($(TARGET_USES_CHINOOK_SENSORHUB),true) 240 PRODUCT_PACKAGES += \ 241 sensortool.angler \ 242 nano4x1.bin 243 else 244 PRODUCT_PACKAGES += \ 245 nanoapp_cmd 246 endif 247 248 # sensor utilities (only for userdebug and eng builds) 249 ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 250 PRODUCT_PACKAGES += \ 251 nanotool \ 252 sensortest 253 endif 254 255 # for off charging mode 256 PRODUCT_PACKAGES += \ 257 charger_res_images 258 259 PRODUCT_PACKAGES += \ 260 libwpa_client \ 261 hostapd \ 262 wlutil \ 263 wpa_supplicant \ 264 wpa_supplicant.conf 265 266 # NFC 267 PRODUCT_PACKAGES += \ 268 libnfc-nci \ 269 nfc_nci.angler \ 270 NfcNci \ 271 Tag 272 273 # Power HAL 274 PRODUCT_PACKAGES += \ 275 power.angler \ 276 thermal.angler 277 278 PRODUCT_COPY_FILES += \ 279 device/huawei/angler/nfc/libnfc-brcm.conf:system/etc/libnfc-brcm.conf \ 280 device/huawei/angler/nfc/libnfc-nxp.conf:system/etc/libnfc-nxp.conf 281 282 DEVICE_PACKAGE_OVERLAYS := \ 283 device/huawei/angler/overlay 284 285 PRODUCT_PROPERTY_OVERRIDES += \ 286 ro.opengles.version=196610 287 288 PRODUCT_PROPERTY_OVERRIDES += \ 289 ro.sf.lcd_density=560 290 291 PRODUCT_PROPERTY_OVERRIDES += \ 292 persist.hwc.mdpcomp.enable=true \ 293 persist.data.mode=concurrent 294 295 PRODUCT_PROPERTY_OVERRIDES += \ 296 persist.radio.data_no_toggle=1 297 298 PRODUCT_PROPERTY_OVERRIDES += \ 299 persist.radio.data_con_rprt=true 300 301 PRODUCT_PROPERTY_OVERRIDES += \ 302 ro.hwui.texture_cache_size=72 \ 303 ro.hwui.layer_cache_size=48 \ 304 ro.hwui.r_buffer_cache_size=8 \ 305 ro.hwui.path_cache_size=32 \ 306 ro.hwui.gradient_cache_size=1 \ 307 ro.hwui.drop_shadow_cache_size=6 \ 308 ro.hwui.texture_cache_flushrate=0.4 \ 309 ro.hwui.text_small_cache_width=1024 \ 310 ro.hwui.text_small_cache_height=1024 \ 311 ro.hwui.text_large_cache_width=2048 \ 312 ro.hwui.text_large_cache_height=1024 313 314 # VR HAL 315 PRODUCT_PACKAGES += \ 316 vr.angler 317 318 # Enable low power video mode for 4K encode 319 PRODUCT_PROPERTY_OVERRIDES += \ 320 vidc.debug.perf.mode=2 \ 321 vidc.enc.dcvs.extra-buff-count=2 322 323 # for perfd 324 PRODUCT_PROPERTY_OVERRIDES += \ 325 ro.min_freq_0=384000 326 ro.min_freq_4=384000 327 328 PRODUCT_PROPERTY_OVERRIDES += \ 329 ro.vendor.extension_library=libqti-perfd-client.so 330 331 PRODUCT_PROPERTY_OVERRIDES += \ 332 rild.libpath=/vendor/lib64/libril-qc-qmi-1.so 333 334 PRODUCT_PROPERTY_OVERRIDES += \ 335 ro.telephony.default_cdma_sub=0 336 337 # LTE, CDMA, GSM/WCDMA 338 PRODUCT_PROPERTY_OVERRIDES += \ 339 ro.telephony.default_network=10 \ 340 telephony.lteOnCdmaDevice=1 \ 341 persist.radio.mode_pref_nv10=1 342 343 PRODUCT_PROPERTY_OVERRIDES += \ 344 persist.radio.apm_sim_not_pwdn=1 345 346 # Setup custom emergency number list based on the MCC. This is needed by RIL 347 PRODUCT_PROPERTY_OVERRIDES += \ 348 persist.radio.custom_ecc=1 349 350 # Enable Wifi calling 351 PRODUCT_PROPERTY_OVERRIDES += \ 352 persist.data.iwlan.enable=true 353 354 PRODUCT_PROPERTY_OVERRIDES += \ 355 ro.frp.pst=/dev/block/platform/soc.0/f9824900.sdhci/by-name/frp 356 357 # For SPN display 358 PRODUCT_COPY_FILES += \ 359 device/huawei/angler/spn-conf.xml:system/etc/spn-conf.xml 360 361 # Request modem to send PLMN name always irrespective 362 # of display condition in EFSPN. 363 # RIL uses this property. 364 PRODUCT_PROPERTY_OVERRIDES += \ 365 persist.radio.always_send_plmn=true 366 367 # If data_no_toggle is 0 there are no reports if the screen is off. 368 # If data_no_toggle is 1 then dormancy indications will come with screen off. 369 PRODUCT_PROPERTY_OVERRIDES += \ 370 persist.radio.data_no_toggle=1 371 372 # Ril sends only one RIL_UNSOL_CALL_RING, so set call_ring.multiple to false 373 PRODUCT_PROPERTY_OVERRIDES += \ 374 ro.telephony.call_ring.multiple=0 375 376 # Update 1x signal strength after 2s 377 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 378 persist.radio.snapshot_enabled=1 \ 379 persist.radio.snapshot_timer=2 380 381 # Reduce client buffer size for fast audio output tracks 382 PRODUCT_PROPERTY_OVERRIDES += \ 383 af.fast_track_multiplier=1 384 385 # Low latency audio buffer size in frames 386 PRODUCT_PROPERTY_OVERRIDES += \ 387 audio_hal.period_size=192 388 389 #for qcom modify fluence type name, here added and enable 390 PRODUCT_PROPERTY_OVERRIDES += \ 391 ro.qc.sdk.audio.fluencetype="fluence" \ 392 persist.audio.fluence.voicecall=true \ 393 persist.audio.fluence.voicecomm=true \ 394 persist.audio.product.identify="angler" \ 395 persist.audio.fluence.speaker=true 396 397 # Enable AAC 5.1 output 398 PRODUCT_PROPERTY_OVERRIDES += \ 399 media.aac_51_output_enabled=true 400 401 #stereo speakers: orientation changes swap L/R channels 402 PRODUCT_PROPERTY_OVERRIDES += \ 403 ro.audio.monitorRotation=true 404 405 # low audio flinger standby delay to reduce power consumption 406 PRODUCT_PROPERTY_OVERRIDES += \ 407 ro.audio.flinger_standbytime_ms=300 408 409 PRODUCT_PROPERTY_OVERRIDES += \ 410 persist.sys.ssr.restart_level="ALL_ENABLE" 411 412 # Enable camera EIS 413 # eis.enable: enables electronic image stabilization 414 # is_type: sets image stabilization type 415 PRODUCT_PROPERTY_OVERRIDES += \ 416 persist.camera.eis.enable=1 \ 417 persist.camera.is_type=4 418 419 # For android_filesystem_config.h 420 PRODUCT_PACKAGES += \ 421 fs_config_files 422 423 # For data 424 PRODUCT_PACKAGES += \ 425 librmnetctl 426 427 # limit dex2oat threads to improve thermals 428 PRODUCT_PROPERTY_OVERRIDES += \ 429 dalvik.vm.boot-dex2oat-threads=4 \ 430 dalvik.vm.dex2oat-threads=4 \ 431 dalvik.vm.image-dex2oat-threads=4 432 433 # Modem debugger 434 ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 435 ifeq (,$(filter aosp_angler, $(TARGET_PRODUCT))) 436 PRODUCT_PACKAGES += \ 437 QXDMLoggerV2 438 endif # aosp_angler 439 440 PRODUCT_COPY_FILES += \ 441 device/huawei/angler/init.angler.diag.rc.userdebug:root/init.angler.diag.rc 442 443 # subsystem ramdump collection 444 PRODUCT_PROPERTY_OVERRIDES += \ 445 persist.sys.ssr.enable_ramdumps=1 446 else # userdebug eng 447 PRODUCT_COPY_FILES += \ 448 device/huawei/angler/init.angler.diag.rc.user:root/init.angler.diag.rc 449 endif # userdebug eng 450 451 # Incoming number (b/23529711) 452 PRODUCT_PROPERTY_OVERRIDES += \ 453 persist.radio.redir_party_num=0 454 455 # OEM Unlock reporting 456 ADDITIONAL_DEFAULT_PROPERTIES += \ 457 ro.oem_unlock_supported=1 458 459 # ro.product.first_api_level indicates the first api level the device has commercially launched on. 460 PRODUCT_PROPERTY_OVERRIDES += \ 461 ro.product.first_api_level=23 462 463 # In userdebug, add minidebug info the the boot image and the system server to support 464 # diagnosing native crashes. 465 ifneq (,$(filter userdebug, $(TARGET_BUILD_VARIANT))) 466 # Boot image. 467 PRODUCT_DEX_PREOPT_BOOT_FLAGS += --generate-mini-debug-info 468 # System server and some of its services. 469 # Note: we cannot use PRODUCT_SYSTEM_SERVER_JARS, as it has not been expanded at this point. 470 $(call add-product-dex-preopt-module-config,services,--generate-mini-debug-info) 471 $(call add-product-dex-preopt-module-config,wifi-service,--generate-mini-debug-info) 472 endif 473 474 # setup dalvik vm configs. 475 $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) 476 477 $(call inherit-product-if-exists, hardware/qcom/msm8994/msm8994.mk) 478 $(call inherit-product-if-exists, vendor/qcom/gpu/msm8994/msm8994-gpu-vendor.mk) 479 480 # copy wlan firmware 481 $(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4358/device-bcm.mk) 482 483 # GPS configuration 484 PRODUCT_COPY_FILES += \ 485 device/huawei/angler/gps.conf:system/etc/gps.conf:qcom 486 487 # setup dm-verity configs. 488 PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/platform/soc.0/f9824900.sdhci/by-name/system 489 PRODUCT_VENDOR_VERITY_PARTITION := /dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor 490 $(call inherit-product, build/target/product/verity.mk) 491 492 # b/28992626 493 # For app investigation, make ASAN-lite only sanitize 32-bit. 494 ifeq (true,$(SANITIZE_LITE)) 495 SANITIZE_ARCH := 32 496 endif 497 498 # b/29995499 499 $(call add-product-sanitizer-module-config,cameraserver,never) 500 $(call add-product-sanitizer-module-config,mm-qcamera-daemon,never) 501