mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2025-07-01 15:26:59 +00:00
38 lines
959 B
Makefile
38 lines
959 B
Makefile
#
|
|
# Copyright (C) 2021-2023 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Include the common OEM chipset BoardConfig.
|
|
include device/oneplus/sm8450-common/BoardConfigCommon.mk
|
|
|
|
DEVICE_PATH := device/realme/ferrarri
|
|
|
|
# Display
|
|
TARGET_SCREEN_DENSITY := 450
|
|
|
|
# HIDL
|
|
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
|
|
|
|
# Lineage Health
|
|
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH := /sys/class/oplus_chg/battery/chg_enable
|
|
|
|
# Properties
|
|
TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop
|
|
|
|
# Recovery
|
|
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 103
|
|
|
|
# Vibrator
|
|
SOONG_CONFIG_NAMESPACES += OPLUS_LINEAGE_VIBRATOR_HAL
|
|
SOONG_CONFIG_OPLUS_LINEAGE_VIBRATOR_HAL := \
|
|
INCLUDE_DIR \
|
|
USE_EFFECT_STREAM
|
|
SOONG_CONFIG_OPLUS_LINEAGE_VIBRATOR_HAL_INCLUDE_DIR := \
|
|
$(DEVICE_PATH)/vibrator/include
|
|
SOONG_CONFIG_OPLUS_LINEAGE_VIBRATOR_HAL_USE_EFFECT_STREAM := true
|
|
|
|
# Include the proprietary files BoardConfig.
|
|
include vendor/realme/ferrarri/BoardConfigVendor.mk
|