mirror of
https://github.com/Evolution-X-Devices/device_oplus_mt6893-common
synced 2026-02-01 10:53:39 +00:00
Change-Id: I9b408ee7ec435319392bfe5016757400c8a06ae1 Signed-off-by: SamarV-121 <samarvispute121@gmail.com> Signed-off-by: ManshuTyagi <himanshut567@gmail.com>
140 lines
3.4 KiB
Makefile
140 lines
3.4 KiB
Makefile
#
|
|
# Copyright (C) 2020 Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
DEVICE_PATH := device/realme/RMX3031
|
|
|
|
# Installs gsi keys into ramdisk, to boot a GSI with verified boot.
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
|
|
|
|
# Enable updating of APEXes
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
# Parts
|
|
$(call inherit-product-if-exists, packages/apps/RealmeParts/parts.mk)
|
|
|
|
PRODUCT_SHIPPING_API_LEVEL := 30
|
|
|
|
# Call proprietary blob setup
|
|
$(call inherit-product-if-exists, vendor/realme/RMX3031/RMX3031-vendor.mk)
|
|
|
|
# Dynamic Partition
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
PRODUCT_BUILD_SUPER_PARTITION := false
|
|
|
|
# Boot animation
|
|
TARGET_SCREEN_HEIGHT := 2400
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
# A/B
|
|
AB_OTA_UPDATER := false
|
|
|
|
# VNDK
|
|
PRODUCT_EXTRA_VNDK_VERSIONS := 30
|
|
|
|
# Audio
|
|
PRODUCT_PACKAGES += \
|
|
audio.a2dp.default
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(DEVICE_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_EXTRA_VNDK_VERSIONS)/etc/audio_policy_configuration.xml
|
|
|
|
# fastbootd
|
|
PRODUCT_PACKAGES += \
|
|
fastbootd
|
|
|
|
# Fingerprint
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.biometrics.fingerprint@2.1-service.RMX3031 \
|
|
lineage.biometrics.fingerprint.inscreen@1.0-service.RMX3031
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.fingerprint.xml
|
|
|
|
# HIDL
|
|
PRODUCT_PACKAGES += \
|
|
libhidltransport \
|
|
libhardware \
|
|
libhwbinder
|
|
|
|
# ImsInit hack
|
|
PRODUCT_PACKAGES += \
|
|
ImsInit
|
|
|
|
# Init
|
|
PRODUCT_PACKAGES += \
|
|
init.mt6893.rc \
|
|
fstab.mt6893 \
|
|
perf_profile.sh
|
|
|
|
# Keylayouts
|
|
PRODUCT_COPY_FILES += \
|
|
$(DEVICE_PATH)/keylayout/touchpanel.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/touchpanel.kl
|
|
|
|
# Screen density
|
|
PRODUCT_AAPT_CONFIG := xxxhdpi
|
|
PRODUCT_AAPT_PREF_CONFIG := xxxhdpi
|
|
|
|
# Lights
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.light@2.0-service.RMX3031
|
|
|
|
# Overlays
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
$(DEVICE_PATH)/overlay \
|
|
$(DEVICE_PATH)/overlay-aosp
|
|
|
|
# Permissions
|
|
PRODUCT_COPY_FILES += \
|
|
$(DEVICE_PATH)/permissions/privapp-permissions-mediatek.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-mediatek.xml
|
|
|
|
# RcsService
|
|
PRODUCT_PACKAGES += \
|
|
com.android.ims.rcsmanager \
|
|
RcsService \
|
|
PresencePolling
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(DEVICE_PATH)
|
|
|
|
# System prop
|
|
-include $(DEVICE_PATH)/system_prop.mk
|
|
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
|
|
|
|
# Symbols
|
|
PRODUCT_PACKAGES += \
|
|
libshim_vtservice
|
|
|
|
# Telephony
|
|
PRODUCT_BOOT_JARS += \
|
|
mediatek-common \
|
|
mediatek-framework \
|
|
mediatek-ims-base \
|
|
mediatek-ims-common \
|
|
mediatek-telecom-common \
|
|
mediatek-telephony-base \
|
|
mediatek-telephony-common
|
|
|
|
PRODUCT_PACKAGES += \
|
|
ImsServiceBase
|
|
|
|
# Wi-Fi
|
|
PRODUCT_PACKAGES += \
|
|
TetheringConfigOverlay \
|
|
WifiOverlay \
|
|
DozeOverlaySystem \
|
|
DozeOverlaySystemUI
|